Skip to content

Commit 6ee4eb5

Browse files
Razmo99JustinGrote
authored andcommitted
removed command register and not implemented method
1 parent e56a794 commit 6ee4eb5

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/features/RenameSymbol.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import vscode = require("vscode");
55
import { RequestType } from "vscode-languageclient";
66
import { LanguageClientConsumer } from "../languageClientConsumer";
77
import { RenameProvider, WorkspaceEdit, TextDocument, CancellationToken, Position,Uri,Range } from "vscode";
8-
import type { LanguageClient } from "vscode-languageclient/node";
98
// eslint-disable-next-line @typescript-eslint/no-empty-interface
109
interface IRenameSymbolRequestArguments {
1110
FileName?:string
@@ -46,21 +45,7 @@ export const RenameSymbolRequestType = new RequestType<IRenameSymbolRequestArgum
4645
export const PrepareRenameSymbolRequestType = new RequestType<IPrepareRenameSymbolRequestArguments, IPrepareRenameSymbolRequestResponse, void>("powerShell/PrepareRenameSymbol");
4746

4847
export class RenameSymbolFeature extends LanguageClientConsumer implements RenameProvider {
49-
public override onLanguageClientSet(_languageClient: LanguageClient): void {
50-
throw new Error("Method not implemented.");
51-
}
52-
private command: vscode.Disposable;
53-
54-
constructor() {
55-
super();
56-
this.command = vscode.commands.registerCommand("PowerShell.RenameSymbol", () => {
57-
throw new Error("Not implemented");
5848

59-
});
60-
}
61-
public dispose() :void{
62-
this.command.dispose();
63-
}
6449
public async provideRenameEdits(document: TextDocument, position: Position, newName: string, _token: CancellationToken): Promise<WorkspaceEdit | undefined> {
6550

6651
const req:IRenameSymbolRequestArguments = {

0 commit comments

Comments
 (0)