For IntelliJ IDEA and
Android Studio


public void run() { Completion.get().showDocumentation(); } };
public Boolean call() { if (isTaskCancelled()) { return true; } if (javadocBreak.getAndSet(false)) { Completion c = Completion.get(); c.hideDocumentation(); c.showDocumentation(); } return false; } });
@Override public void hyperlinkUpdate(HyperlinkEvent e) { if (e != null && HyperlinkEvent.EventType.ACTIVATED.equals(e.getEventType())) { String desc = e.getDescription(); if (desc != null) { ElementJavadoc link = "***".contentEquals(desc) ? jdoc : jdoc.resolveLink(desc); //NOI18N if (link != null) { JTextComponent comp = EditorRegistry.lastFocusedComponent(); if (comp != null && comp.getDocument() == doc) { ToolTipSupport tts = org.netbeans.editor.Utilities.getEditorUI(comp).getToolTipSupport(); if (tts != null) { tts.setToolTipVisible(false); } } JavaCompletionProvider.JavaCompletionQuery.outerDocumentation.set(new JavaCompletionDoc(link)); Completion.get().showDocumentation(); } } } } });
Completion c = Completion.get(); c.hideDocumentation(); c.showDocumentation();
public void actionPerformed(ActionEvent e) { Completion.get().showDocumentation(); }