Debt: consolidate and cleanup context methods in editorCommands.ts
#213155
Labels
debt
Code quality issues
unreleased
Patch has not yet been released in VS Code Insiders
workbench-editors
Managing of editor widgets in workbench window
Milestone
We now have collected:
getEditorsContext
,resolveEditorsContext
,getCommandsContext
,resolveCommandsContext
,getMultiSelectedEditorContexts
ineditorCommands.ts
with each having some complexity.Challenge for new actions is to know which one to use and for existing actions to call the right thing. Also there is questionable overlap with group identifiers and groups sitting next to each other, so we should consolidate.
The text was updated successfully, but these errors were encountered: