mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[rider]: allow to disable autopopup quick doc for Rider lookup items
This commit is contained in:
@@ -140,7 +140,7 @@ public class LookupManagerImpl extends LookupManager {
|
||||
if (myActiveLookup != lookup) return;
|
||||
|
||||
LookupElement currentItem = lookup.getCurrentItem();
|
||||
if (currentItem != null && currentItem.isValid()) {
|
||||
if (currentItem != null && currentItem.isValid() && isAutoPopupJavadocSupportedBy(currentItem)) {
|
||||
final CompletionProcess completion = CompletionService.getCompletionService().getCurrentCompletion();
|
||||
if (completion != null && !completion.isAutopopupCompletion()) {
|
||||
try {
|
||||
@@ -208,6 +208,10 @@ public class LookupManagerImpl extends LookupManager {
|
||||
return lookup;
|
||||
}
|
||||
|
||||
protected boolean isAutoPopupJavadocSupportedBy(LookupElement lookupItem) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
protected LookupImpl createLookup(@NotNull Editor editor, @NotNull LookupArranger arranger, Project project) {
|
||||
return new LookupImpl(project, editor, arranger);
|
||||
|
||||
Reference in New Issue
Block a user