4 instantiations of DocumentationCommentOptions
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (2)
DocumentationComments\OmniSharpDocumentationCommentOptionsWrapper.cs (2)
23: this(new DocumentationCommentOptions() 44return new(new() { LineFormatting = formattingOptions.LineFormatting, AutoXmlDocCommentGeneration = autoXmlDocCommentGeneration });
Microsoft.CodeAnalysis.Features (1)
DocumentationComments\DocumentationCommentOptions.cs (1)
13public static readonly DocumentationCommentOptions Default = new();
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Options\DocumentationCommentOptionsStorage.cs (1)
14=> new()
33 references to DocumentationCommentOptions
Microsoft.CodeAnalysis.CSharp.Features (1)
DocumentationComments\CSharpDocumentationCommentSnippetService.cs (1)
84protected override List<string> GetDocumentationCommentStubLines(MemberDeclarationSyntax member, string existingCommentText, DocumentationCommentOptions options)
Microsoft.CodeAnalysis.EditorFeatures (7)
DocumentationComments\AbstractDocumentationCommentCommandHandler.cs (6)
61private static DocumentationCommentSnippet? InsertOnCharacterTyped(IDocumentationCommentSnippetService service, ParsedDocument document, int position, DocumentationCommentOptions options, CancellationToken cancellationToken) 64private static DocumentationCommentSnippet? InsertOnEnterTyped(IDocumentationCommentSnippetService service, ParsedDocument document, int position, DocumentationCommentOptions options, CancellationToken cancellationToken) 67private static DocumentationCommentSnippet? InsertOnCommandInvoke(IDocumentationCommentSnippetService service, ParsedDocument document, int position, DocumentationCommentOptions options, CancellationToken cancellationToken) 80Func<IDocumentationCommentSnippetService, ParsedDocument, int, DocumentationCommentOptions, CancellationToken, DocumentationCommentSnippet?> getSnippetAction, 93var options = subjectBuffer.GetDocumentationCommentOptions(_editorOptionsService, document.Project.Services); 332var options = subjectBuffer.GetDocumentationCommentOptions(_editorOptionsService, document.Project.Services);
Options\TextBufferOptionProviders.cs (1)
20public static DocumentationCommentOptions GetDocumentationCommentOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, LanguageServices languageServices)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Options\GlobalOptionsTests.cs (1)
192VerifyDataMembersHaveNonDefaultValues(globalOptions.GetDocumentationCommentOptions(globalOptions.GetLineFormattingOptions(language), language), DocumentationCommentOptions.Default, language);
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (2)
DocumentationComments\OmniSharpDocumentationCommentOptionsWrapper.cs (2)
15internal readonly DocumentationCommentOptions UnderlyingObject; 17internal OmniSharpDocumentationCommentOptionsWrapper(DocumentationCommentOptions underlyingObject)
Microsoft.CodeAnalysis.Features (15)
DocumentationComments\AbstractDocumentationCommentSnippetService.cs (10)
25protected abstract List<string> GetDocumentationCommentStubLines(TMemberNode member, string existingCommentText, DocumentationCommentOptions options); 69in DocumentationCommentOptions options, 103private List<string>? GetDocumentationCommentLines(SyntaxToken token, SourceText text, in DocumentationCommentOptions options, out string? indentText, out int caretOffset, out int spanToReplaceLength) 145private List<string>? GetDocumentationStubLines(SyntaxToken token, SourceText text, in DocumentationCommentOptions options, out int caretOffset, out int spanToReplaceLength, out string? existingCommentText) 244public DocumentationCommentSnippet? GetDocumentationCommentSnippetOnEnterTyped(ParsedDocument document, int position, in DocumentationCommentOptions options, CancellationToken cancellationToken) 260private DocumentationCommentSnippet? GenerateDocumentationCommentAfterEnter(ParsedDocument document, int position, in DocumentationCommentOptions options, CancellationToken cancellationToken) 314ParsedDocument document, int position, in DocumentationCommentOptions options, CancellationToken cancellationToken) 353private DocumentationCommentSnippet? GenerateExteriorTriviaAfterEnter(ParsedDocument document, int position, in DocumentationCommentOptions options, CancellationToken cancellationToken) 417public DocumentationCommentSnippet GetDocumentationCommentSnippetFromPreviousLine(in DocumentationCommentOptions options, TextLine currentLine, TextLine previousLine) 429private string CreateInsertionTextFromPreviousLine(TextLine previousLine, in DocumentationCommentOptions options)
DocumentationComments\DocumentationCommentOptions.cs (1)
13public static readonly DocumentationCommentOptions Default = new();
DocumentationComments\IDocumentationCommentSnippetService.cs (4)
21in DocumentationCommentOptions options, 27in DocumentationCommentOptions options, 33in DocumentationCommentOptions options, 37in DocumentationCommentOptions options,
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Features\Options\DocumentationCommentOptionsStorage.cs (4)
13public static DocumentationCommentOptions GetDocumentationCommentOptions(this IGlobalOptionService globalOptions, LineFormattingOptions lineFormatting, string language) 23"dotnet_auto_xml_doc_comment_generation", DocumentationCommentOptions.Default.AutoXmlDocCommentGeneration); 26"dotnet_generate_summary_tag_on_single_line", DocumentationCommentOptions.Default.GenerateSummaryTagOnSingleLine); 29"dotnet_generate_only_summary_tag", DocumentationCommentOptions.Default.GenerateOnlySummaryTag);
Handler\OnAutoInsert\OnAutoInsertHandler.cs (2)
87var docCommentOptions = globalOptions.GetDocumentationCommentOptions(formattingOptions.LineFormatting, document.Project.Language); 135DocumentationCommentOptions options,
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Remote\ServiceDescriptorTests.cs (1)
205DocumentationCommentOptions.Default