We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2700813 commit b38f025Copy full SHA for b38f025
packages/core/src/amazonq/lsp/lspClient.ts
@@ -222,11 +222,11 @@ export async function activate(extensionContext: ExtensionContext) {
222
return
223
}
224
savedDocument = document.uri
225
- void LspClient.instance.updateIndex([document.uri.fsPath], 'update')
226
}),
227
vscode.window.onDidChangeActiveTextEditor((editor) => {
228
if (savedDocument && editor && editor.document.uri.fsPath !== savedDocument.fsPath) {
229
- // void LspClient.instance.updateIndex([editor.document.uri.fsPath], 'update')
+ console.log('onDidChangeActiveTextEditor', savedDocument.fsPath)
+ void LspClient.instance.updateIndex([savedDocument.fsPath], 'update')
230
231
232
vscode.workspace.onDidCreateFiles((e) => {
0 commit comments