svn-scm
svn-scm copied to clipboard
Feature request: changelist context menu
trafficstars
Describe the solution you'd like a context menu on the changelist row in the scm panel
- open these files
- open these files and close all other files
- close all other files
- close these files
- commit changelist
- revert changelist files
Not 100% sure if this can be done, will need looking into.
@JohnstonCode, for menu, see: https://code.visualstudio.com/docs/extensionAPI/api-scm#_menus
For close all editors: vscode.commands.executeCommand('workbench.action.closeAllEditors')
The command workbench.action.closeAllEditors change active editor, we can use to scan opened texteditors
From that list i think it would be easy to do
- open these files
- open these files and close all other files
- commit changelist
- revert changelist files