svn-scm icon indicating copy to clipboard operation
svn-scm copied to clipboard

Feature request: changelist context menu

Open julesx opened this issue 7 years ago • 3 comments
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

julesx avatar Jun 21 '18 18:06 julesx

Not 100% sure if this can be done, will need looking into.

JohnstonCode avatar Jun 22 '18 08:06 JohnstonCode

@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

edgardmessias avatar Jun 28 '18 20:06 edgardmessias

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

JohnstonCode avatar May 24 '19 11:05 JohnstonCode