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

Notify user when max folds exceeded, make max folds configurable. #140480

Merged
merged 1 commit into from
Jan 11, 2022

Conversation

PieterBranderhorst
Copy link
Contributor

This PR fixes #72994

The changes can be tested by using any file with say 100 or more foldable regions and changing the new "Folding Maximum Regions" configuration value.

They should be tested separately with an extension folding range provider (e.g. typescript) and the indent based built-in provider (e.g. using plaintext.)

Copy link
Contributor

@aeschli aeschli left a comment

Choose a reason for hiding this comment

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

Looks great! Nice job, thanks a lot!

@aeschli aeschli merged commit 9931bae into microsoft:main Jan 11, 2022
@aeschli
Copy link
Contributor

aeschli commented Jan 11, 2022

Thanks a lot @PieterBranderhorst !

@PieterBranderhorst
Copy link
Contributor Author

Thank you Martin! I'm glad my changes met your standards.

@github-actions github-actions bot locked and limited conversation to collaborators Feb 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[folding] make max folding region limit configurable
2 participants