-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
[FR] Region Support #43
Comments
Gerrnperl
added a commit
that referenced
this issue
Oct 13, 2023
- region and tag symbols - syntax highlight for region and tag symbols - foldingRange for region symbols
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Requests to get regions (manual code folding breakpoints) to show up in the VSCode outline are being ignored. It would be incredible if this plugin implemented this instead.
For the large python scripts I work on, for example, I have lots of symbols being defined and sections I am trying to refactor, but aren't yet refactored into their own functions. While I work on that, being able to add
#region Code Does This
and#endregion
around certain blocks can help me separate steps.In Outline Map, it would be awesome if those regions showed up in the outline underneath the function they are a part of, and the symbols within that region showed up as symbols underneath the region. Additionally, regions within regions would be underneath their parent regions.
I'm not sure how to handle regions people put that start in one context and end in another (like start before a function and end within that function), maybe by default the region becomes the parent since it began above the function it ends in? That will have to be something we think about, but for a first attempt, just showing regions in the outline map would be incredible.
The text was updated successfully, but these errors were encountered: