104 references to Option2
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
CompleteStatement\CompleteStatementOptionsStorage.cs (1)
11
public static readonly Option2<bool> AutomaticallyCompleteStatementOnSemicolon =
new
("csharp_complete_statement_on_semicolon", defaultValue: true);
SplitStringLiteral\SplitStringLiteralOptionsStorage.cs (1)
11
public static Option2<bool> Enabled =
new
("csharp_split_string_literal_on_return", defaultValue: true);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CSharpFormattingOptions2.cs (1)
72
var option = new
Option2
<T>(name, defaultValue, group, LanguageNames.CSharp, isEditorConfigOption: true, serializer: serializer);
Microsoft.CodeAnalysis.EditorFeatures (37)
AutomaticCompletion\AutomaticLineEnderOptionsStorage.cs (1)
11
public static readonly Option2<bool> AutomaticLineEnder =
new
("dotnet_enable_automatic_line_ender", defaultValue: true);
BraceMatching\BraceMatchingOptionsStorage.cs (1)
11
public static readonly Option2<bool> BraceMatching =
new
("dotnet_enable_brace_matching", defaultValue: true);
Classification\Semantic\SemanticColorizerOptionsStorage.cs (1)
11
public static readonly Option2<bool> SemanticColorizer =
new
("dotnet_enable_semantic_colorizer", defaultValue: true);
Classification\Syntactic\SyntacticColorizerOptionsStorage.cs (1)
11
public static readonly Option2<bool> SyntacticColorizer =
new
("dotnet_enable_syntactic_colorizer", defaultValue: true);
Diagnostics\AbstractPushOrPullDiagnosticsTaggerProvider.cs (1)
21
public static readonly Option2<bool> PullDiagnosticTagging =
new
(
Diagnostics\DiagnosticsOptionsStorage.cs (2)
11
public static readonly Option2<bool> Classification =
new
("dotnet_enable_classification", defaultValue: true);
13
public static readonly Option2<bool> Squiggles =
new
("dotnet_enable_squiggles", defaultValue: true);
EventHookup\EventHookupOptionsStorage.cs (1)
11
public static readonly Option2<bool> EventHookup =
new
("dotnet_enable_event_hook_up", defaultValue: true);
Formatting\FormattingOptionsStorage.cs (1)
14
public static readonly Option2<bool> FormatOnSave =
new
("dotnet_format_on_save", defaultValue: true);
InheritanceMargin\InheritanceMarginOptionsStorage.cs (1)
13
public static readonly Option2<bool> InheritanceMarginCombinedWithIndicatorMargin =
new
("dotnet_combine_inheritance_and_indicator_margins", defaultValue: false);
InlineHints\InlineHintsGlobalStateOption.cs (1)
18
new
("InlineHintsOptions_DisplayAllOverride", defaultValue: false);
InlineRename\InlineRenameSessionOptionsStorage.cs (6)
11
public static readonly Option2<bool> RenameOverloads =
new
("dotnet_rename_overloads", defaultValue: false);
12
public static readonly Option2<bool> RenameInStrings =
new
("dotnet_rename_in_strings", defaultValue: false);
13
public static readonly Option2<bool> RenameInComments =
new
("dotnet_rename_in_comments", defaultValue: false);
14
public static readonly Option2<bool> RenameFile =
new
("dotnet_rename_file", defaultValue: true);
15
public static readonly Option2<bool> PreviewChanges =
new
("dotnet_preview_inline_rename_changes", defaultValue: false);
16
public static readonly Option2<bool> RenameAsynchronously =
new
("dotnet_rename_asynchronously", defaultValue: true);
InlineRename\InlineRenameUIOptionsStorage.cs (2)
11
public static readonly Option2<bool> UseInlineAdornment =
new
("dotnet_rename_use_inline_adornment", defaultValue: true);
12
public static readonly Option2<bool> CollapseUI =
new
("dotnet_collapse_inline_rename_ui", defaultValue: false);
Logging\FunctionIdOptions.cs (1)
36
return
new
("FunctionIdOptions_" + name, defaultValue: false);
Options\ExtensionManagerOptions.cs (1)
12
public static readonly Option2<bool> DisableCrashingExtensions =
new
("ExtensionManagerOptions_DisableCrashingExtensions", defaultValue: true);
Options\LegacyGlobalOptionsWorkspaceService.cs (1)
22
private static readonly Option2<bool> s_generateOverridesOption =
new
(
Remote\RemoteHostOptionsStorage.cs (3)
12
public static readonly Option2<bool> OOP64Bit =
new
("dotnet_code_analysis_in_separate_process", defaultValue: true);
14
public static readonly Option2<bool> OOPServerGCFeatureFlag =
new
("dotnet_enable_server_garbage_collection_in_code_analysis_process", defaultValue: false);
17
public static readonly Option2<bool> OOPCoreClrFeatureFlag =
new
("dotnet_enable_core_clr_in_code_analysis_process", defaultValue: false);
RenameTracking\RenameTrackingOptionsStorage.cs (1)
11
public static readonly Option2<bool> RenameTracking =
new
("dotnet_enable_rename_tracking", defaultValue: true);
Shared\Options\ComponentOnOffOptions.cs (3)
14
public static readonly Option2<bool> Adornment =
new
("dotnet_enable_editor_adornment", defaultValue: true);
15
public static readonly Option2<bool> Tagger =
new
("dotnet_enable_editor_tagger", defaultValue: true);
16
public static readonly Option2<bool> CodeRefactorings =
new
("dotnet_enable_code_refactorings", defaultValue: true);
Shared\Options\FeatureOnOffOptions.cs (4)
27
public static readonly Option2<bool> NavigateAsynchronously =
new
("dotnet_navigate_asynchronously", defaultValue: true);
29
public static readonly Option2<bool?> OfferRemoveUnusedReferences =
new
("dotnet_offer_remove_unused_references", defaultValue: true);
31
public static readonly Option2<bool> OfferRemoveUnusedReferencesFeatureFlag =
new
("dotnet_offer_remove_unused_references_feature_flag", defaultValue: false);
37
public static readonly Option2<bool> SkipAnalyzersForImplicitlyTriggeredBuilds =
new
("dotnet_skip_analyzers_for_implicitly_triggered_builds", defaultValue: true);
SmartIndent\SmartIndenterOptionsStorage.cs (1)
11
public static readonly Option2<bool> SmartIndenter =
new
("dotnet_enable_smart_indenter", defaultValue: true);
Snippets\SnippetsOptionsStorage.cs (1)
11
public static readonly Option2<bool> Snippets =
new
("dotnet_enable_snippets", defaultValue: true);
Suggestions\SuggestionsOptionsStorage.cs (2)
11
public static readonly Option2<bool?> Asynchronous =
new
("dotnet_enable_asynchronous_suggestions", defaultValue: null);
12
public static readonly Option2<bool> AsynchronousQuickActionsDisableFeatureFlag =
new
("dotnet_disable_asynchronous_quick_actions", defaultValue: false);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
EditorConfigSettings\Data\CodeStyleSettingsTest.cs (2)
83
return new
Option2
<CodeStyleOption2<bool>>(
94
return new
Option2
<CodeStyleOption2<T>>(
SolutionCrawler\WorkCoordinatorTests.cs (1)
1791
public static readonly Option2<bool> TestOption = new
Option2
<bool>("TestOptions_TestOption", defaultValue: true);
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineHints\InlineHintsViewOptionsStorage.cs (1)
11
public static readonly Option2<bool> DisplayAllHintsWhilePressingAltF1 =
new
(
Microsoft.CodeAnalysis.Features (1)
SolutionCrawler\SolutionCrawlerService.cs (1)
16
internal static readonly Option2<bool> EnableSolutionCrawler =
new
("dotnet_enable_solution_crawler", defaultValue: true);
Microsoft.CodeAnalysis.LanguageServer.Protocol (30)
Features\Options\CompletionOptionsStorage.cs (3)
37
public static readonly Option2<bool> UnnamedSymbolCompletionDisabledFeatureFlag =
new
("dotnet_disable_unnamed_symbol_completion", CompletionOptions.Default.UnnamedSymbolCompletionDisabled, group: s_completionOptionGroup);
38
public static readonly Option2<bool> ShowNewSnippetExperienceFeatureFlag =
new
("dotnet_show_new_snippet_experience_feature_flag", CompletionOptions.Default.ShowNewSnippetExperienceFeatureFlag, group: s_completionOptionGroup);
55
public static readonly Option2<bool> ForceExpandedCompletionIndexCreation =
new
("CompletionOptions_ForceExpandedCompletionIndexCreation", defaultValue: false);
Features\Options\DiagnosticOptionsStorage.cs (2)
11
public static readonly Option2<bool> LspPullDiagnosticsFeatureFlag =
new
(
14
public static readonly Option2<bool> LogTelemetryForBackgroundAnalyzerExecution =
new
(
Features\Options\IdeAnalyzerOptionsStorage.cs (1)
38
public static readonly Option2<bool> CrashOnAnalyzerException =
new
(
Features\Options\InternalDiagnosticsOptionsStorage.cs (3)
16
public static readonly Option2<DiagnosticMode> RazorDiagnosticMode =
new
(
23
public static readonly Option2<DiagnosticMode> LiveShareDiagnosticMode =
new
(
26
public static readonly Option2<DiagnosticMode> NormalDiagnosticMode =
new
(
Features\Options\MetadataAsSourceOptionsStorage.cs (3)
23
public static Option2<bool> NavigateToDecompiledSources =
new
("dotnet_navigate_to_decompiled_sources", defaultValue: true, group: s_navigationOptionGroup);
24
public static Option2<bool> AlwaysUseDefaultSymbolServers =
new
("dotnet_always_use_default_symbol_servers", defaultValue: true, group: s_navigationOptionGroup);
25
public static Option2<bool> NavigateToSourceLinkAndEmbeddedSources =
new
("dotnet_navigate_to_source_link_and_embedded_sources", defaultValue: true, group: s_navigationOptionGroup);
Features\Options\QuickInfoOptionsStorage.cs (1)
23
public static readonly Option2<bool> IncludeNavigationHintsInQuickInfo =
new
(
Features\Options\RazorLineFormattingOptionsStorage.cs (2)
14
internal static readonly Option2<bool> UseTabs =
new
(
17
internal static readonly Option2<int> TabSize =
new
(
Features\Options\SolutionCrawlerOptionsStorage.cs (3)
22
public static readonly Option2<BackgroundAnalysisScope?> SolutionBackgroundAnalysisScopeOption =
new
(
34
public static readonly Option2<bool?> EnableDiagnosticsInSourceGeneratedFiles =
new
(
37
public static readonly Option2<bool> EnableDiagnosticsInSourceGeneratedFilesFeatureFlag =
new
(
Features\Options\WorkspaceConfigurationOptionsStorage.cs (7)
22
public static readonly Option2<StorageDatabase> Database =
new
(
25
public static readonly Option2<bool> CloudCacheFeatureFlag =
new
(
28
public static readonly Option2<bool> DisableReferenceManagerRecoverableMetadata =
new
(
31
public static readonly Option2<bool> DisableBackgroundCompilation =
new
(
34
public static readonly Option2<bool> DisableSharedSyntaxTrees =
new
(
41
public static readonly Option2<bool?> EnableOpeningSourceGeneratedFilesInWorkspace =
new
(
44
public static readonly Option2<bool> EnableOpeningSourceGeneratedFilesInWorkspaceFeatureFlag =
new
(
Features\TaskList\TaskListOptionsStorage.cs (2)
12
public static readonly Option2<ImmutableArray<string>> Descriptors =
new
("dotnet_task_list_storage_descriptors", TaskListOptions.Default.Descriptors);
13
public static readonly Option2<bool> ComputeTaskListItemsForClosedFiles =
new
("dotnet_compute_task_list_items_for_closed_files", defaultValue: true);
LspOptionsStorage.cs (3)
15
public static readonly Option2<int> MaxCompletionListSize =
new
("dotnet_lsp_max_completion_list_size", defaultValue: 1000);
18
public static readonly Option2<bool> LspEditorFeatureFlag =
new
("dotnet_enable_lsp_editor", defaultValue: false);
21
public static readonly Option2<bool> LspSemanticTokensFeatureFlag =
new
("dotnet_enable_lsp_semantic_tokens", defaultValue: false);
Microsoft.CodeAnalysis.Workspaces (3)
CodeStyleHelpers.cs (2)
124
var option = new
Option2
<CodeStyleOption2<T>>(name, defaultValue, group, languageName, isEditorConfigOption: true, serializer: (serializerFactory ?? EditorConfigValueSerializer.CodeStyle).Invoke(defaultValue));
136
var option = new
Option2
<T>(name, defaultValue, group, languageName: null, isEditorConfigOption: true, serializer: serializer);
FormattingOptions2.cs (1)
59
internal static Option2<bool> InsertFinalNewLine =
new
(
Microsoft.CodeAnalysis.Workspaces.UnitTests (5)
Options\OptionKeyTests.cs (1)
82
var option1 = new
Option2
<bool>(name: "name", defaultValue: false);
WorkspaceServiceTests\GlobalOptionServiceTests.cs (4)
171
var option1 = new
Option2
<int>("test_option1", defaultValue: 1);
172
var option2 = new
Option2
<int>("test_option2", defaultValue: 2);
173
var option3 = new
Option2
<int>("test_option3", defaultValue: 3);
289
var option2 = new
Option2
<CodeStyleOption2<bool>>("test", new CodeStyleOption2<bool>(false, NotificationOption2.Warning)).WithPublicOption("test", "test");
Microsoft.VisualStudio.LanguageServices (19)
DocumentOutline\DocumentOutlineOptionsStorage.cs (1)
11
public static readonly Option2<bool> EnableDocumentOutline =
new
("dotnet_enable_document_outline", defaultValue: false);
ExternalAccess\Pythia\PythiaGlobalOptions.cs (2)
36
private static readonly Option2<bool> s_showDebugInfoOption =
new
(
39
private static readonly Option2<bool> s_removeRecommendationLimitOption =
new
(
FindReferences\FindUsagesPresentationOptionsStorage.cs (1)
17
public static readonly Option2<int> DefinitionGroupingPriority =
new
(
Implementation\ColorSchemes\ColorSchemeOptionsStorage.cs (2)
13
public static readonly Option2<ColorSchemeName> ColorScheme =
new
(
17
public static readonly Option2<UseEnhancedColors> LegacyUseEnhancedColors =
new
(
Implementation\VirtualMemoryNotificationListenerOptionsStorage.cs (1)
11
public static readonly Option2<bool> BackgroundAnalysisMemoryMonitor =
new
("dotnet_enable_full_solution_analysis_memory_monitor", defaultValue: true);
KeybindingReset\KeybindingResetOptionsStorage.cs (4)
11
public static readonly Option2<ReSharperStatus> ReSharperStatus =
new
("visual_studio_resharper_key_binding_status", defaultValue: KeybindingReset.ReSharperStatus.NotInstalledOrDisabled);
12
public static readonly Option2<bool> NeedsReset =
new
("visual_studio_key_binding_needs_reset", defaultValue: false);
13
public static readonly Option2<bool> NeverShowAgain =
new
("visual_studio_key_binding_reset_never_show_again", defaultValue: false);
14
public static readonly Option2<bool> EnabledFeatureFlag =
new
("visual_studio_enable_key_binding_reset", defaultValue: false);
Log\LoggerOptionsStorage.cs (3)
11
public static readonly Option2<bool> EtwLoggerKey =
new
("visual_studio_etw_logger_key", defaultValue: true);
12
public static readonly Option2<bool> TraceLoggerKey =
new
("visual_studio_trace_logger_key", defaultValue: false);
13
public static readonly Option2<bool> OutputWindowLoggerKey =
new
("visual_studio_output_window_logger_key", defaultValue: false);
Options\XamlOptions.cs (1)
18
public static readonly Option2<bool> EnableLspIntelliSenseFeatureFlag =
new
("xaml_enable_lsp_intellisense", defaultValue: false);
StackTraceExplorer\StackTraceExplorerOptionsStorage.cs (1)
15
public static readonly Option2<bool> OpenOnFocus =
new
("visual_studio_open_stack_trace_explorer_on_focus", defaultValue: false);
SymbolSearch\SymbolSearchGlobalOptionsStorage.cs (1)
11
public static readonly Option2<bool> Enabled =
new
("visual_studio_enable_symbol_search", defaultValue: true);
Telemetry\VisualStudioLoggingOptionsStorage.cs (1)
11
public static readonly Option2<bool> EnableFileLoggingForDiagnostics =
new
("visual_studio_enable_file_logging_for_diagnostics", defaultValue: false);
Workspace\VisualStudioWorkspaceStatusServiceFactory.cs (1)
28
private static readonly Option2<bool> s_partialLoadModeFeatureFlag =
new
("visual_studio_workspace_partial_load_mode", defaultValue: false);
Roslyn.VisualStudio.DiagnosticsWindow (2)
OptionPages\ForceLowMemoryMode.cs (2)
15
public static readonly Option2<bool> Enabled =
new
("ForceLowMemoryMode_Enabled", defaultValue: false);
16
public static readonly Option2<int> SizeInMegabytes =
new
("ForceLowMemoryMode_Enabled", defaultValue: 500);