This extension provides language support for the Zen C programming language.
- Syntax Highlighting: Colorization for keywords, types, functions, strings, and comments.
- IntelliSense: Code completion for local variables, function arguments, and struct fields.
- Hover: Documentation and type information on hover.
- Go to Definition: Navigate to symbol definitions.
- Diagnostics: Real-time error reporting and type checking.
You must have the Zen C compiler (zc) installed and available in your system path.
Install via VS Code Marketplace: Zen C
- Clone the repository:
git clone https://github.com/z-libs/zenc-vscode.git cd zenc-vscode - Install dependencies:
npm install
- Open in VS Code:
code . - Press F5 to build and launch the extension in debug mode.
This extension contributes the following settings:
zenc.serverPath: Absolute path to thezcexecutable. Default:zc(assumes it is in your PATH).
To publish a new version:
- Update version in
package.json. - Install
vsce:npm install -g vsce - Package:
vsce package - Publish:
vsce publish
MIT