Skip to content

Commit 2ec3909

Browse files
Merge main into feature/build-execute
2 parents 1a302f2 + c146b0f commit 2ec3909

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "/dev: Fix missing Amazon Q feature dev auto build setting."
4+
}

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/controller/FeatureDevController.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,8 @@ class FeatureDevController(
544544
}
545545

546546
private suspend fun handleDevCommandUserSetting(tabId: String, value: Boolean) {
547-
CodeWhispererSettings.getInstance().toggleAutoBuildFeature(context.project.basePath, value)
547+
val session = getSessionInfo(tabId)
548+
CodeWhispererSettings.getInstance().toggleAutoBuildFeature(session.context.workspaceRoot.path, value)
548549
messenger.sendAnswer(
549550
tabId = tabId,
550551
message = message("amazonqFeatureDev.chat_message.setting_updated"),

0 commit comments

Comments
 (0)