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

Feature: pair @cond and @endcond commands together as collapsible regions #2

Open
marzer opened this issue May 16, 2023 · 4 comments
Open
Labels
enhancement New feature or request

Comments

@marzer
Copy link

marzer commented May 16, 2023

Firstly, great work! Colourizing the @attention and @warning commands alone is enough for me to make this a regular part of my workflow, let alone all the other great stuff.

Anyways, my feature suggestion: In the past when I've wanted a collapsible region around large amount of code at file scope I've used things like #if 1 / #endif (or #pragma region, but other compilers complain about that). Since I often use doxygen's condition regions in public API's, it'd be nice if those could also be used as the basis for collapsible regions in the VS editor.

@marzer marzer changed the title Feature: pair @cond and @endcont commands together as collapsible regions Feature: pair @cond and @endcond commands together as collapsible regions May 16, 2023
@Sedeniono
Copy link
Owner

I think that is a great idea. I will look into it. Not sure whether it is possible to add additional regions to an existing language. I do hope so, but I learned to expect things to be more difficult than expected when it comes to the VS extension API. Also, no promises on the time frame 😉

@Sedeniono Sedeniono added the enhancement New feature or request label May 17, 2023
@marzer
Copy link
Author

marzer commented May 18, 2023

Thanks for considering it!

@HO-COOH
Copy link

HO-COOH commented Sep 25, 2024

This is such an extraordinary extension that deserve more stars and attention. Thanks a lot for your work @Sedeniono

Regarding to this issue, it seems to be do-able by looking at this doc

@Sedeniono
Copy link
Owner

@HO-COOH thank you for the kind words 😊

I have not forgotten about the collapse regions/outlines, but private life and other projects kept me busy. (I also wanted to update the extension to support the latest Doxygen commands for months now...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants