Quantum Language Support
VS Code extension for the Quantum DSL — a language for survey tabulation.
Features
- Syntax highlighting — full TextMate grammar for all Quantum keywords, operators, and constructs
- Hover documentation — hover any keyword, dot-operator, column reference (
c201), or symbolic parameter (&name) for inline docs
- Go to definition — navigate from a
tab/und axis name to its l-block, *include to the included file, cNNN to its n01 usage, and &name to its *def
- Document links — click
*include filenames, axis names, and &name references to jump directly
- Outline view — axes shown as modules with element children in the Outline panel
- Folding —
ed/end, net/netend, and l-blocks fold correctly
- Snippets — 38 snippets covering all statement types and operators
- Comment toggling —
/* line comments
- Bracket matching & autoclosing —
(), '', $$
- File icon —
.qin, .qax, and common Quantum filename patterns (run*, axes*, tabs*, etc.)
Supported File Types
| Pattern |
Description |
.qin |
Quantum input files |
.qax |
Quantum axes files |
run*, axes*, tabs*, break*, edit*, base*, mean*, brk*, data* |
Extensionless Quantum files |
Recommended User Settings
{
"files.defaultLanguage": "quantum",
"files.eol": "\n",
"files.insertFinalNewline": true
}
| |