Skip to content

1zumii/vscode-starless-monokai

Repository files navigation

Starless Monokai

code style

🛠️ Develop

debug extension

refer to Debugging the extension

npm scripts

  • dev: build ts project, and run node script to generate extension
  • build: build ts project
  • generate: run node script to generate extension
  • compile:build-scripts: compile build scripts by tsc

dev references

explore syntax highlighting

use built-in scope inspector tool

  1. open Command Palette
  2. Developer: Inspect Editor Tokens and Scopes

inspect vscode element style

use built-in devtool

  1. debug, to launch extension dev host
  2. open Command Palette
  3. Developer: Toggle Developer Tools

lint and git hooks

  • postinstall in scripts will auto register git hooks set by simple-git-hooks, after npm install
  • npm run register-hooks manually each time changed git hooks in simple-git-hooks field of package.json