This directory contains the source code for the Trypillia language VS Code extension. It provides integration with the language server (trypillia-lsp) and basic syntax highlighting.
vscode-extension/
+-- src/ # TypeScript frontend/client
| \-- extension.ts # Extension entry point & LSP client setup
+-- syntaxes/ # TextMate configurations
| \-- trypillia.tmLanguage.json # Syntax highlighting rules
+-- language-configuration.json # Language rules (brackets, comments)
+-- package.json # VS Code extension manifest
\-- tsconfig.json # TypeScript compiler configuration
Node.js and npm are required to work with the extension. Follow these steps:
-
Install dependencies:
npm install
-
Compile the extension:
npm run compile
-
Run in development mode: Open this directory in VS Code and press
F5to launch a new Extension Development Host window with the extension loaded.
The extension client is configured to spawn trypillia-lsp as a local process. Ensure that the language server binary (trypillia-lsp) is built and available in your system path (or configured via extension settings), otherwise diagnostics and autocomplete will not function.
Contributions are welcome and appreciated! Here's how you can contribute:
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Please make sure to update tests as appropriate and adhere to the existing coding style.
This project is licensed under the CSSM Unlimited License v2.0 (CSSM-ULv2). See the LICENSE file for details.