Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>connect-kdb-q-devNew to Visual Studio Code? Get it now.
connect-kdb-q-dev

connect-kdb-q-dev

chenduo

|
387 installs
| (0) | Free
personal study on jshinonome's 'kdb+/q ext' extension, suggest to download his official one
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

q for Visual Studio Code

This package is just for personal study on jshinonome's vscode-q extension. Please download his official version :

kdb+/q ext

Following is the original documentation

Original Git

This extension adds syntaxes for the q language to VS Code. Recommend to use theme dracula/visual-studio-code. See the Changelog to know what has changed over the last few versions of this extension.

Server Explorer

All q servers list in the q Server Explorer, and it is easy to switch to different server.

Query Console(default)

Output just like q console to output channel. The console size is set to the same as q console. Use system "c rows columns" to change console size. Call kdb+/q ext: Toggle query mode to switch Query View. query_console

Query View

The query view is only optimized for querying table, and first run doesn't show table correctly. From the second run, table view should be normal. At least, you can send query to server now. Call kdb+/q ext: Toggle query mode to switch Query Console. query_view

Highlight Comments

Highlight @p,@r in comments, p stands for param, r stands for return. highlight_comment.png

Semantic Highlight

Highlight parameters for functions. There shouldn't be any space between { and [. semantic_highlight.png

Formatter

Append space to },],) by formatting the file. Turn on Editor: Format On Save to automatically append space.

Shortcuts

  • ctrl+enter: query current line
  • ctrl+e: query current line/query selected line(s)

Packages

Thanks to the following packages that makes this happen.

  • node-q
  • Bootstrap
  • Tabulator
  • jQuery

Reference

I refer to the following repos for the first draft. Special thanks to quintanar401/language-kdb-q, I had been using it for years.

  • https://github.com/simongarland/vim
  • https://github.com/quintanar401/language-kdb-q

License

MIT

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