We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5dc0e22 + f5f07ef commit d744fddCopy full SHA for d744fdd
src/lsptoolshost/commands.ts
@@ -103,7 +103,7 @@ async function completionComplexEdit(
103
): Promise<void> {
104
let success = false;
105
const uri = UriConverter.deserialize(uriStr);
106
- const editor = vscode.window.visibleTextEditors.find((editor) => editor.document.uri.path === uri.path);
+ const editor = vscode.window.visibleTextEditors.find((editor) => editor.document.uri.fsPath === uri.fsPath);
107
108
if (editor !== undefined) {
109
const newRange = editor.document.validateRange(
0 commit comments