KQL -Kusto Query Language
-
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 -
@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.
-
@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 namedKQL.xml
after you have created it.