Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 3d62bca

Browse files
authored
Merge pull request #641 from codestoryai/feautres/fix-go-to-implementations-request
[ide] fix parameters for go to implementations request
2 parents 1d80e2b + 860abee commit 3d62bca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/codestory/src/server/goToImplementation.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import { shouldTrackFile } from '../utilities/openTabs';
1111
export async function goToImplementation(request: SidecarGoToImplementationRequest): Promise<SidecarGoToImplementationResponse> {
1212
const locations: vscode.LocationLink[] = await vscode.commands.executeCommand(
1313
'vscode.executeImplementationProvider',
14-
request.fs_file_path,
15-
request.position,
14+
vscode.Uri.file(request.fs_file_path),
15+
new vscode.Position(request.position.line, request.position.character),
1616
);
1717
const implementations = await Promise.all(locations.map(async (location) => {
1818
const uri = location.targetUri;

0 commit comments

Comments
 (0)