Syntax highlighting support for the Algo-C language used in this project.
Features
- Highlights Algo-C keywords from
algoc.l - Highlights
//line comments - Highlights string and numeric literals
- Highlights operators and punctuation
- Supports
.algocfiles (and.alas currently configured)
Install Locally
- Install dependencies for packaging:
- Node.js (LTS)
npm install -g @vscode/vsce
- Package the extension from this folder:
vsce package
- Install the generated
.vsix:code --install-extension algoc-syntax-0.1.0.vsix
Publish to Marketplace
- Create a publisher at Visual Studio Marketplace.
- Create an Azure DevOps PAT with Marketplace publish permissions.
- Login:
vsce login prestonhager
- Publish:
vsce publish- or bump + publish:
vsce publish patch
Language Details
The grammar is defined in:
syntaxes/algoc.tmLanguage.jsonlanguage-configuration.json
Token source of truth is your lexer:
algoc.l
Keep keyword/operator patterns in the TextMate grammar synchronized with lexer changes.
License
GPL-3.0-only. See LICENSE.