10 references to LspOptionsStorage
Microsoft.CodeAnalysis.LanguageServer.Protocol (10)
Handler\CodeLens\CodeLensHandler.cs (3)
48
var referencesCodeLensEnabled = _globalOptionService.GetOption(
LspOptionsStorage
.LspEnableReferencesCodeLens, document.Project.Language);
49
var testsCodeLensEnabled = _globalOptionService.GetOption(
LspOptionsStorage
.LspEnableTestsCodeLens, document.Project.Language);
73
if (!_globalOptionService.GetOption(
LspOptionsStorage
.LspUsingDevkitFeatures) && testsCodeLensEnabled)
Handler\CodeLens\CodeLensRefreshQueue.cs (2)
43
if (e.HasOption(static option => option.Equals(
LspOptionsStorage
.LspEnableReferencesCodeLens) || option.Equals(
LspOptionsStorage
.LspEnableTestsCodeLens)))
Handler\Completion\CompletionHandler.cs (1)
81
var completionListMaxSize = globalOptions.GetOption(
LspOptionsStorage
.MaxCompletionListSize);
Handler\Configuration\DidChangeConfigurationNotificationHandler_OptionList.cs (3)
55
LspOptionsStorage
.LspEnableReferencesCodeLens,
56
LspOptionsStorage
.LspEnableTestsCodeLens,
57
LspOptionsStorage
.LspEnableAutoInsert,
Handler\OnAutoInsert\OnAutoInsertHandler.cs (1)
53
var onAutoInsertEnabled = _globalOptions.GetOption(
LspOptionsStorage
.LspEnableAutoInsert, document.Project.Language);