Community
Participate
Working Groups
It would be very useful if it would be possible to use the doxygen tags for the editor hover functionality (text hover name Documentation) just like it is implemented for javadoc. Generally, doxygen comments for functions are added in the declaration for public functions (e.g. in the header file) and in the implementation for static functions (in the source file). If it's possible it would be great if the documentation engine should be aware of the doxygen comments even if only added on the declaration.
I second this request.
Doxygen syntax is very similar to javadoc's so I think the javadoc module for eclipse could be a good place to start. It would be very interesting if cdt has a documentation integration as javadoc for Java ...
I'm surprised this is not already in CDT, it seems so logical. Is there any way to extend CDT to make this possible?
I added the keyword "helpwanted". In contrast to Java, there is not the one and only documentation system for C/C++, which makes tooling support much more difficult.
Couldn't this be merged with bug 180141?
(In reply to comment #5) > Couldn't this be merged with bug 180141? Yes. Seems like the same thing.
*** This bug has been marked as a duplicate of bug 180141 ***
I think it would make sense to track this separately from bug 180141; that concerns content assist, while this concerns hovers.
*** Bug 464440 has been marked as a duplicate of this bug. ***
Reopening per comment 8.
Created attachment 274456 [details] Custom plug-in with additional hover "declaration" In my opinion it's not a bug when the hover called "source" prefers to show the source definition. Therefore we created a plug-in that adds an hover called "declaration". This hover is a clone of the CDT "source" hover, that preferes to show the declaration. The new hover supports less elements than the "source" hover. The "source" hover should not be deactivated to get full hover support for all selectable elements. I've added this FYI. PS: There are some dependencies to internal CDT8 classes.
(In reply to Harald from comment #11) > This hover is a clone of the CDT "source" hover, that > preferes to show the declaration. Are you interested in contributing this functionality to CDT?
(In reply to Nathan Ridge from comment #12) > > Are you interested in contributing this functionality to CDT? That would be a new experience for me. As I am on vacation for the next few weeks, I will return to this topic in August. This would give others the chance to comment on the solution.