Skip to content

doctor

Diagnose common project issues: scripts, RPC contracts, menu references, codicons, and contributes sync.

Terminal window
vsceasy doctor
FlagTypeNotes
--fixbooleanApply the safe automatic fixes.
  • package.json scripts match the expected vsceasy set.
  • RPC contracts in shared/api.ts line up with panel handlers.
  • Menu items reference panels/commands that exist.
  • Codicon names are valid.
  • package.json#contributes is in sync with the files on disk.
  • Language assets — every file referenced by languages, grammars, snippets and iconThemes exists, reading both contributes.extra.json and the merged package.json. Silent on projects that declare none, and it flags a contributes.extra.json that isn’t valid JSON.
Terminal window
# report only
vsceasy doctor
# report + apply safe fixes
vsceasy doctor --fix

Run it after manual edits, or when something doesn’t show up after a gen.