I am archiving this because I no longer have a use for it, and don't have the time to keep it up to date. Sorry!
This extension provides language features for the Panda BT. Currently it only provides basic syntax highlighting. If there is interest, features may be added to include, for example, IntelliSense for task autocompletion.
- Clone the repo
- cd into the repo dir
$ npm install
$ npm run build
- This should create a file in the repo root named
panda-language-#.#.#.vsix
. Note #.#.# will be replaced with the actual version number. - In VSCode open the extensions sidebar and click the "3 dots" menu in the top right of the extensions menu.
- Select "Install from VSIX..." and select the file that was built.
- Restart VSCode and enjoy!
- Download the latest VISX file from the repo's Releases tab on Github.
- Follow steps 6-8 in the "From Source" instructions.
Since Panda scripts must be TextAssets and Unity only supports specific file-extensions as TextAssets (Panda uses .txt
). This has been designed to expect a pseudo-file-extension .BT.txt
. If this doesn't fit your workflow/current project, VSCode allows you to set up custom file associations.
Issues are more than welcome, but PRs are preferred as I won't always have the time to address issues quickly.