File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 33 * SPDX-License-Identifier: Apache-2.0
44 */
55import * as vscode from 'vscode'
6- import { DevSettings , getServiceEnvVarConfig } from 'aws-core-vscode/shared'
6+ import { DevSettings , getServiceEnvVarConfig , resolvePath } from 'aws-core-vscode/shared'
77import { LspConfig } from 'aws-core-vscode/amazonq'
88import { LanguageClient } from 'vscode-languageclient'
99import {
@@ -40,8 +40,10 @@ export const defaultAmazonQLspConfig: ExtendedAmazonQLSPConfig = {
4040 supportedVersions : '1.*.*' ,
4141 id : 'AmazonQ' , // used across IDEs for identifying global storage/local disk locations. Do not change.
4242 suppressPromptPrefix : 'amazonQ' ,
43- path : undefined ,
44- ui : undefined ,
43+ path : resolvePath ( '~/aws-lsp-codewhisperer.js' ) , // '/Volumes/workplace/aws-language-servers/app/aws-lsp-codewhisperer-runtimes/out/agent-standalone.js'
44+ ui : resolvePath ( '~/amazonq-ui.js' ) , // '/Volumes/workplace/aws-language-servers/chat-client/build/amazonq-ui.js'
45+ // path: resolvePath('~/app/aws-lsp-codewhisperer-runtimes/out/agent-standalone.js'), // '/Volumes/workplace/aws-language-servers/app/aws-lsp-codewhisperer-runtimes/out/agent-standalone.js'
46+ // ui: resolvePath('~/chat-client/build/amazonq-ui.js'), // '/Volumes/workplace/aws-language-servers/chat-client/build/amazonq-ui.js'
4547}
4648
4749export function getAmazonQLspConfig ( ) : ExtendedAmazonQLSPConfig {
You can’t perform that action at this time.
0 commit comments