refer to Debugging the extension
dev
: build ts project, and run node script to generate extensionbuild
: build ts projectgenerate
: run node script to generate extensioncompile:build-scripts
: compile build scripts by tsc
use built-in scope inspector tool
- open Command Palette
Developer: Inspect Editor Tokens and Scopes
use built-in devtool
- debug, to launch extension dev host
- open Command Palette
Developer: Toggle Developer Tools
postinstall
inscripts
will auto register git hooks set by simple-git-hooks, afternpm install
npm run register-hooks
manually each time changed git hooks insimple-git-hooks
field ofpackage.json