mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
more diagnostics
This commit is contained in:
+6
@@ -279,11 +279,17 @@ public class CodeCompletionHandlerBase implements CodeInsightActionHandler {
|
||||
|
||||
if (freezeSemaphore.waitFor(2000)) {
|
||||
final LookupElement[] allItems = data.get();
|
||||
if (CompletionAutoPopupHandler.ourTestingAutopopup) {
|
||||
System.out.println("allItems = " + allItems);
|
||||
}
|
||||
if (allItems != null) { // the completion is really finished, now we may auto-insert or show lookup
|
||||
completionFinished(initContext.getStartOffset(), initContext.getSelectionEndOffset(), indicator, allItems);
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (CompletionAutoPopupHandler.ourTestingAutopopup) {
|
||||
System.out.println("backgrounded");
|
||||
}
|
||||
|
||||
indicator.notifyBackgrounded();
|
||||
indicator.showLookup();
|
||||
|
||||
Reference in New Issue
Block a user