Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trypillia VS Code Extension

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.

Directory Structure

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

Development and Build

Node.js and npm are required to work with the extension. Follow these steps:

  1. Install dependencies:

    npm install
  2. Compile the extension:

    npm run compile
  3. Run in development mode: Open this directory in VS Code and press F5 to launch a new Extension Development Host window with the extension loaded.

LSP Integration

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.

Contributing

Contributions are welcome and appreciated! Here's how you can contribute:

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Please make sure to update tests as appropriate and adhere to the existing coding style.

License

This project is licensed under the CSSM Unlimited License v2.0 (CSSM-ULv2). See the LICENSE file for details.

About

The official Visual Studio Code extension for the Trypillia programming language, providing syntax highlighting and LSP integration.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages