26 references to Smart
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
Formatting\CSharpFormattingInteractionService.cs (1)
47var isSmartIndent = _editorOptionsService.GlobalOptions.GetOption(IndentationOptionsStorage.SmartIndent, LanguageNames.CSharp) == FormattingOptions2.IndentStyle.Smart;
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (10)
Formatting\FormattingEngineTests.cs (1)
41{ IndentationOptionsStorage.SmartIndent, FormattingOptions2.IndentStyle.Smart },
Formatting\Indentation\SmartIndenterEnterOnTokenTests.cs (1)
1435IndentStyle indentStyle = IndentStyle.Smart)
Formatting\Indentation\SmartIndenterTests.cs (4)
3255indentStyle: IndentStyle.Smart); 3461IndentStyle indentStyle = IndentStyle.Smart) 3516IndentStyle indentStyle = IndentStyle.Smart) 3546IndentStyle indentStyle = IndentStyle.Smart)
SplitStringLiteral\SplitStringLiteralCommandHandlerTests.cs (2)
46IndentStyle indentStyle = IndentStyle.Smart, 132IndentStyle indentStyle = IndentStyle.Smart,
Workspaces\WorkspaceTests_EditorFeatures.cs (2)
1433Assert.Equal(FormattingOptions2.IndentStyle.Smart, primaryWorkspace.Options.GetOption(optionKey)); 1434Assert.Equal(FormattingOptions2.IndentStyle.Smart, secondaryWorkspace.Options.GetOption(optionKey));
Microsoft.CodeAnalysis.CSharp.Features (2)
BraceCompletion\AbstractCurlyBraceOrBracketCompletionService.cs (1)
223if (options.IndentStyle == FormattingOptions2.IndentStyle.Smart)
BraceCompletion\CurlyBraceCompletionService.cs (1)
97new BraceCompletionFormattingRule(FormattingOptions2.IndentStyle.Smart));
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
CSharpIndentationService.cs (1)
63if (options.IndentStyle != FormattingOptions2.IndentStyle.Smart)
CSharpSmartTokenFormatter.cs (1)
110_options.IndentStyle != FormattingOptions2.IndentStyle.Smart)
Microsoft.CodeAnalysis.EditorFeatures (2)
Options\TextBufferOptionProviders.cs (2)
95FormattingOptions2.IndentStyle.Smart => IndentingStyle.Smart, 103IndentingStyle.Smart => FormattingOptions2.IndentStyle.Smart,
Microsoft.CodeAnalysis.Features (1)
Wrapping\AbstractCodeActionComputer.cs (1)
86=> GetIndentationAfter(nodeOrToken, FormattingOptions2.IndentStyle.Smart);
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (4)
Formatting\Indentation\SmartIndenterTests.vb (2)
2978indentStyle:=FormattingOptions2.IndentStyle.Smart) 3014Optional indentStyle As FormattingOptions2.IndentStyle = FormattingOptions2.IndentStyle.Smart)
Formatting\Indentation\SmartTokenFormatter_FormatTokenTests.vb (2)
173Private Shared Async Function ExpectException_TestAsync(codeWithMarkup As String, indentation As Integer, Optional indentStyle As FormattingOptions2.IndentStyle = FormattingOptions2.IndentStyle.Smart) As Task 177Private Shared Async Function TestAsync(codeWithMarkup As String, indentation As Integer, Optional indentStyle As FormattingOptions2.IndentStyle = FormattingOptions2.IndentStyle.Smart) As Threading.Tasks.Task
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
SpecialFormattingOperation.vb (1)
172If _indentStyle <> FormattingOptions2.IndentStyle.Smart Then
Microsoft.CodeAnalysis.Workspaces (3)
AbstractIndentation.Indenter.cs (1)
84Debug.Assert(indentStyle == FormattingOptions2.IndentStyle.Smart);
AbstractIndentationService.cs (1)
32if (indentStyle == FormattingOptions2.IndentStyle.Smart &&
IndentationOptions.cs (1)
21public const FormattingOptions2.IndentStyle DefaultIndentStyle = FormattingOptions2.IndentStyle.Smart;