Katnip for VS Code
Language support for the Katnip language (.knip) ~ compiles to Scratch SB3.
Features
- Live diagnostics — lexer, parser, and semantic errors shown inline as you type (powered by the Katnip compiler).
- Syntax highlighting — keywords, types, decorators, numbers, strings (including f-strings), and comments.
- Basic completion — keywords, plus names declared in the current file.
- Build command —
Katnip: Build .sb3 in the command palette compiles the active file, no separate install needed.
Getting started
Install the extension, then reload your extensions.
Create a new file with ending .knip and you're done! To compile from a terminal as well, install the compiler from npm:
npm install -g @katnip-org/compiler
Settings
| Setting |
Default |
Description |
katnip.check.trigger |
onType |
When to re-check files: onType or onSave. |
katnip.check.debounce |
250 |
Delay in ms after the last keystroke before re-checking (onType only). |
Documentation
https://docs.katnip.org
License
Apache-2.0
| |