The commands workbench.files.action.acceptLocalChanges and workbench.files.action.revertLocalChanges were not registered because all the CommandsRegistry.registerCommand calls were tree-shaken out for the file where they were registered. I think that was introduced to shake _files.windowOpen and _files.newWindow out, so I've changed it so that the commands are shaken out explicitly instead of shaking out the whole file.
The commands
workbench.files.action.acceptLocalChanges
andworkbench.files.action.revertLocalChanges
were not registered because all theCommandsRegistry.registerCommand
calls were tree-shaken out for the file where they were registered. I think that was introduced to shake_files.windowOpen
and_files.newWindow
out, so I've changed it so that the commands are shaken out explicitly instead of shaking out the whole file.