Community
    • Login

    KQL -Kusto Query Language

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 3 Posters 2.7k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Raguram ManokaranR Offline
      Raguram Manokaran
      last edited by Raguram Manokaran

      How to save KQL query in Notepad++
      Reason:
      I did not see any KQL language in Notepad++
      Steps:
      1)Open Notepad++.
      2)Go to “Language” in the menu bar and select “Define your language…”.
      3)In the “User Defined Language” window, click the “Import” button.
      4)Locate and select an existing XML file for KQL language definition. You can search for “Notepad++ KQL language definition XML” or explore the Notepad++ User Defined Language Repository on GitHub.
      If you find a suitable XML file, download it to your computer.

      Help:
      Please help me with the 4th point

      Mark OlsonM Lycan ThropeL 2 Replies Last reply Reply Quote 0
      • Mark OlsonM Offline
        Mark Olson @Raguram Manokaran
        last edited by

        @Raguram-Manokaran
        I recommend trying to create your own UDL. Without knowing more about KQL, I can’t give more specific advice.

        If you find the base UDL system lacking, try using EnhanceAnyLexer for more complex syntax highlighting rules.

        1 Reply Last reply Reply Quote 1
        • Lycan ThropeL Offline
          Lycan Thrope @Raguram Manokaran
          last edited by Lycan Thrope

          @Raguram-Manokaran ,
          @Mark-Olson is correct.
          The steps you are trying to do, especially your 4th point, only works if KQL is an already existent language in a Notepad++ UDL formatted file.

          Secondly, the Import button you’re trying to use, is only usable if you are getting a UDL file that has already been created by yourself or someone else in the format that Notepad++ expects it’s UDL to be, so you can import it into the UDL language listing. If the language does not exist already, then you won’t find it. Period.

          As @Mark-Olson suggests, you can create your own UDL langauge, and then if you want to let others Import it into their Notepad++ installations, then that button will be usable to them, on the file that you supply, most likely named KQL.xml after you have created it.

          1 Reply Last reply Reply Quote 2

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors