If you're running it for the first time, run the following commands.
$ npm install # install 3rd-party libraries
$ npm run compile # transpile TypeScript code to JavaScript
$ make # (re)generate language rules and syntax coloring files
Then select the menu: Run
> Run Without Debugging
. If successful, a new instance of VSCode will launch.
Install vsce
command-line tool if you haven't already.
$ npm install --global @vscode/vsce
Run vsce
via make
.
$ make package
If the command was successful, you would see something like the following:
./scripts/generate-syntax.py sbss
./scripts/generate-syntax.py sbml
./scripts/generate-language.py sbss
./scripts/generate-language.py sbml
vsce package
Executing prepublish script 'npm run vscode:prepublish'...
> [email protected] vscode:prepublish
> npm run compile
> [email protected] compile
> tsc -p ./
DONE Packaged: /Users/chanryu/Projects/vscode-jamkit/jamkit-tools-0.1.1.vsix (69 files, 55.91KB)