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
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -139,7 +139,7 @@ class ProjectContextProvider(val project: Project, private val encoderServer: En
139
139
val indexStartTime =System.currentTimeMillis()
140
140
val filesResult = collectFiles()
141
141
if (filesResult.files.isEmpty()) {
142
-
logger.warn {"No file found in workspace"}
142
+
logger.warn {"No file found in workspace"}
143
143
returnfalse
144
144
}
145
145
var duration = (System.currentTimeMillis() - indexStartTime).toDouble()
@@ -314,7 +314,7 @@ class ProjectContextProvider(val project: Project, private val encoderServer: En
314
314
logger.info { "sending message: ${msgType.endpoint} to lsp on port ${encoderServer.port}" }
315
315
val url =URL("http://localhost:${encoderServer.port}/${msgType.endpoint}")
316
316
if (!encoderServer.isNodeProcessRunning()) {
317
-
logger.warn {"language server is not running"}
317
+
logger.warn {"language server is not running"}
318
318
returnnull
319
319
}
320
320
// use 1h as timeout for index, 5 seconds for other APIs
0 commit comments