VS Code Extension
Vollständige IDE-Unterstützung für Velisch mit Syntax-Highlighting, IntelliSense, Debugging und Code-Generierung.
Installation
cd tools/vscode-extension
npm install
npm run compile
code --install-extension velisch-0.1.0.vsixFeatures
Syntax-Highlighting
Keywords, Decorators, Types, String Interpolation, Doc-Comments
IntelliSense
Auto-Completion, Go-to-Definition, Hover-Dokumentation
Debugger Integration
DAP-Support, Breakpoints, Variable Inspection
Code Snippets
Templates für @Flow, @VelinAutoDoc, @VelinPipeline
Code Formatting
Format on Save, Format Selection
Code Actions
Quick Fixes, Refactoring, Import-Organisierung
Code Snippets
Tippe den Präfix und drücke Tab:
velin-flowTemplate für @Flow Funktionen
velin-autodocTemplate für @VelinAutoDoc
velin-autotestTemplate für @VelinAutoTest
velin-pipelineTemplate für @VelinPipeline Module
velin-insightTemplate für @VelinInsight Module
Commands
Compiler Commands
velin.compileKompiliert Datei
velin.checkPrüft Datei
velin.formatFormatiert Datei
Code Generation Commands
velin.generate.mlFunctionML-Funktion
velin.generate.aiEndpointAI-Endpoint
velin.generate.securitySecurity-Code
velin.generate.cacheCache-Code
velin.generate.healthHealth-Check
velin.generate.loggingLogging-Code
Debugger-Konfiguration
{
"version": "0.2.0",
"configurations": [
{
"type": "velin",
"request": "launch",
"name": "Debug Velisch",
"program": "${workspaceFolder}/main.velin"
}
]
}Einstellungen
{
"velin.lsp.path": "velin-lsp",
"velin.debugger.path": "velin-debugger",
"velin.debugger.port": 4711,
"velin.lsp.trace": "off",
"velin.lsp.logLevel": "info"
}Syntax-Highlighting
Unterstützt alle Velisch-Features:
- Keywords (
fn,let,return, etc.) - Decorators (
@GET,@POST,@Auth,@Flow, etc.) - Types (
string,number,List,Result, etc.) - String Interpolation
- Doc-Comments (
///)
Integrierte Tools
LSP Server
Auto-Completion, Go-to-Definition, Refactoring
Debugger
DAP-Support für Breakpoints und Variable Inspection
Linter
Zeigt Linter-Probleme direkt im Editor
Formatter
Code-Formatierung mit velin-fmt