mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
introduce goto.action.skip.tophits.and.options registry option
allow to disable slow top hit and options providers right now they create some swing UI for collecting checkboxes ;–(
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -30,6 +30,7 @@ import com.intellij.openapi.progress.ProgressManager;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.util.Condition;
|
||||
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.MinusculeMatcher;
|
||||
import com.intellij.psi.codeStyle.NameUtil;
|
||||
@@ -80,6 +81,7 @@ public class GotoActionItemProvider implements ChooseByNameItemProvider {
|
||||
if (!processAbbreviations(pattern, consumer, dataContext)) return false;
|
||||
if (!processIntentions(pattern, consumer, dataContext)) return false;
|
||||
if (!processActions(pattern, everywhere, 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;
|
||||
|
||||
|
||||
@@ -1145,4 +1145,7 @@ JavaScript.Language.Service.truncate.traced.messages.description=Truncate traced
|
||||
runManager.use.schemeManager=false
|
||||
vfs.use.nio-based.local.refresh.worker=false
|
||||
ESLint.Language.Service.full.log=false
|
||||
ESLint.Language.Service.full.log.description=ESLint: include source code fragments with errors info language service messages
|
||||
ESLint.Language.Service.full.log.description=ESLint: include source code fragments with errors info language service messages
|
||||
|
||||
goto.action.skip.tophits.and.options=false
|
||||
goto.action.skip.tophits.and.options.description=Skip top hits and options in go to action
|
||||
Reference in New Issue
Block a user