Skip to content

Commit 867badf

Browse files
darthorimarintellij-monorepo-bot
authored andcommitted
[lsp] fix the annoying "multiverse is disabled" message
It's printed on every typing as in LSP we create a new project on every request/every typing ^LSP-202 fixed GitOrigin-RevId: c0d72eb00f33fb184e0d12dc79074396ea51f74d
1 parent b6470a8 commit 867badf

File tree

1 file changed

+1
-0
lines changed
  • kotlin-lsp/src/com/jetbrains/ls/kotlinLsp/logging

1 file changed

+1
-0
lines changed

kotlin-lsp/src/com/jetbrains/ls/kotlinLsp/logging/logging.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import java.time.ZoneId
1515
fun initKotlinLspLogger(writeToStdOut: Boolean) {
1616
Logger.setFactory(KotlinLspLoggerFactory(writeToStdOut))
1717
com.intellij.serviceContainer.checkServiceFromWriteAccess = false
18+
com.intellij.codeInsight.multiverse.logMultiverseState = false
1819
}
1920

2021
private class KotlinLspLoggerFactory(private val writeToStdOut: Boolean) : Logger.Factory {

0 commit comments

Comments
 (0)