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

Add fine-grained control for scrollbar diagnostics #22364

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AaronFeickert
Copy link
Contributor

@AaronFeickert AaronFeickert commented Dec 23, 2024

This PR adds a scrollbar diagnostic level setting to provide fine-grained control over which indicators to show, based on severity level. This allows the user to hide lower-severity diagnostics that can otherwise clutter the scrollbar (for example, unused or disabled code).

Closes #22296.

Release Notes:

  • Added fine-grained control of scrollbar diagnostic indicators.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Dec 23, 2024
@mikayla-maki
Copy link
Contributor

Could we make this setting backwards compatible? Accept both true/false and the enum?

@AaronFeickert
Copy link
Contributor Author

AaronFeickert commented Dec 23, 2024

@mikayla-maki: I was hoping to do that and tried using deserialization aliasing, but couldn't figure it out. Any thoughts on how?

@AaronFeickert AaronFeickert force-pushed the scrollbar-diagnostic-level branch 2 times, most recently from 4f1f668 to 6880a3b Compare December 26, 2024 17:55
@AaronFeickert
Copy link
Contributor Author

@mikayla-maki: this has been updated to make the diagnostic level setting separate, in order to avoid a breaking change.

@AaronFeickert AaronFeickert force-pushed the scrollbar-diagnostic-level branch from 6880a3b to 40c30a9 Compare December 27, 2024 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow configuration of diagnostic severity to show in scrollbar
2 participants