rosshamish / kuskus

The extension pack so nice they named it twice
https://marketplace.visualstudio.com/items?itemName=rosshamish.kuskus-extensions-pack
44 stars 10 forks source link

extension does not recognize kusto function take_any #101

Open radhakrishnan-chandarasikharan-kr opened 1 year ago

radhakrishnan-chandarasikharan-kr commented 1 year ago

https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/take-any-aggfunction

It replaces the deprecated any() function.

rosshamish commented 1 year ago

Thanks for the report!

What version of the extension do you see this issue on? In latest I do see the take_any keyword defined in the tmlanguage syntax https://github.com/rosshamish/kuskus/blob/master/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.yml#L108

If you're interested, the last contributor wrote some great instructions here on how to contribute: https://github.com/rosshamish/kuskus/blob/master/kusto-syntax-highlighting/CONTRIBUTING.md

radhakrishnan-chandarasikharan-kr commented 1 year ago

I'm on 1.1.21 as per vscode. I installed from vscode

image
radhakrishnan-chandarasikharan-kr commented 1 year ago
image

This is what I get.. Also, is there a way I can mark the "traces" as a table and not get the error highlighting? I'm not connected to any data source here, although I don't know if that makes a difference to the highlighter