A Language Server Protocol (LSP) implementation for Kson, written in TypeScript. We support the Language Server Protocol (LSP), because it is a standard that allows programming language tooling to be decoupled from the code editor.
By implementing a language server, this project provides Kson language support that can be used by any LSP-compatible editor, such as Visual Studio Code, Neovim, or Sublime Text. This approach avoids the need to write a new extension for each editor and ensures that features are implemented in one place, improving performance and maintainability [1].
- Real-time Diagnostics: Identifies syntax errors as you type.
- Document Formatting: Automatically formats Kson files.
- Semantic Highlighting: Provides rich, context-aware syntax highlighting.
- Node.js (v20.0.0 or higher)
npm installTo compile the TypeScript source code, run:
npm run buildTo run the test suite:
npm test[1] Visual Studio Code. (2025). Language Server Extension Guide. Retrieved from https://code.visualstudio.com/api/language-extensions/language-server-extension-guide