4 instantiations of DocumentationCommentOptions
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (2)
DocumentationComments\OmniSharpDocumentationCommentOptionsWrapper.cs (2)
23
: this(new
DocumentationCommentOptions
()
44
return new(
new
() { LineFormatting = formattingOptions.LineFormatting, AutoXmlDocCommentGeneration = autoXmlDocCommentGeneration });
Microsoft.CodeAnalysis.Features (1)
DocumentationComments\DocumentationCommentOptions.cs (1)
13
public static readonly DocumentationCommentOptions Default =
new
();
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Options\DocumentationCommentOptionsStorage.cs (1)
14
=>
new
()
30 references to DocumentationCommentOptions
Microsoft.CodeAnalysis.EditorFeatures (7)
DocumentationComments\AbstractDocumentationCommentCommandHandler.cs (6)
61
private static DocumentationCommentSnippet? InsertOnCharacterTyped(IDocumentationCommentSnippetService service, ParsedDocument document, int position,
DocumentationCommentOptions
options, CancellationToken cancellationToken)
64
private static DocumentationCommentSnippet? InsertOnEnterTyped(IDocumentationCommentSnippetService service, ParsedDocument document, int position,
DocumentationCommentOptions
options, CancellationToken cancellationToken)
67
private static DocumentationCommentSnippet? InsertOnCommandInvoke(IDocumentationCommentSnippetService service, ParsedDocument document, int position,
DocumentationCommentOptions
options, CancellationToken cancellationToken)
80
Func<IDocumentationCommentSnippetService, ParsedDocument, int,
DocumentationCommentOptions
, CancellationToken, DocumentationCommentSnippet?> getSnippetAction,
93
var
options = subjectBuffer.GetDocumentationCommentOptions(_editorOptionsService, document.Project.Services);
332
var
options = subjectBuffer.GetDocumentationCommentOptions(_editorOptionsService, document.Project.Services);
Options\TextBufferOptionProviders.cs (1)
20
public static
DocumentationCommentOptions
GetDocumentationCommentOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, LanguageServices languageServices)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Options\GlobalOptionsTests.cs (1)
192
VerifyDataMembersHaveNonDefaultValues(globalOptions.GetDocumentationCommentOptions(globalOptions.GetLineFormattingOptions(language), language),
DocumentationCommentOptions
.Default, language);
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (2)
DocumentationComments\OmniSharpDocumentationCommentOptionsWrapper.cs (2)
15
internal readonly
DocumentationCommentOptions
UnderlyingObject;
17
internal OmniSharpDocumentationCommentOptionsWrapper(
DocumentationCommentOptions
underlyingObject)
Microsoft.CodeAnalysis.Features (15)
DocumentationComments\AbstractDocumentationCommentSnippetService.cs (10)
69
in
DocumentationCommentOptions
options,
110
private List<string>? GetDocumentationCommentLines(SyntaxToken token, SourceText text, in
DocumentationCommentOptions
options, out string? indentText, out int caretOffset, out int spanToReplaceLength)
141
private List<string>? GetDocumentationCommentLinesNoIndentation(SyntaxToken token, SourceText text, in
DocumentationCommentOptions
options, out int caretOffset, out int spanToReplaceLength, out string? indentText)
158
private List<string>? GetDocumentationStubLines(SyntaxToken token, SourceText text, in
DocumentationCommentOptions
options, out int caretOffset, out int spanToReplaceLength, out string? existingCommentText)
259
public DocumentationCommentSnippet? GetDocumentationCommentSnippetOnEnterTyped(ParsedDocument document, int position, in
DocumentationCommentOptions
options, CancellationToken cancellationToken)
275
private DocumentationCommentSnippet? GenerateDocumentationCommentAfterEnter(ParsedDocument document, int position, in
DocumentationCommentOptions
options, CancellationToken cancellationToken)
328
public DocumentationCommentSnippet? GetDocumentationCommentSnippetOnCommandInvoke(ParsedDocument document, int position, in
DocumentationCommentOptions
options, CancellationToken cancellationToken)
367
private DocumentationCommentSnippet? GenerateExteriorTriviaAfterEnter(ParsedDocument document, int position, in
DocumentationCommentOptions
options, CancellationToken cancellationToken)
431
public DocumentationCommentSnippet GetDocumentationCommentSnippetFromPreviousLine(in
DocumentationCommentOptions
options, TextLine currentLine, TextLine previousLine)
443
private string CreateInsertionTextFromPreviousLine(TextLine previousLine, in
DocumentationCommentOptions
options)
DocumentationComments\DocumentationCommentOptions.cs (1)
13
public static readonly
DocumentationCommentOptions
Default = new();
DocumentationComments\IDocumentationCommentSnippetService.cs (4)
21
in
DocumentationCommentOptions
options,
28
in
DocumentationCommentOptions
options,
34
in
DocumentationCommentOptions
options,
38
in
DocumentationCommentOptions
options,
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Features\Options\DocumentationCommentOptionsStorage.cs (2)
13
public static
DocumentationCommentOptions
GetDocumentationCommentOptions(this IGlobalOptionService globalOptions, LineFormattingOptions lineFormatting, string language)
21
"dotnet_auto_xml_doc_comment_generation",
DocumentationCommentOptions
.Default.AutoXmlDocCommentGeneration);
Handler\OnAutoInsert\OnAutoInsertHandler.cs (2)
81
var
docCommentOptions = globalOptions.GetDocumentationCommentOptions(formattingOptions.LineFormatting, document.Project.Language);
118
DocumentationCommentOptions
options,
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Remote\ServiceDescriptorTests.cs (1)
205
DocumentationCommentOptions
.Default