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

Allow resultReporter to be substituted in provideWorkspaceDiagnostics middleware. #1561

Merged

Conversation

JoeRobich
Copy link
Member

By not accepting a resultReporter parameter in provideDiagnostics the provideWorkspaceDiagnostics middleware always used the reporter it was initially passed. This means that diagnostics are always reported without the ability to manipulate them first.

@JoeRobich
Copy link
Member Author

@dbaeumer You were suggested as someone who might could review this. We are looking at allowing C# users to optionally turn information diagnostics into hint diagnostics and this is blocking us.

@dbaeumer
Copy link
Member

@JoeRobich great catch.

@vs-code-engineering vs-code-engineering bot added this to the September 2024 milestone Sep 27, 2024
@dbaeumer dbaeumer merged commit 1f624bd into microsoft:main Sep 30, 2024
2 checks passed
@JoeRobich
Copy link
Member Author

@dbaeumer Would it be possible to get a new .next release with this change in it?

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.

3 participants