Skip to content

Commit 36b6e11

Browse files
authored
config(amazonq): disable auto-review by default (#5586)
* config(amazonq): disable auto-review by default * add change log
1 parent adceb63 commit 36b6e11

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-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" : "/review disable auto scan by default"
4+
}

plugins/amazonq/codewhisperer/jetbrains-community/src/migration/software/aws/toolkits/jetbrains/services/codewhisperer/explorer/CodeWhispererExplorerActionManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class CodeWhispererExplorerActionManager : PersistentStateComponent<CodeWhispere
4848
actionState.value[CodeWhispererExploreStateType.IsAutoEnabled] = isAutoEnabled
4949
}
5050

51-
fun isAutoEnabledForCodeScan(): Boolean = actionState.value.getOrDefault(CodeWhispererExploreStateType.IsAutoCodeScanEnabled, true)
51+
fun isAutoEnabledForCodeScan(): Boolean = actionState.value.getOrDefault(CodeWhispererExploreStateType.IsAutoCodeScanEnabled, false)
5252

5353
fun setAutoEnabledForCodeScan(isAutoEnabledForCodeScan: Boolean) {
5454
actionState.value[CodeWhispererExploreStateType.IsAutoCodeScanEnabled] = isAutoEnabledForCodeScan

0 commit comments

Comments
 (0)