This project provides VS Code language support for .sda files.
It is intentionally independent of any runtime SDA implementation. The language server is a spec-oriented editor tool that parses SDA source text directly, including incomplete and invalid documents while users are editing.
Features
.sdafile association- TextMate syntax highlighting
- Bracket/comment configuration
- SDA snippets
- Language Server Protocol support
- Syntax diagnostics
- section, schema, type, and data-field diagnostics
- schema-aware data field completions
- built-in type and literal completions
- hover text for sections, types, and schema fields
- document symbols
- semantic tokens
- whole-document formatting
Layout
client/ VS Code extension activation code
server/ SDA language server implementation
syntaxes/ TextMate grammar
language-configuration/ VS Code language configuration
snippets/ SDA snippets
docs/ deployment instructions
Build
npm install
npm run compile
Package
npm run package
The package command writes a .vsix file in this directory.