IDEA-314818 Go to Actions takes up to 5 seconds for the first invocation

GitOrigin-RevId: 0620a678a423f2dbd5f81b8e8f34b4162b3b328c
This commit is contained in:
Mikhail Sokolov
2023-10-30 16:21:19 +01:00
committed by intellij-monorepo-bot
parent 4688a3f2f7
commit 8ab13a8d74
7 changed files with 99 additions and 90 deletions

View File

@@ -406,7 +406,7 @@ class GotoActionTest extends LightJavaCodeInsightFixtureTestCase {
}
private def actionMatches(String pattern, AnAction action) {
def matcher = GotoActionItemProvider.buildMatcher(pattern)
def matcher = ActionSearchUtilKt.buildMatcher(pattern)
def model = new GotoActionModel(project, null, null)
model.buildGroupMappings()
return model.actionMatches(pattern, matcher, action)