mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Remove unused class
This commit is contained in:
parent
50e025e0d9
commit
0207dfe18c
|
@ -503,16 +503,6 @@ class MyCompletionItem extends vscode.CompletionItem {
|
|||
}
|
||||
}
|
||||
|
||||
class CompositeCommand implements Command {
|
||||
public static readonly ID = '_typescript.composite';
|
||||
public readonly id = CompositeCommand.ID;
|
||||
|
||||
public execute(...commands: vscode.Command[]) {
|
||||
for (const command of commands) {
|
||||
vscode.commands.executeCommand(command.command, ...(command.arguments || []));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class CompletionAcceptedCommand implements Command {
|
||||
public static readonly ID = '_typescript.onCompletionAccepted';
|
||||
|
@ -653,7 +643,6 @@ class TypeScriptCompletionItemProvider implements vscode.CompletionItemProvider<
|
|||
onCompletionAccepted: (item: vscode.CompletionItem) => void
|
||||
) {
|
||||
commandManager.register(new ApplyCompletionCodeActionCommand(this.client));
|
||||
commandManager.register(new CompositeCommand());
|
||||
commandManager.register(new CompletionAcceptedCommand(onCompletionAccepted, this.telemetryReporter));
|
||||
commandManager.register(new ApplyCompletionCommand(this.client));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue