This is a Visual Studio Code extension for the Lunas language. It provides syntax highlighting, IntelliSense, hover information, and diagnostics for .lun files.
- Syntax Highlighting: Provides syntax highlighting for
.lunfiles based on the TextMate grammar defined insyntaxes/lunas.tmLanguage.json. - IntelliSense: Offers code completion suggestions for Lunas scripts.
- Hover Information: Displays type information and documentation on hover.
- Diagnostics: Shows syntax and semantic errors in Lunas scripts.
-
Clone the repository:
git clone https://github.com/yourusername/lunas-vscode.git cd lunas-vscode -
Install dependencies:
npm install
-
Open the project in Visual Studio Code:
code . -
Package the extension:
npm run package
-
Open
.lunfiles in Visual Studio Code and enjoy the features!
Sample files are provided in the test directory.
- Create a new file with a
.lunextension. - Write your Lunas code in the file.
- Enjoy syntax highlighting, IntelliSense, hover information, and diagnostics.
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
This project is licensed under the MIT License. See the LICENSE file for details.