Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>KX - kdb+/qNew to Visual Studio Code? Get it now.
KX - kdb+/q

KX - kdb+/q

Alexanderl20

|
1,613 installs
| (1) | Free
Provides kdb+/q language features for Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

KX - kdb+/q

This is a forked version of xidaozu's extension vscode-kdb-q - V1.2.0.

This README will only contain changes made from the original.

Keyboard Shortcuts

Keyboard shortcut Command
Ctrl/Cmd + Enter If code is highlighted then run it, else run current line as query

Sublime Syntax highlighting

This is personal preference:

Original Sublime
image image

QoL Improvements

  • Results returned even if line ends in semi-colon
  • Results returned when assigning values
    • eg a:"test" will now return "test", where before it returned (::)
  • Typing each-both ' does not result in quotes '' being created
  • Code can be commented out using VSCode shortcut

Bug Fixes

  • Nested table objects are printed properly
  • Symbols can now be queried and not error out
  • Strings now appear as strings in console
  • console size can be adjusted as expected, min size set to 20 200

NOTE

  • The "grid view" shown in the original extension no longer works.
    • This was required to fix console output formatting, although it is now how the q-Gods intended
  • Theme shown in syntax image is Monokai Dark Soda
  • Server connections are added via settings.json like so:
    • (not changed from original - just useful to show)

image

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft