Skip to content

jshinonome/vscode-k9

Repository files navigation

vscode extension for shakti-k9

This extension provides shakti-k9 language support of version Li 2021.09.01 shakti 2.0

Features

  • k syntaxes
  • process list group by tags
  • process explorer
  • query grid powered by ag-grid-community
  • query virtualization powered by perspective
  • language server powered by tree-sitter
    • rename symbol (F2)
    • go to definition (F12)
    • go to reference (Shift+F12)
    • workspace symbol (Ctrl+T)
    • document highlight
    • document symbol (Ctrl+Shift+O)
    • completion
    • signature help
      • identifiers defined in code

See the change log.

Configurations

  • To configure globally, type ctrl+, to open Settings and change the following values.
  • To configure for workspace, type ctrl+shift+p, call Preferences: Open Workspace Settings and change the following values.
configuration type default value description
k9-server.sourceFiles.globsPattern array ["**/src/**/*.k"] source folder to be included
k9-server.sourceFiles.ignorePattern array ["**/build","**/node_modules"] folder to be excluded
k9-client.terminal.qBinary string k k executable file or full path
k9-client.terminal.envPath string `` environment file relative or absolute path

Shortcuts

  • ctrl+q: query current line
  • ctrl+r: query selection
  • ctrl+shift+q: send current line to terminal
  • ctrl+shift+r: send selection to terminal