Quin Language Support for VS Code
Syntax highlighting for the Quin programming language.
Features
- Syntax highlighting for
.qn files
- Keyword highlighting (
task, let, while, if, attempt/rescue/finally, etc.)
- String and number literals
- Comment highlighting (single-line
# and block #~ ... ~#)
- Function and type name highlighting
- Operator highlighting including Quin-specific operators (
|>, ?., ??)
- Bracket matching and auto-closing pairs
Installation
From source
- Clone or download this extension folder
- Copy it to your VS Code extensions directory:
- Windows:
%USERPROFILE%\.vscode\extensions\quin-lang
- macOS/Linux:
~/.vscode/extensions/quin-lang
- Restart VS Code
Via VSIX (once published)
ext install MaliciousByte.quin-lang
Usage
Any file with the .qn extension will automatically use Quin syntax highlighting.
Example
use math;
task fib(n) {
if n < 2 { return n; }
return fib(n - 1) + fib(n - 2);
}
let result = fib(10);
emit("Result: " + result);
License
MIT
| |