Skip to content

Commit 40dc2ce

Browse files
committed
raise max indexing size to 4GB
1 parent 7e4f6e3 commit 40dc2ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/settings/CodeWhispererConfigurable.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class CodeWhispererConfigurable(private val project: Project) :
124124

125125
row(message("aws.settings.codewhisperer.project_context_index_max_size")) {
126126
intTextField(
127-
range = IntRange(1, 250)
127+
range = IntRange(1, 4096)
128128
).bindIntText(codeWhispererSettings::getProjectContextIndexMaxSize, codeWhispererSettings::setProjectContextIndexMaxSize)
129129
.align(AlignX.FILL).apply {
130130
connect.subscribe(

plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/settings/CodeWhispererSettings.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class CodeWhispererSettings : PersistentStateComponent<CodeWhispererConfiguratio
8787

8888
fun getProjectContextIndexMaxSize(): Int = state.intValue.getOrDefault(
8989
CodeWhispererIntConfigurationType.ProjectContextIndexMaxSize,
90-
200
90+
250
9191
)
9292

9393
fun setProjectContextIndexMaxSize(value: Int) {

0 commit comments

Comments
 (0)