-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Support in/out parameter tags #533
Comments
…-param-tags feat(c,cpp): add in-out direction docblock param jumps (closes #533)
Hi! This is something I haven't noticed myself, but this is a good suggestion to improve overall documentation. I've implemented this for C and C++ when using doxygen. I've made it into a jumpable TODO like so:
This way, developers can always add it or remove it. In the end, it would be better to specify it as much as possible, hence I've made included it in the default docblock being generated. Side note: I see that you do use |
This feature has been merged and released in v3.20.0. Feel free to submit any new issues if you experience any unwanted behaviour in the future. Thanks for your contribution. |
Very nice, since I always use them this works just fine for me. I was wondering though if some people might not like it and then hit del to remove the TODO:direction part but then are left with empty [] ... They might want those to vanish then too... Not sure if its possible to implement there... ( I know ultisnips supports something similar, which is why I had the idea that someone in the future might want it easier to remove the empty [] ) |
Doxygen supports in/out tags for parameters like
This could be activated with an option and each in/out could be a point to be cycled through with tabs. The defaults at least for C++ could depend on whether the parameter is a non-const ref or pointer.
The text was updated successfully, but these errors were encountered: