Before contributing to this project, you might need to learn glossary from cactbot.
- VSCode Insider, note ONLY insider version can be used to develop VSCode extensions.
- Node.js, Node.js version >= 14.x is required.
- Yarn
Run yarn install
to install all the dependencies.
Run yarn build
to build the project.
After building, you can press F5 to debug, or press Ctrl + F5 to run without debugging.
You can run yarn package
to build and package code to a VSIX package,
which can be installed manually in VSCode.
i18n files is not upload to GitHub. The GitHub Action workflow would export and download i18n files from crowdin, which is the site that we are using for localization.
You can run yarn port-i18n
to export i18n json files from source code.
If you want to contribute translations, please access crowdin.
Here is a Syntax Highlight Guide from VSCode.
cactbot-highlight
uses YAML
to describe syntax instead of JSON
,
but VSCode only recognize JSON
, building script would automatically invoke the conversion,
or you can run yarn run convert
to do this.
Check YAML
files under syntaxes/
.
Here is a Snippets Guide from VSCode.
Check JSON
files under snippets/
.
cactbot-highlight
now relies on cactbot
's structure of files and directories deeply.
Check files under src/
.