Skip to content
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 multiple options for comment trigger sequences #332

Open
davidavetyan opened this issue Dec 28, 2023 · 1 comment
Open

Support multiple options for comment trigger sequences #332

davidavetyan opened this issue Dec 28, 2023 · 1 comment

Comments

@davidavetyan
Copy link

Is your feature request related to a problem? Please describe.
When working on multiple projects that have different doxygen comment styles, I have to change the trigger sequence and first line settings each time to match the current style.

Describe the solution you'd like
Currently the doxdocgen.c.triggerSequence setting can have only one value. Please change it to accept an array of values, like so:
"doxdocgen.c.triggerSequence": [ "/**", "/*!", "///", "//!" ].
Also please define the default (empty) value of doxdocgen.c.firstLine to mean "match the trigger sequence".

@samkusin
Copy link

This would be very useful as I have both C and C++ code in my project, and C++ code often treats the /// prefix for block documentation comments and ///< for single line documentation (while C code often uses the "older" style which is the default for this plugin.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants