From ec983e885c409eb82f907ce72dfd5b96bb3f7d12 Mon Sep 17 00:00:00 2001 From: Josh Pinkney Date: Tue, 22 Apr 2025 14:54:24 -0400 Subject: [PATCH] feat(amazonq): workspace indexing should use vscode setting --- packages/amazonq/src/lsp/client.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/amazonq/src/lsp/client.ts b/packages/amazonq/src/lsp/client.ts index 7e612102c23..f199b7e4fc9 100644 --- a/packages/amazonq/src/lsp/client.ts +++ b/packages/amazonq/src/lsp/client.ts @@ -93,7 +93,9 @@ export async function startLanguageServer( customization, optOutTelemetry: getOptOutPreference() === 'OPTOUT', projectContext: { - enableLocalIndexing: true, + enableLocalIndexing: vscode.workspace + .getConfiguration() + .get('amazonQ.workspaceIndex'), }, }, ]