https://github.com/hetalang/heta-highlight-vscode
The package is plugin for Visual Studio Code editor to highlight Heta language code.
https://github.com/hetalang/heta-highlight-vscode
heta highlighting modeling qsp systems-biology vscode-extension
Last synced: 5 months ago
JSON representation
The package is plugin for Visual Studio Code editor to highlight Heta language code.
- Host: GitHub
- URL: https://github.com/hetalang/heta-highlight-vscode
- Owner: hetalang
- License: mit
- Created: 2019-09-30T13:31:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T20:20:41.000Z (over 2 years ago)
- Last Synced: 2023-12-15T21:47:09.109Z (over 2 years ago)
- Topics: heta, highlighting, modeling, qsp, systems-biology, vscode-extension
- Size: 212 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://hetalang.github.io/)
[](https://marketplace.visualstudio.com/items?itemName=insysbio.heta-highlight-vscode)


# heta-highlight-vscode package
The package is plugin for [Visual Studio Code](https://code.visualstudio.com/) editor to highlight the Heta language code.
This is part of [Heta project](https://hetalang.github.io/).
## Installation from VS Marketplace
1) From VSCode menu: **Extensions (Ctrl+ Shift +X) -> Search -> "heta"**
2) It is recommended to use "Dark+" or "Light+" theme. See File -> Preferences -> Color Theme
## Development mode
Press F5
## Publishing in VS Marketplace
```bash
# npm i
# npx vsce login
npx vsce publish # or npm run publish
```
## Converting to .sublime-syntax
### Way 1 - Sublime only
1. Install Sublime text: https://www.sublimetext.com/3
2. Open Sublime text with file `./syntaxes/heta.json`
3. Install Package Control: https://packagecontrol.io/installation
4. Tools => Command Palette... (ctrl+shift+p in Windows), type `install package`
5. Select and install `PackageDev`
6. Tools => Command Palette... (ctrl+shift+p in Windows), type `PackageDev: Convert (YAML...`, Convert to property list
7. Rename `heta.plist` to `heta.tmLanguage`
8. Tools => Developer => New Syntax from heta.tmLanguage
9. Save file `heta.sublime-syntax` to C:\Users\\AppData\Roaming\Sublime Text 3\Packages\User
### Way 2 - VSCode
1. in VSCode install Package `TextMate Languages`
2. View => Command Palette (ctrl+shift+p in Windows) type: `Convert to tmLanguage PLIST...`
3. Save to `heta.tmLanguage` and use Sublime for other actions (#8)
## Screenshot

## License
[MIT](LICENSE)