Skip to content

Commit 08255c6

Browse files
committed
node
1 parent 5b449dc commit 08255c6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,9 @@ private class AmazonQServerInstance(private val project: Project, private val cs
378378

379379
val node = if (SystemInfo.isWindows) "node.exe" else "node"
380380
var nodePath = artifact.resolve(node)
381-
// download node runtime is not found
381+
// download node runtime if it is not found
382382
if (!Files.exists(nodePath) || !Files.isExecutable(nodePath)) {
383-
LOG.warn() { "Node Runtime download failed. Fallback to user specified node runtime " }
383+
LOG.warn { "Node Runtime download failed. Fallback to user specified node runtime " }
384384
// attempt to use user provided node runtime path
385385
val nodeRuntime = LspSettings.getInstance().getNodeRuntimePath()
386386
if (!nodeRuntime.isNullOrEmpty()) {
@@ -394,7 +394,7 @@ private class AmazonQServerInstance(private val project: Project, private val cs
394394
NotificationAction.create(
395395
message("codewhisperer.actions.open_settings.title")
396396
) { _, notification ->
397-
ShowSettingsUtil.getInstance().showSettingsDialog(project, CodeWhispererConfigurable::class.java)
397+
ShowSettingsUtil.getInstance().showSettingsDialog(project, message("aws.settings.codewhisperer.configurable.title"))
398398
},
399399
NotificationAction.create(
400400
message("codewhisperer.notification.custom.simple.button.got_it")

plugins/core/resources/resources/software/aws/toolkits/resources/MessagesBundle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ amazonqFeatureDev.placeholder.new_plan=Describe your task or issue in as much de
149149
amazonqFeatureDev.placeholder.provide_code_feedback=Provide feedback or comments
150150
amazonqFeatureDev.placeholder.select_lsp_artifact=Select LSP Artifact
151151
amazonqFeatureDev.placeholder.node_runtime_path=Node Runtime Path
152-
amazonqFeatureDev.placeholder.node_runtime_message=Absolute path of your node js v18+ runtime executable.
152+
amazonqFeatureDev.placeholder.node_runtime_message=Please provide the absolute path of your node js v18+ runtime executable in Settings. Re-open IDE to apply this change.
153153
amazonqFeatureDev.placeholder.write_new_prompt=Write a new prompt
154154
apprunner.action.configure=Configure Service
155155
apprunner.action.create.service=Create Service...

0 commit comments

Comments
 (0)