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