Skip to content

Commit

Permalink
plugins: add workbench.action.openSettings
Browse files Browse the repository at this point in the history
Fixes #7317

The following commit adds the `workbench.action.openSettings` command
so that it can be executed successfully by VS Code extensions.

Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
  • Loading branch information
vince-fugnitto committed Mar 12, 2020
1 parent 9030127 commit a546178
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ export class PluginVscodeCommandsContribution implements CommandContribution {
commands.registerCommand({ id: 'workbench.action.quickOpen' }, {
execute: () => this.quickOpen.open('')
});
commands.registerCommand({ id: 'workbench.action.openSettings' }, {
execute: () => commands.executeCommand(CommonCommands.OPEN_PREFERENCES.id)
});
commands.registerCommand({ id: 'default:type' }, {
execute: args => {
const editor = MonacoEditor.getCurrent(this.editorManager);
Expand Down

0 comments on commit a546178

Please sign in to comment.