Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>[Kuskus] Kusto Syntax HighlightingNew to Visual Studio Code? Get it now.

[Kuskus] Kusto Syntax Highlighting

rosshamish

|
20,120 installs
| (1) | Free
Kusto Syntax Highlighting for Visual Studio Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Kusto Syntax Definition

A Kusto syntax definition, as a Textmate grammar, packaged for Visual Studio Code. Supports .csl, .kql, and .kusto.

Forked from https://github.com/josin/kusto-syntax-highlighting, original author Josef Sin, modified and re-published compliant with the Apache 2.0 License. Reason for the fork is a significant increase in the number of manually-supported builtin keywords and functions, and a future goal of providing solid support for source-controlled user-defined-functions.

The syntax is originally based on TextmateBundleInstaller's Kusto syntax.

Kusto language syntax

Testing

Isolated testing of the grammar is available with snapshot tests, via PanAeon/vscode-tmgrammar-test. Read more here.

  • Run snapshot tests: npm run test.
  • Update snapshots: npm run test:update-snapshots

Manually-taken visual snapshots of how the syntax highlighting looks with certain themes are in test/snapshots/**/theme-screenshots. Filenames indicate the test file and theme used.

  • [Kuskus] Kusto (Dark)
  • Monokai
  • Dark+ (default dark)
  • Light+ (default light)

Please update the visual snapshots when making tmLanguage changes. To take new snapshots, run the "All (Extension Pack)" target (see root launch.json), enable a particular Theme, and use the Polacode extension to take the screenshot.

Changelog

See CHANGELOG.md

Bugs

Please file bugs and suggestions in the issue tracker.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2022 Microsoft