You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/project/ProjectContextProvider.kt
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -108,11 +108,9 @@ class ProjectContextProvider(val project: Project, private val encoderServer: En
108
108
if (isInitSuccess) {
109
109
logger.info { "project context index starting" }
110
110
delay(300)
111
-
if (CodeWhispererSettings.getInstance().isProjectContextEnabled()) {
112
-
val isIndexSuccess = index()
113
-
if (isIndexSuccess) isIndexComplete.set(true)
114
-
return@launch
115
-
}
111
+
val isIndexSuccess = index()
112
+
if (isIndexSuccess) isIndexComplete.set(true)
113
+
return@launch
116
114
}
117
115
} catch (e:Exception) {
118
116
if (e.stackTraceToString().contains("Connection refused")) {
0 commit comments