doctor
Diagnose common project issues: scripts, RPC contracts, menu references,
codicons, and contributes sync.
vsceasy doctor| Flag | Type | Notes |
|---|---|---|
--fix | boolean | Apply the safe automatic fixes. |
What it checks
Section titled “What it checks”package.jsonscripts match the expected vsceasy set.- RPC contracts in
shared/api.tsline up with panel handlers. - Menu items reference panels/commands that exist.
- Codicon names are valid.
package.json#contributesis in sync with the files on disk.- Language assets — every file referenced by
languages,grammars,snippetsandiconThemesexists, reading bothcontributes.extra.jsonand the mergedpackage.json. Silent on projects that declare none, and it flags acontributes.extra.jsonthat isn’t valid JSON.
# report onlyvsceasy doctor
# report + apply safe fixesvsceasy doctor --fixRun it after manual edits, or when something doesn’t show up after a gen.