Skip to content

Commit 2700813

Browse files
committed
revert change
1 parent 52d2a12 commit 2700813

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/core/src/amazonq/lsp/lspClient.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,11 @@ export async function activate(extensionContext: ExtensionContext) {
222222
return
223223
}
224224
savedDocument = document.uri
225+
void LspClient.instance.updateIndex([document.uri.fsPath], 'update')
225226
}),
226227
vscode.window.onDidChangeActiveTextEditor((editor) => {
227228
if (savedDocument && editor && editor.document.uri.fsPath !== savedDocument.fsPath) {
228-
void LspClient.instance.updateIndex([editor.document.uri.fsPath], 'update')
229+
// void LspClient.instance.updateIndex([editor.document.uri.fsPath], 'update')
229230
}
230231
}),
231232
vscode.workspace.onDidCreateFiles((e) => {

0 commit comments

Comments
 (0)