NVGT VS Code Extension
VS Code language support for NVGT
About this project
NVGT Language Support for Visual Studio Code
NVGT Language Support is a Visual Studio Code extension that provides rich language features for NVGT development. It enhances productivity by enabling intelligent code assistance, navigation, and improved code readability within the editor.
Overview
This extension integrates a language server to analyze NVGT code and deliver real-time feedback. It is designed to make working with NVGT more efficient by offering features typically found in modern development environments.
Features
- Code Completion: Context-aware suggestions for functions, variables, classes, and namespaces
- Go to Definition: Navigate directly to symbol definitions
- Find References: Locate all usages of a symbol across the workspace
- Hover Information: View symbol details and type information instantly
- Document Symbols: Structured outline for easier navigation in large files
- Syntax Highlighting: Clear and consistent highlighting for NVGT code
- Workspace Indexing: Full-project analysis for accurate language support
- Diagnostics: Identification of potential issues during development
Installation
Install the extension directly from the Visual Studio Code Marketplace.
- Open Visual Studio Code
- Go to the Extensions view
- Search for NVGT Language Support
- Select the extension and click Install
Usage
After installation, the extension activates automatically when opening .nvgt or .bgt files.
You can immediately start using features such as code completion, navigation, and symbol inspection without any additional configuration.
Architecture
The extension is built using a client-server architecture:
- Client: Handles integration with Visual Studio Code
- Language Server: Processes NVGT code and provides language intelligence
- Built-in Declarations: Supplies predefined symbols for improved accuracy
Development
For contributors or developers who want to work on the extension:
git clone https://github.com/ashu-choudhury/nvgt-vscode-extension
cd nvgt-vscode-extension
# useing bun
bun install
bun compile
#useing node.js
npm install
npm run compile
Project Structure
client/— VS Code extension integrationserver/— Language server implementationbuiltins/— Built-in declarations and definitions
Contributing
Contributions are welcome. You may submit issues for bugs or feature requests, and pull requests for improvements.
License
This project is licensed under the MIT License. Refer to the LICENSE file for details.
Key features
- Language support for the NVGT game toolkit
- Published VS Code extension