mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
filter commands that start with an underscore, #1431
This commit is contained in:
@@ -50,7 +50,7 @@ export class ExtHostCommands implements ExtHostCommandsShape {
|
||||
onFirstListenerDidAdd: () => this._proxy.$registerCommandListener(),
|
||||
onLastListenerRemove: () => this._proxy.$unregisterCommandListener(),
|
||||
});
|
||||
this.onDidExecuteCommand = this._onDidExecuteCommand.event;
|
||||
this.onDidExecuteCommand = Event.filter(this._onDidExecuteCommand.event, e => e.command[0] !== '_'); // filter 'private' commands
|
||||
this._logService = logService;
|
||||
this._converter = new CommandsConverter(this);
|
||||
this._argumentProcessors = [
|
||||
|
||||
Reference in New Issue
Block a user