Skip to content

Commit a4304b5

Browse files
committed
add getConfig
1 parent eec8792 commit a4304b5

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/AmazonQLspService.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,8 @@ private class AmazonQServerInstance(private val project: Project, private val cs
252252
val artifact = runBlocking { ArtifactManager(project, manifestRange = null).fetchArtifact() }.toAbsolutePath()
253253
val node = if (SystemInfo.isWindows) "node.exe" else "node"
254254
val cmd = GeneralCommandLine(
255-
artifact.resolve(node).toString(),
256-
LspSettings.getInstance().getArtifactPath() ?: artifact.resolve("aws-lsp-codewhisperer.js").toString(),
255+
"/Users/leigaol/.nvm/versions/node/v18.20.2/bin/node",
256+
"/Users/leigaol/workplace/aws-toolkit-lsp/language-servers/app/aws-lsp-codewhisperer-runtimes/out/token-standalone.js",
257257
"--stdio",
258258
"--set-credentials-encryption-key",
259259
)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Copyright 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
3+
4+
package software.aws.toolkits.jetbrains.services.amazonq.lsp.model.aws
5+
6+
data class GetConfigurationFromServerPayload(
7+
val section: String,
8+
)

0 commit comments

Comments
 (0)