- This folder contains all the files necessary for Rux extension.
package.json- this is the manifest file in which you declare Rux language support and define the location of the grammar file that has been copied into Rux extension.syntaxes/rux.tmLanguage.json- this is the Text mate grammar file that is used for tokenization.language-configuration.json- this is the language configuration, defining the tokens that are used for comments and brackets.
- Make sure the language configuration settings in
language-configuration.jsonare accurate. - Press
F5to open a new window with Rux extension loaded. - Create a new file with a file name suffix matching Rux language.
- Verify that syntax highlighting works and that the language configuration settings are working.
- You can relaunch the extension from the debug toolbar after making changes to the files listed above.
- You can also reload (
Ctrl+RorCmd+Ron Mac) the VS Code window with Rux extension to load changes.
- To add features such as IntelliSense, hovers and validators check out the VS Code extenders documentation at https://code.visualstudio.com/api/language-extensions/overview
To start using Rux extension with Visual Studio Code install @vscode/vsce globally
npm install -g @vscode/vsceCreate vsix file from files and install extension in VS Code
vsce package
code --install-extension .\rux-lang-0.1.0.vsix