Ver a proveniência

Fixes #174 - Editor commands not working

main
Eric Amodio há 7 anos
ascendente
cometimento
d3191e65d8
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      src/commands/common.ts

+ 1
- 1
src/commands/common.ts Ver ficheiro

@ -271,7 +271,7 @@ export abstract class EditorCommand extends Disposable {
const subscriptions = [];
for (const cmd of command) {
subscriptions.push(commands.registerCommand(cmd, (editor: TextEditor, edit: TextEditorEdit, ...args: any[]) => this._execute(cmd, editor, edit, ...args), this));
subscriptions.push(commands.registerTextEditorCommand(cmd, (editor: TextEditor, edit: TextEditorEdit, ...args: any[]) => this._execute(cmd, editor, edit, ...args), this));
}
this._disposable = Disposable.from(...subscriptions);
}

Carregando…
Cancelar
Guardar