2 instantiations of DocumentFormattingOptions
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\DocumentFormattingOptions.cs (1)
16public static readonly DocumentFormattingOptions Default = new();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Formatting\DocumentFormattingOptionsProviders.cs (1)
16=> new()
7 references to DocumentFormattingOptions
Microsoft.CodeAnalysis.Workspaces (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeCleanup\CodeCleanupOptions.cs (2)
19[DataMember] public DocumentFormattingOptions DocumentFormattingOptions { get; init; } = DocumentFormattingOptions.Default;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOptions2.cs (1)
235DocumentFormattingOptions.Default.FileHeaderTemplate,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\DocumentFormattingOptions.cs (1)
16public static readonly DocumentFormattingOptions Default = new();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\FormattingOptions2.cs (1)
60"insert_final_newline", DocumentFormattingOptions.Default.InsertFinalNewLine, FormattingOptionGroups.NewLine, isEditorConfigOption: true);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Formatting\DocumentFormattingOptionsProviders.cs (2)
15public static DocumentFormattingOptions GetDocumentFormattingOptions(this IOptionsReader options) 22public static async ValueTask<DocumentFormattingOptions> GetDocumentFormattingOptionsAsync(this Document document, CancellationToken cancellationToken)