11 references to SmartIndent
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (7)
AutomaticCompletion\AutomaticBraceCompletionTests.cs (5)
1123{ FormattingOptions2.SmartIndent, FormattingOptions2.IndentStyle.Block }, 1153{ FormattingOptions2.SmartIndent, FormattingOptions2.IndentStyle.None }, 1189{ FormattingOptions2.SmartIndent, FormattingOptions2.IndentStyle.Block }, 1233{ FormattingOptions2.SmartIndent, FormattingOptions2.IndentStyle.Block }, 1681{ FormattingOptions2.SmartIndent, FormattingOptions2.IndentStyle.None },
Workspaces\WorkspaceTests_EditorFeatures.cs (2)
1394var optionKey = new OptionKey(FormattingOptions2.SmartIndent, LanguageNames.CSharp); 1432var optionKey = new OptionKey(FormattingOptions2.SmartIndent, LanguageNames.CSharp);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Utilities\GlobalOptionsExtensions.cs (1)
23editorOptions.SetOptionValue(DefaultOptions.IndentStyleId, globalOptions.GetOption(FormattingOptions2.SmartIndent, language).ToEditorIndentStyle());
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Options\IndentationOptionsStorage.cs (1)
25public static PerLanguageOption2<FormattingOptions2.IndentStyle> SmartIndent => FormattingOptions2.SmartIndent;
Microsoft.CodeAnalysis.Workspaces (1)
Formatting\FormattingOptions.cs (1)
28public static PerLanguageOption<IndentStyle> SmartIndent { get; } = (PerLanguageOption<IndentStyle>)FormattingOptions2.SmartIndent.PublicOption!;
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Options\OptionKeyTests.cs (1)
183Assert.False(FormattingOptions2.SmartIndent.Definition.IsEditorConfigOption);