go to action: get rid of goto.action.skip.tophits.and.options property

also, reorder search a bit: search through top hits before processing intentions and options, due to long search for configurables, see IDEA-225060

GitOrigin-RevId: 9ef45afda9d9b06afc263971521a1f9ef01b7e89
This commit is contained in:
Sergey Ignatov
2019-10-21 14:08:32 +00:00
committed by intellij-monorepo-bot
parent 09fbe28590
commit 76eb09e24b
2 changed files with 1 additions and 6 deletions
@@ -17,7 +17,6 @@ import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.progress.ProgressIndicator;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.NotNullLazyValue;
import com.intellij.openapi.util.registry.Registry;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.psi.codeStyle.NameUtil;
import com.intellij.psi.codeStyle.WordPrefixMatcher;
@@ -72,9 +71,8 @@ public class GotoActionItemProvider implements ChooseByNameItemProvider {
if (!processAbbreviations(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 (!processIntentions(pattern, consumer, dataContext)) return false;
if (!processOptions(pattern, consumer, dataContext)) return false;
return true;
@@ -1596,9 +1596,6 @@ file.system.trace.loading=/proc/cpuinfo
file.system.trace.loading.description=Semicolon-separated paths that should not be loaded into IDE's file system. Their loading stack traces will be logged
file.system.trace.loading.restartRequired=true
goto.action.skip.tophits.and.options=false
goto.action.skip.tophits.and.options.description=Skip top hits and options in go to action
ssr.use.regexp.to.specify.type=false
ssr.use.regexp.to.specify.type.description=Revert back to using regexp to specify expression types
ssr.template.from.selection.builder=false