File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,25 @@ export async function startLanguageServer(
6060 const clientOptions : LanguageClientOptions = {
6161 // Register the server for json documents
6262 documentSelector,
63+ // TODO uncomment this when local indexing is in agent chat server manifest and
64+ // starting the workspace context doesn't generate known errors: https://github.com/aws/language-servers/pull/982/files
65+ // middleware: {
66+ // workspace: {
67+ // configuration: async (params, token, next) => {
68+ // const config = await next(params, token)
69+ // if (params.items[0].section === 'aws.q') {
70+ // return [
71+ // {
72+ // projectContext: {
73+ // enableLocalIndexing: true,
74+ // },
75+ // },
76+ // ]
77+ // }
78+ // return config
79+ // },
80+ // },
81+ // },
6382 initializationOptions : {
6483 aws : {
6584 clientInfo : {
You can’t perform that action at this time.
0 commit comments