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

Create default option for lsp pull diagnostics to allow it to be switched on via feature flag #54411

Merged
merged 2 commits into from
Jun 27, 2021

Conversation

dibarbet
Copy link
Member

@dibarbet dibarbet commented Jun 26, 2021

Creating a default option so that we can turn on the option via a feature flag, but still allow users to specifically opt-out (and not override that setting if they do).

@dibarbet dibarbet added Area-IDE LSP issues related to the roslyn language server protocol implementation labels Jun 26, 2021
@dibarbet dibarbet requested a review from a team as a code owner June 26, 2021 04:50
[ExportWorkspaceServiceFactory(typeof(IDiagnosticModeService), ServiceLayer.Host), Shared]
internal class VisualStudioDiagnosticModeServiceFactory : IWorkspaceServiceFactory
[ExportWorkspaceServiceFactory(typeof(IDiagnosticModeService), ServiceLayer.Default), Shared]
internal class DefaultDiagnosticModeServiceFactory : IWorkspaceServiceFactory
Copy link
Member Author

Choose a reason for hiding this comment

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

there didn't seem to be really anything in the vs service that was VS specific, so moving down and making default to allow me to test these code paths.

@dibarbet dibarbet merged commit 457d6e6 into dotnet:main Jun 27, 2021
@dibarbet dibarbet deleted the add_lsp_diagnostics_feature_flag branch June 27, 2021 10:24
@ghost ghost added this to the Next milestone Jun 27, 2021
@RikkiGibson RikkiGibson modified the milestones: Next, 17.0.P2 Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE LSP issues related to the roslyn language server protocol implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants