- This folder contains all of the files necessary for the extension.
package.json- this is the manifest file in which the language support is declared and the location of the grammar files are defined.syntaxes/xxx.tmLanguage.json- this is a Text mate grammar file that is used for tokenization.
- Press
F5to open a new window with your extension loaded. - Create a new file with a file name suffix matching your 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 your extension to load your changes.
- To add features such as IntelliSense, hovers and validators check out the VS Code extenders documentation at https://code.visualstudio.com/docs
- To start using the extension with Visual Studio Code copy it into the
<user home>/.vscode/extensionsfolder and restart Code. - To share the extension with the world, read on https://code.visualstudio.com/docs about publishing an extension.
- Install
vsceby runningnpm install -g @vscode/vsce. - Run
vsce packagefrom the command line. - Run
vsce publishand open https://marketplace.visualstudio.com and publish your extension.
- Install
ovsxby runningnpm install -g ovsx. - Run
npx ovsx publish python-docstring-highlighter-<version>.vsix -p <token>.
See https://github.com/eclipse/openvsx/wiki/publishing-extensions for more information.