|
|
Re: javadoc view on jsp/html files [message #731202 is a reply to message #731159] |
Fri, 30 September 2011 09:02 |
Cristian Messages: 2 Registered: September 2011 |
Junior Member |
|
|
Hi Dani,
I don't understand you answer, maybe I don't explain it well (I'm not English).
I'm editing a JSP file on my project (HTML mixed with server side java commands, the <% %> tags. Inside these tags I can use java commands, instantiate java classes (my own or standard ones), etc.
What I'm saying is that, the tooltip popup window provides help for the current command where the mouse cursor is, but is unformatted and difficult to understand.
By pressing Ctrl+Space I can also see the available functions for a determined class instance with a mini javadoc popup window for the selected command, but is a very small window.
What I'm asking is why the .jsp files are not linked with the Javadoc view, like when I'm editing a .java file, where I can see the javadoc info for the command where the cursor is.
Thanks by the way.
|
|
|
Re: javadoc view on jsp/html files [message #731255 is a reply to message #731202] |
Fri, 30 September 2011 11:52 |
Dani Megert Messages: 3802 Registered: July 2009 |
Senior Member |
|
|
On 30.09.2011 11:02, Cristian wrote:
> Hi Dani,
>
> I don't understand you answer, maybe I don't explain it well (I'm not
> English).
>
> I'm editing a JSP file on my project (HTML mixed with server side java
> commands, the <% %> tags. Inside these tags I can use java commands,
> instantiate java classes (my own or standard ones), etc.
>
> What I'm saying is that, the tooltip popup window provides help for
> the current command where the mouse cursor is, but is unformatted and
> difficult to understand.
You should file a bug report for that.
> By pressing Ctrl+Space I can also see the available functions for a
> determined class instance with a mini javadoc popup window for the
> selected command, but is a very small window.
If this is using the standard infrastructure and working as expected
then you should be able to do the following:
1. Make the first window (which comes after Ctrl+Space) bigger. The info
popup will then also be bigger
2. If you give the focus to the first window (e.g. by pressing Tab),
then another Tab should give the focus to the info popup, allowing you
to re-size it.
>
> What I'm asking is why the .jsp files are not linked with the Javadoc
> view, like when I'm editing a .java file, where I can see the javadoc
> info for the command where the cursor is.
I know, but as said, the stuff you see is not Javadoc, hence it does not
belong into the Javadoc view.
Dani
>
> Thanks by the way.
>
|
|
|
Re: javadoc view on jsp/html files [message #735106 is a reply to message #731255] |
Mon, 10 October 2011 23:32 |
|
In technical terms, the JSP Editor tells the surrounding Views what DOM Objects are selected. This works well for the JSP Editor, but it's not granular enough to decide what JavaDoc to show.
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
|
Powered by
FUDForum. Page generated in 0.03482 seconds