-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request — Support for doxygen Documentation #658
Comments
Adding my vote to this one. Doxygen would be very useful and I'd hope for it being as robust as the JsDoc implementation. |
I would also really like to see this feature implemented. Doxygen support for C++ is the one feature that's really feels missing coming over from Atom. |
I fourth that.. had to go back to Eclipse to generate some of them docs |
I also feel that adding Doxygen support in VS code would be very beneficial ! |
The lack of Doxygen block generation is the only thing stopping me to leave Sublime. I need to have something like DocBlockr. |
I'd like to have something like DoxyDoxygen in Sublime to generate comment by Alt+Q |
ADDITIONALLY:
I don't know what from that could be done by a plugin. |
Any update on that feature request? Thanks! |
@rei-vilo Comments attached to variables are part of our ongoing work of porting code from VS. If you're asking for doxygen support that don't exist in VS code itself, then that would not something we currently have plans to add. |
Good to know, thank you for the feed-back. |
Definitely want! I hope this can come soon, |
+1 This was my favorite feature of Visual Studio and Visual Assist: https://docs.wholetomato.com/default.asp?W206 |
👍 |
I just want to bump and say this would be really helpful as documenting code without Doxygen just feels awkward, to be honest. I'll have my friend learn the VSCode API just to try and implement something like requested ;) |
Do we have any updates on this? |
@rainaby No updates. We haven't done any work on this feature and it's not on our schedule yet. |
Couldn't this be a simple extension? |
I tried and no it is not really. We're missing features from the language server. The Typescript server has the necessary information but the C/C++ one doesn't. If the information would be available it would be super eayy. I'm really interested in this and the only way right now to do it would be to do some form of heuristic analysis on the source code (essentially reimplementing the whole Doxygen engine and keeping a seperate data base like intellisense) which is quite error prone. |
Is there a hack for now to get to work? Like using 2 different plugins to get it to work? |
+1 Please have it support syntax highlighting inside of the Doxygen comments. ❤️ VS ode PS: Consider adding an extension-request-tag or something like that to this issue, in case you aren't interested in implementing this functionality natively. |
@Bernd-L I am using an alternative syntax parser (Reloaded C/C++ with Reloaded Themes), hope it usable. |
@LeThiHyVong Yes, I've been using it too, however, it still lacks Doxygen-command auto-completion (=IntelliSense). Also, it can't display a popover-like bubble with the documentation of a method. (or something else). The functionality described above really needs to be implemented into the Microsoft C++ plugin. |
If you would like for the C/C++ extension to also generate stub Doxygen comments, please upvote the "Feature request - Doxygen stub generation" at #5683. Votes on features will help determine a feature's priority against other features or work items. |
Doxygen comment support in hover, signature help, and completion is available now with https://github.com/microsoft/vscode-cpptools/releases/tag/0.29.0-insiders . |
Works awesome so far! I'm now spending an evening documenting my code... any plan to add support for @tparam (template parameters) though? |
Great! Minor detail, our code-base uses the Qt-Style exclamation mark docblocks ( |
Fantastic! Another small detail - documentation block after members show |
The work to support @tparam is in progress. |
The work to support Qt-Style exclamation mark |
We have configured Doxygen to use |
@Boddlnagg , I created a new issue for your feature request at #5700 |
@ebinans , I created a new issue for your feature request at #5701 |
Is it possible to leave the commands that are not being converted? We use \note, \pre, and \post. The current behavior is that they don't show up in the tool tip at all. |
We sometimes use the |
Looks great! Just one little detail. We trim trailing whitespace in our source files, so if a doxy-comment is split in two lines then there is no space between the last word on the first line and the first word on the second line.
becomes |
@carlolars What's the repro for that space issue? I'm not reproing it. |
It happens for functions if it has
|
@carlolars @sean-mcmanus Edit: |
Only doxygen comments above function definition are parsed and shown over tooltip. Comments above function declaration are ignored. Is there any setting which decides this? |
Moved from microsoft/vscode#25231
From @rei-vilo
Doxygen provides a very nice way of adding documentation to the code thanks to keywords.
Some IDEs support Doxygen natively and display the documentation related to the function being typed in.
The text was updated successfully, but these errors were encountered: