Add .kql as extension for KQL (Kusto Query Language) #5995
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Please, this was already considered in #4827 . I think currently .kql is widely used over .csl
I would like to open another PR to change the grammar (or I will commit in this PR if you help me please), I would like to add this grammar (although it is outdated)
https://github.com/rosshamish/kuskus/blob/7aa46fd48ebf50c9cbfb98c06782a5e9d86dc535/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage
The only "problem" is that this repo has several extensions apart from syntax highlighting, please, do you know if as long as the engine finds the kusto.tmLanguage file is enough?
Checklist:
The new extension is used in hundreds of repositories on GitHub.com
I have included a real-world usage sample for all extensions added in this PR:
I have included a change to the heuristics to distinguish my language from others using the same extension.