ceylon-ide-intellij
ceylon-ide-intellij copied to clipboard
documentation popup in completion list gets stuck fetching documentation
This is pretty minor, but the very first time I pull up the documentation popup from a completion list, I get a window that says "Fetching Documentation...", but never actually fetches it until I change the selection and go back to the original selection.
@gavinking according to the work load we have for releasing at the end of the week, do you agree if we postpone this for 1.3.5 ? ... knowing that, while the annoyance is minor, fixing the bug might involve time to debug and find out exactly what's really happening.
OK.
Thanks !
I did a little debug on this, and in the following function:
function phasedUnit(PsiElement element) {
if (is CeylonFile file = element.containingFile) {
return file.waitForUpToDatePhasedUnit(3, TimeUnit.seconds);
}
return null;
}
element.containingFile is null, that's why we can't show the doc the first time. But, we return a null documentation, so I thought IDEA would give up and say "No documentation found" instead, but apparently that's not what happens...