Quartz language support
Provides comprehensive language support for the Quartz (.qrz) programming language.
This extension provides support for Quartz v0.4.2+.
Features
- Syntax Highlighting: Full syntax highlighting for Quartz keywords, types, functions, operators, and comments
- Code Formatting: Automatic code formatting with proper indentation and spacing
- IntelliSense: Auto-completion for keywords, types, and built-in functions
- Hover Information: Documentation tooltips for language constructs
- Code Snippets: Quick snippets for common patterns (variables, loops, conditionals)
- Bracket Matching: Auto-closing and auto-surrounding for brackets and quotes
- Commenting: Line (
//) and block (/* */) comment support
- Naming Convention Linting: Automatic checks for PascalCase (types) and snake_case (variables)
Language Features
Syntax Highlighting
Highlights all Quartz language constructs including:
- Keywords:
if, else, while, break, continue
- Types:
Number, String, Boolean, Any
- Constants:
true, false, null
- Operators: arithmetic, comparison, logical, assignment
- Comments: line and block comments
Format your code with proper indentation:
- Right-click and select "Format Document"
- Or use keyboard shortcut:
Shift+Alt+F (Windows/Linux) or Shift+Option+F (Mac)
Code Snippets
Quick snippets for common patterns:
var - Variable declaration
num - Number variable
str - String variable
bool - Boolean variable
any - Any variable
opt - Optional (nullable) variable
if - If statement
ifelse - If-else statement
while - While loop
write - Write to console
IntelliSense
Auto-completion suggestions for:
- Language keywords and control flow
- Built-in types
- Boolean and null constants
- Built-in functions
Naming Conventions
The extension automatically warns about naming convention violations:
- Types should use PascalCase (e.g.,
Number, MyType)
- Variables should use snake_case (e.g.,
my_variable, counter)
Requirements
- Visual Studio Code 1.80.0 or higher
Extension Settings
This extension currently does not add any VS Code settings.
| |