FIR IDE: fix flaky completion test
This commit is contained in:
committed by
TeamCityServer
parent
108176d0b6
commit
fa2f2c34cb
+2
@@ -17,9 +17,11 @@ internal fun InsertionContext.addSymbolAndInvokeCompletion(symbol: String) {
|
||||
|
||||
private fun invokeCompletion(context: InsertionContext) {
|
||||
ApplicationManager.getApplication().invokeLater {
|
||||
if (!context.editor.isDisposed) {
|
||||
CodeCompletionHandlerBase(CompletionType.BASIC, true, false, true)
|
||||
.invokeCompletion(context.project, context.editor)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun addSymbolToCompletion(context: InsertionContext, symbol: String) {
|
||||
|
||||
Reference in New Issue
Block a user