Syntax Highlighting for Sailfish Templates in VSCode
This directory contains Syntax Highlighting extension for sailfish templates in Visual Studio Code.
The extension is available at VisualStudio Marketplace.
Features
- Full Rust syntax highlighting rules inside code blocks
- Auto-closing brackets for code blocks
- Folding for comment blocks
Screenshots
Developer Instructions
- Open the /sailfish/syntax/vscode/ directory in VS Code.
- Run the following commands:
sudo apt install nodejs
npm install typescript --save-dev
npm install @eslint/js -D
npm install typescript-eslint -D
npm install -g @vscode/vsce
vsce login rust-sailfish
vsce publish
| |