Loxic Language - VS Code Extension
Syntax highlighting and language support for the Loxic programming language.
Features
- 🎨 Syntax Highlighting - Full support for Loxic syntax
- 📝 Code Snippets - Quick templates for common patterns
- 🔧 Auto-completion - Brackets, quotes auto-closing
- 📁 File Icon - Custom icon for
.lox files
Installation
From VSIX file (Manual)
- Download
loxic-x.x.x.vsix from releases
- Open VS Code
- Press
Ctrl+Shift+P → "Extensions: Install from VSIX..."
- Select the downloaded file
From Marketplace (Coming Soon)
Search for "Loxic" in VS Code Extensions marketplace.
Usage
- Create a file with
.lox extension
- Start coding with syntax highlighting!
Snippets
| Prefix |
Description |
fn |
Function |
fnr |
Function with return |
fna |
Arrow function |
let |
Variable |
letm |
Mutable variable |
if |
If statement |
ife |
If-else |
while |
While loop |
for |
For-in loop |
match |
Match expression |
pr |
Print |
httpget |
HTTP GET route |
httppost |
HTTP POST route |
httpserver |
HTTP server template |
sqlquery |
SQLite query |
Building the Extension
cd vscode-loxic
npm install -g vsce
vsce package
This creates loxic-0.1.0.vsix which can be installed manually.
License
MIT
| |