Skip to content

Commit 4bbff6e

Browse files
Merge main into feature/q-lsp-chat
2 parents d61bd4f + 36b6e11 commit 4bbff6e

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)