Lahlang VS Code Extension
Overview
Lahlang Extension provides syntax highlighting and basic language support for the Lahlang programming language in Visual Studio Code. It is designed to help developers write, read, and maintain Lahlang code efficiently.
Features
- Syntax highlighting for Lahlang files (
.lah)
- Language configuration for comments, brackets, and auto-closing pairs
- Easy integration with VS Code
Installation
Install the lahlang extension directly from the VS Code Marketplace:
- Open Visual Studio Code.
- Open the Extensions view (
Ctrl+Shift+X).
- Search for
lahlang.
- Click Install.
Alternatively, you can install it via the command line:
code --install-extension suryanshkushwaha.lahlang-vscode
Development
To set up the extension for local development:
- Clone the repository:
git clone https://github.com/suryanshkushwaha/lahlang.git
- Navigate to the extension folder:
cd lahlang/lahlang-extension
- Install dependencies:
pnpm install
- Launch VS Code and open the extension folder.
- Press
F5 to start a new Extension Development Host.
Usage
- Open any
.lah file in VS Code to activate syntax highlighting and language features.
- For advanced features, ensure the extension is enabled in your VS Code environment.
Project Structure
language-configuration.json: Defines comment styles, brackets, and auto-closing pairs.
syntaxes/lahlang.tmLanguage.json: TextMate grammar for Lahlang syntax highlighting.
package.json: Extension manifest and configuration.
pnpm-lock.yaml: Dependency lock file.
Contributing
- Fork the repository and create your branch.
- Make your changes and add tests if necessary.
- Submit a pull request with a clear description of your changes.
Publishing
- Ensure all changes are committed and the extension is production-ready.
- Run:
pnpm run package
- Publish to the VS Code Marketplace using
vsce:
pnpm exec vsce publish
License
This project is licensed under the MIT License. See the LICENSE file for details.
Support
For issues, feature requests, or questions, please open an issue in the repository or contact the maintainers.
If you want to support development: