notes.dt.in.th

Workspace-local extensions in VS Code.

  1. Generate a VS Code extension using yo code.
  2. Symlink the extension to ~/.vscode/extensions/[id].
  3. Disable the extension on every workspace.
  4. Enable the extension on target workspace.

Removing extra fluff in case the VS Code extension is part of a larger project with build infrastructure:

  • .eslintrc.json
  • CHANGELOG.md
  • vsc-extension-quickstart.md
  • .vscode
  • In package.json: eslint stuff

Things to ignore in .gitignore:

  • out
  • node_modules