Community
Participate
Working Groups
Build ID: 3.3M5 Steps To Reproduce: 1. 2. 3. More information: The code assist of the JDT shows the documentation of an element in the code assist window. Having something like this for C++ and Doxygen saves quite a lot of work of location the documentation.
A very simple approach that came to my mind: just show the comments of the proposed elements. This would help already quite a lot, but would possibly require much less work.
the comment from Jens Elmenthaler is like he already states, only a workaround. i also think being able to add documentation that would be shown in the content assist would great just like it is being done with Java or in Visual Studio. Even more now with the better integration of doxygen to CDT 5.0. Additionally this once already was implemented to some point wasnt it? please take a look at http://www.eclipsecon.org/2004/EclipseCon_2004_TechnicalTrackPresentations/eclipsecon_marineau_cdt_presentation.pdf where one can see content assist. I am a bit disappointed at the lack of documentation if and how it it is possible to add documentation to Eclipse (CDT?). If in Eclipse you go to Window > Preferences > Help > Content this looks like a point where external help can be put inside, but i did not find any documentation how this can be used or if it is working. So if this is possible to set up, users would need a document explaining how to set it up. If not, I also think it should be implemented. NOTE: i think this is closely related to Bug 176925
*** Bug 330301 has been marked as a duplicate of this bug. ***
I just came across this limitation of the CDT. Was there any progress on this issue till 2007?
*** Bug 251050 has been marked as a duplicate of this bug. ***
I'm a bit confused about what's being asked here: - The title of this bug talks about content assist. I tested content assist in JDT, invoking it and selecting a proposal, and at no point did I see documentation. So I'm confused about what JDT functionality is being asked for here. Could someone give a more detailed description, or a screenshot? - Bug 251050, which was marked as a duplicate, talks about hovers, which is a different thing from content assist. I checked the behaviour of hovers in CDT for a call to a function which has Doxygen documentation, and I see we already show the Doxygen comment in the hover. If something more is being asked for w.r.t. hovers, could someone clarify what? Thanks, and sorry if I'm being dense.
Created attachment 252043 [details] Content assist with javadoc on the side (In reply to Nathan Ridge from comment #6) > I'm a bit confused about what's being asked here: > So I'm confused about what JDT functionality is > being asked for here. Could someone give a more > detailed description, or a screenshot? I attached a screenshot of the javadoc in content assist. I think this is what this bug is asking for. Also, in a hover, it could display something similar (html-like display). That could be the default hover when not debugging. In JDT you have to hold shift to get the source hover.
(In reply to Marc-Andre Laperle from comment #7) > Created attachment 252043 [details] > Content assist with javadoc on the side > > (In reply to Nathan Ridge from comment #6) > > I'm a bit confused about what's being asked here: > > So I'm confused about what JDT functionality is > > being asked for here. Could someone give a more > > detailed description, or a screenshot? > > I attached a screenshot of the javadoc in content assist. I think this is > what this bug is asking for. Also, in a hover, it could display something > similar (html-like display). That could be the default hover when not > debugging. In JDT you have to hold shift to get the source hover. Thanks! (The reason I wasn't seeing this is because the documentation window overflowed past the edge of my screen, heh.)