IDEA-225060 First "Go to action" is too long

process actions before intentions processing

GitOrigin-RevId: d8144795c4ece51588f770a95395fc0f244a071f
This commit is contained in:
Sergey Ignatov
2019-10-21 14:08:32 +00:00
committed by intellij-monorepo-bot
parent 05e137b685
commit 09fbe28590
@@ -71,8 +71,8 @@ public class GotoActionItemProvider implements ChooseByNameItemProvider {
DataContext dataContext = DataManager.getInstance().getDataContext(myModel.getContextComponent());
if (!processAbbreviations(pattern, consumer, dataContext)) return false;
if (!processIntentions(pattern, consumer, dataContext)) return false;
if (!processActions(pattern, consumer, dataContext)) return false;
if (!processIntentions(pattern, consumer, dataContext)) return false;
if (Registry.is("goto.action.skip.tophits.and.options")) return true;
if (!processTopHits(pattern, consumer, dataContext)) return false;
if (!processOptions(pattern, consumer, dataContext)) return false;