Skip to content

Commit f303e56

Browse files
Fix comments:
- Remove some unrelated development related code - Enable local indexing Signed-off-by: nkomonen-amazon <[email protected]>
1 parent 05abaf0 commit f303e56

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

aws-toolkit-vscode.code-workspace

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
{
1313
"path": "packages/amazonq",
1414
},
15-
{
16-
"path": "../language-servers",
17-
},
1815
],
1916
"settings": {
2017
"typescript.tsdk": "node_modules/typescript/lib",

packages/amazonq/.vscode/launch.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
1414
"env": {
1515
"SSMDOCUMENT_LANGUAGESERVER_PORT": "6010",
16-
"WEBPACK_DEVELOPER_SERVER": "http://localhost:8080",
17-
"__AMAZONQLSP_PATH": "${workspaceFolder}/../../../language-servers/app/aws-lsp-codewhisperer-runtimes/out/agent-standalone.js",
18-
"__AMAZONQLSP_UI": "${workspaceFolder}/../../../language-servers/chat-client/build/amazonq-ui.js"
16+
"WEBPACK_DEVELOPER_SERVER": "http://localhost:8080"
17+
// Below allows for overrides used during development
18+
// "__AMAZONQLSP_PATH": "${workspaceFolder}/../../../language-servers/app/aws-lsp-codewhisperer-runtimes/out/agent-standalone.js",
19+
// "__AMAZONQLSP_UI": "${workspaceFolder}/../../../language-servers/chat-client/build/amazonq-ui.js"
1920
},
2021
"envFile": "${workspaceFolder}/.local.env",
2122
"outFiles": ["${workspaceFolder}/dist/**/*.js", "${workspaceFolder}/../core/dist/**/*.js"],

packages/amazonq/src/lsp/client.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ export async function startLanguageServer(
9393
customization,
9494
optOutTelemetry: getOptOutPreference() === 'OPTOUT',
9595
projectContext: {
96-
// TODO uncomment this when local indexing is in agent chat server manifest
97-
enableLocalIndexing: false,
96+
enableLocalIndexing: true,
9897
},
9998
},
10099
]

0 commit comments

Comments
 (0)