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

Include Region blocks in code folding #1748

Merged
merged 5 commits into from
Mar 27, 2020

Conversation

JoeRobich
Copy link
Member

For Roslyn to tag Region blocks, options in BlockStructureOptions need to be set to true. We also need to convert from the type PreprocessorRegion to Region in the BlockStructureService.

Resolves dotnet/vscode-csharp#2621

Copy link
Member

@filipw filipw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks I just had one nitpick

@JoeRobich JoeRobich merged commit 60883d1 into OmniSharp:master Mar 27, 2020
@JoeRobich JoeRobich deleted the support-region-blocks branch March 27, 2020 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fold All Regions feature doesn't work
2 participants