Skip to content

Development

Ecmel Ercan edited this page Dec 17, 2025 · 27 revisions

Clone Repo

git clone https://github.com/KxSystems/kx-vscode.git

Recommended Extensions

Scripts

Script Description
update-deps Update dependencies to latest patch version
format Format all ts files
lint Lint all ts files
package Produce vsix
test Perform Unit Tests
coverage Produce coverage reports
ui-test Perform UI Tests
q-test Perform q Tests

Debugging

Extension Unit Tests can be debugged by selecting Extension Tests target from run and debug tab.

Extension UI Tests can be debugged by selecting Extension UI Tests target from run and debug tab. UI Tests use Page Object APIs.

Testing will stop at any breakpoint set in test or source file.

image

Single test file can also be debugged by clicking run button from the editor toolbar:

image

q Testing

For q testing to work, a local PyKX enabled kdb+ installation is needed and q executable should be in system path. Also AxLibraries should be installed.

Restart Extension Host

ctrl/+r will restart extension host.

Dependencies

List outdated dependencies:

npm exec ncu

Clone this wiki locally