We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6acba03 + 899b7bf commit 77a272eCopy full SHA for 77a272e
src/Razor/src/Microsoft.VisualStudio.LanguageServices.Razor/LspEditorFeatureDetector.cs
@@ -86,16 +86,7 @@ public bool IsLspEditorEnabled()
86
#pragma warning restore VSTHRD108 // Assert thread affinity unconditionally
87
}
88
89
- var useLegacyEditorEnabled = _lazyLegacyEditorEnabled.GetValue(_disposeTokenSource.Token);
90
-
91
- if (useLegacyEditorEnabled)
92
- {
93
- _activityLog.LogInfo("Using legacy editor because the option was set to true");
94
- return false;
95
- }
96
97
- _activityLog.LogInfo("LSP editor is enabled.");
98
- return true;
+ return !_lazyLegacyEditorEnabled.GetValue(_disposeTokenSource.Token);
99
100
101
/// <inheritdoc/>
0 commit comments