Community
Participate
Working Groups
At migration from M5 to M6, popup Javadoc viewing for JRE stopped functioning. No settings were changed, apart from the obvious per-jar Javadoc settings new to M6. Inline javadocs in project files function correctly at all times, and so do JRE docs when launched via Shift+F2. Changing Javadoc URLs to local files solves nothing. They still work with Shift+F2 and not at all in the popup viewer.
This works for me using I20050420-1200. Having the cursor in asList in Arrays.asList and pressing Shift+F2 takes me to the correct Javadoc. Any steps to reproduce.
Using JRE 1.5.0b2 and using default jar settings. Indeed, Shift+F2 opens correct javadocs in an external browser (MSIE here). When the F2 popup is shown, it briefly flashes with the Internet Explorer black-on-white error page, before being replaced with a blank declaration.
F2 is editor hover pop-up. Moving...
To summarize (assume caret is inside type T or method m): - pressing Ctrl+F2 opens Javadoc in external browser - when hovering with mouse over T or m it shows Javadoc in hover - pressing F2 opens shell with IE but has no content correct? - anything in .log? - what happens if you press F2 while hover is already shown? - please open the Javadoc view and click into T or m: does the Javadoc view show the Javadoc and if so, is it showing in the Browser widget (IE) or in a text widget? (if you don't know, open the type Pattern: if you see links inside the Javadoc view it's using the Browser widget).
- pressing Ctrl+F2 opens Javadoc in external browser Negative, Ctrl+F2 does nothing. Shift+F2 opens Javadoc in external browser. - when hovering with mouse over T or m it shows Javadoc in hover Negative. The hover appears, but with the declaration only. ( http://maxxx.is-a- geek.org/popup_hover.png ) - pressing F2 opens shell with IE but has no content First it opens a "cancelled" IE window ( http://maxxx.is-a- geek.org/popup_cancelled.png - the message is Polish "Action cancelled. Internet Explorer could not access the requested page" ) for a fraction of a second. Then, a "blank" Javadoc is displayed ( http://maxxx.is-a- geek.org/popup_f2.png ). - anything in .log? No .log files in configuration/ so far. - what happens if you press F2 while hover is already shown? The same what happens if I press it without waiting for the popup. - please open the Javadoc view and click into T or m: does the Javadoc view show the Javadoc and if so, is it showing in the Browser widget (IE) or in a text widget? The Javadoc does not react - this is the same behaviour as placing the caret in anything that doesn't have a Javadoc defined. HOWEVER, all JRE Javadocs now show correctly after I have attached the JRE source. Are Javadoc popups supposed to work only with the full source available? Anyway, the links are active, which I believe answers your last question. Still, there is another problem: the Pattern doc now shows correctly, with links - but clicking "line terminators" (the first link in this doc) results in a "blank#lt" page. Has the IE window been started with "blank" as the page, only has had its contents replaced with a Javadoc, and then a "#lt" anchor jumps confuses the browser? Just a wild guess. Also, afterwards, hitting Alt+Left (Back) makes the IE popup return to "action cancelled", instead of the Javadoc it was displaying. It also returns to "action cancelled" when going Back after successfully displaying the O'Reilly book page (last link in Pattern).
>HOWEVER, all JRE Javadocs now show correctly after I have attached the JRE >source. Are Javadoc popups supposed to work only with the full source available? Correct (there's a feature request to change this). Did the source got lost while switching an existing workspace from M5 to M6 or did you add a new JRE which had no source? Ctrl+F2: my bad, I meant Shift+F2 Your Javadoc view findings are correct, there are bugs for those.
Get rid of deprecated state.
.