146 references to EditorOptionsService
Microsoft.CodeAnalysis.CSharp.EditorFeatures (19)
AutomaticCompletion\AutomaticLineEnderCommandHandler.cs (1)
60EditorOptionsService editorOptionsService)
BlockCommentEditing\BlockCommentEditingCommandHandler.cs (4)
36private readonly EditorOptionsService _editorOptionsService; 43EditorOptionsService editorOptionsService) 96private static string? GetTextToInsert(SnapshotPoint caretPosition, ITextBuffer buffer, EditorOptionsService editorOptionsService, CancellationToken cancellationToken) 269EditorOptionsService editorOptionsService,
BlockCommentEditing\CloseBlockCommentCommandHandler.cs (2)
23private readonly EditorOptionsService _editorOptionsService; 27public CloseBlockCommentCommandHandler(EditorOptionsService editorOptionsService)
CommentSelection\CSharpToggleBlockCommentCommandHandler.cs (1)
38EditorOptionsService editorOptionsService)
ConvertNamespace\ConvertNamespaceCommandHandler.cs (2)
49private readonly EditorOptionsService _editorOptionsService; 58EditorOptionsService editorOptionsService,
DocumentationComments\DocumentationCommentCommandHandler.cs (1)
34EditorOptionsService editorOptionsService)
Formatting\CSharpFormattingInteractionService.cs (2)
31private readonly EditorOptionsService _editorOptionsService; 35public CSharpFormattingInteractionService(EditorOptionsService editorOptionsService)
RawStringLiteral\RawStringLiteralCommandHandler.cs (2)
26private readonly EditorOptionsService _editorOptionsService; 35EditorOptionsService editorOptionsService,
SplitStringLiteral\SplitStringLiteralCommandHandler.cs (2)
33private readonly EditorOptionsService _editorOptionsService; 40EditorOptionsService editorOptionsService)
StringCopyPaste\StringCopyPasteCommandHandler.cs (2)
62private readonly EditorOptionsService _editorOptionsService; 75EditorOptionsService editorOptionsService,
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
CommentSelection\CSharpCommentSelectionTests.cs (1)
124workspace.GetService<EditorOptionsService>());
Formatting\Indentation\SmartIndenterTests.cs (2)
3491var editorOptionsService = workspace.GetService<EditorOptionsService>();
Formatting\Indentation\SmartTokenFormatterFormatRangeTests.cs (2)
3380var optionsService = workspace.GetService<EditorOptionsService>();
Microsoft.CodeAnalysis.EditorFeatures (44)
AutomaticCompletion\AbstractAutomaticLineEnderCommandHandler.cs (2)
27public readonly EditorOptionsService EditorOptionsService; 34EditorOptionsService editorOptionsService)
AutomaticCompletion\BraceCompletionSessionProvider.BraceCompletionSession.cs (2)
47private readonly EditorOptionsService _editorOptionsService; 55EditorOptionsService editorOptionsService, IBraceCompletionService service, IThreadingContext threadingContext)
AutomaticCompletion\BraceCompletionSessionProvider.cs (2)
40private readonly EditorOptionsService _editorOptionsService; 48EditorOptionsService editorOptionsService)
CommentSelection\AbstractCommentSelectionBase.cs (2)
49private readonly EditorOptionsService _editorOptionsService; 54EditorOptionsService editorOptionsService)
CommentSelection\AbstractToggleBlockCommentBase.cs (1)
43EditorOptionsService editorOptionsService)
CommentSelection\CommentUncommentSelectionCommandHandler.cs (1)
42EditorOptionsService editorOptionsService)
CommentSelection\ToggleBlockCommentCommandHandler.cs (1)
36EditorOptionsService editorOptionsService)
CommentSelection\ToggleLineCommentCommandHandler.cs (1)
48EditorOptionsService editorOptionsService)
Diagnostics\DiagnosticsClassificationTaggerProvider.cs (2)
38private readonly EditorOptionsService _editorOptionsService; 49EditorOptionsService editorOptionsService,
DocumentationComments\AbstractDocumentationCommentCommandHandler.cs (2)
33private readonly EditorOptionsService _editorOptionsService; 39EditorOptionsService editorOptionsService)
IntelliSense\AsyncCompletion\CompletionSource.cs (2)
69private readonly EditorOptionsService _editorOptionsService; 79EditorOptionsService editorOptionsService)
IntelliSense\AsyncCompletion\CompletionSourceProvider.cs (2)
28private readonly EditorOptionsService _editorOptionsService; 37EditorOptionsService editorOptionsService)
IntelliSense\QuickInfo\QuickInfoSourceProvider.cs (2)
31private readonly EditorOptionsService _editorOptionsService; 41EditorOptionsService editorOptionsService,
IntelliSense\QuickInfo\QuickInfoSourceProvider.QuickInfoSource.cs (2)
41private readonly EditorOptionsService _editorOptionsService; 50EditorOptionsService editorOptionsService,
Interactive\InteractiveSession.cs (2)
42private readonly EditorOptionsService _editorOptionsService; 84EditorOptionsService editorOptionsService,
Options\EditorOptionsService.cs (1)
17[Export(typeof(EditorOptionsService)), Shared]
Options\TextBufferOptionProviders.cs (6)
23public static DocumentationCommentOptions GetDocumentationCommentOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, LanguageServices languageServices) 30public static LineFormattingOptions GetLineFormattingOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, bool explicitFormat) 46public static SyntaxFormattingOptions GetSyntaxFormattingOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, LanguageServices languageServices, bool explicitFormat) 59public static IndentationOptions GetIndentationOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, LanguageServices languageServices, bool explicitFormat) 72public static AddImportPlacementOptions GetAddImportPlacementOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, LanguageServices languageServices, bool allowInHiddenRegions) 80public static CodeCleanupOptions GetCodeCleanupOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, LanguageServices languageServices, bool explicitFormat, bool allowImportsInHiddenRegions)
Preview\AbstractPreviewFactoryService.cs (2)
41private readonly EditorOptionsService _editorOptionsService; 54EditorOptionsService editorOptionsService,
Shared\Extensions\ITextSnapshotExtensions.cs (1)
32EditorOptionsService editorOptionsService,
SmartIndent\SmartIndent.cs (2)
21private readonly EditorOptionsService _editorOptionsService; 23public SmartIndent(ITextView textView, EditorOptionsService editorOptionsService)
SmartIndent\SmartIndentProvider.cs (2)
19private readonly EditorOptionsService _editorOptionsService; 23public SmartIndentProvider(EditorOptionsService editorOptionsService)
SplitComment\SplitCommentCommandHandler.cs (2)
37private readonly EditorOptionsService _editorOptionsService; 46EditorOptionsService editorOptionsService,
Structure\AbstractStructureTaggerProvider.cs (2)
50protected readonly EditorOptionsService EditorOptionsService; 55EditorOptionsService editorOptionsService,
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (8)
Preview\PreviewFactoryService.cs (1)
34EditorOptionsService editorOptionsService,
Snippets\AbstractSnippetCommandHandler.cs (2)
36protected readonly EditorOptionsService EditorOptionsService; 44EditorOptionsService editorOptionsService)
Snippets\AbstractSnippetExpansionClient.cs (2)
35public readonly EditorOptionsService EditorOptionsService; 48EditorOptionsService editorOptionsService)
Snippets\CSharpSnippets\SnippetCommandHandler.cs (1)
44EditorOptionsService editorOptionsService)
Snippets\CSharpSnippets\SnippetExpansionClient.cs (1)
26EditorOptionsService editorOptionsService)
Structure\StructureTaggerProvider.cs (1)
29EditorOptionsService editorOptionsService,
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Formatting\CoreFormatterTestsBase.cs (2)
54int point, int? expectedIndentation, ITextView textView, TestHostDocument subjectDocument, EditorOptionsService editorOptionsService) 118workspace.GetService<EditorOptionsService>());
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
CommentSelection\CommentUncommentSelectionCommandHandlerTests.cs (2)
747var editorOptionsService = exportProvider.GetExportedValue<EditorOptionsService>();
Microsoft.CodeAnalysis.EditorFeatures.Wpf (14)
InlineHints\InlineHintsTaggerProvider.cs (2)
41public readonly EditorOptionsService EditorOptionsService; 55EditorOptionsService editorOptionsService)
Interactive\InteractiveCommandHandler.cs (2)
29private readonly EditorOptionsService _editorOptionsService; 34EditorOptionsService editorOptionsService,
Interactive\InteractiveEvaluator.cs (1)
74EditorOptionsService editorOptionsService,
Interactive\ResetInteractive.cs (2)
34private readonly EditorOptionsService _editorOptionsService; 38internal ResetInteractive(EditorOptionsService editorOptionsService, Func<string, string> createReference, Func<string, string> createImport)
Preview\PreviewFactoryService.cs (1)
36EditorOptionsService editorOptionsService,
QuickInfo\ContentControlService.cs (2)
34private readonly EditorOptionsService _editorOptionsService; 43EditorOptionsService editorOptionsService)
QuickInfo\ProjectionBufferContent.cs (3)
29private readonly EditorOptionsService _editorOptionsService; 38EditorOptionsService editorOptionsService, 56EditorOptionsService editorOptionsService,
Structure\StructureTaggerProvider.cs (1)
37EditorOptionsService editorOptionsService,
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (6)
AutomaticCompletion\AutomaticLineEnderCommandHandler.vb (1)
34editorOptionsService As EditorOptionsService)
DocumentationComments\DocumentationCommentCommandHandler.vb (1)
31editorOptionsService As EditorOptionsService)
EndConstructGeneration\EndConstructCommandHandler.vb (2)
37Private ReadOnly _editorOptionsService As EditorOptionsService 43editorOptionsService As EditorOptionsService)
LineCommit\CommitFormatter.vb (2)
31Private ReadOnly _editorOptionsService As EditorOptionsService 35Public Sub New(editorOptionsService As EditorOptionsService)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (4)
AutomaticCompletion\AutomaticLineEnderTests.vb (1)
282workspace.GetService(Of EditorOptionsService))
CommentSelection\VisualBasicCommentSelectionTests.vb (1)
90workspace.GetService(Of EditorOptionsService))
EndConstructGeneration\EndConstructTestingHelpers.vb (1)
228workspace.GetService(Of EditorOptionsService))
Formatting\Indentation\SmartIndenterTests.vb (1)
2997Dim editorOptionsService = workspace.GetService(Of EditorOptionsService)
Microsoft.VisualStudio.LanguageServices (11)
Interactive\VsResetInteractive.cs (1)
49: base(componentModel.GetService<EditorOptionsService>(), createReference, createImport)
LanguageService\AbstractLanguageService`2.cs (2)
59internal EditorOptionsService EditorOptionsService { get; private set; } 138this.EditorOptionsService = this.Package.ComponentModel.GetService<EditorOptionsService>();
Snippets\AbstractSnippetCommandHandler.cs (2)
44protected readonly EditorOptionsService EditorOptionsService; 54EditorOptionsService editorOptionsService,
Snippets\AbstractSnippetExpansionClient.cs (2)
69internal readonly EditorOptionsService EditorOptionsService; 99EditorOptionsService editorOptionsService)
Venus\ContainedDocument.cs (4)
85private readonly EditorOptionsService _editorOptionsService; 123_editorOptionsService = componentModel.GetService<EditorOptionsService>(); 775var editorOptionsService = _componentModel.GetService<EditorOptionsService>();
Microsoft.VisualStudio.LanguageServices.CSharp (8)
CodeModel\CSharpCodeModelService.cs (1)
44EditorOptionsService editorOptionsService,
CodeModel\CSharpCodeModelServiceFactory.cs (2)
22private readonly EditorOptionsService _editorOptionsService; 29EditorOptionsService editorOptionsService,
Interactive\CSharpInteractiveCommandHandler.cs (1)
34EditorOptionsService editorOptionsService,
Interactive\CSharpVsInteractiveWindowProvider.cs (2)
33private readonly EditorOptionsService _editorOptionsService; 47EditorOptionsService editorOptionsService,
Snippets\SnippetCommandHandler.cs (1)
59EditorOptionsService editorOptionsService)
Snippets\SnippetExpansionClient.cs (1)
48EditorOptionsService editorOptionsService)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (5)
Interactive\Commands\InteractiveWindowCommandHandlerTestState.cs (1)
55GetExportedValue<EditorOptionsService>(),
Interactive\Commands\ResetInteractiveTests.cs (2)
86var editorOptionsService = workspace.GetService<EditorOptionsService>();
Interactive\Commands\TestInteractiveCommandHandler.cs (1)
27EditorOptionsService editorOptionsService,
Interactive\Commands\TestResetInteractive.cs (1)
50EditorOptionsService editorOptionsService,
Microsoft.VisualStudio.LanguageServices.Implementation (2)
CodeModel\AbstractCodeModelService.cs (2)
47private readonly EditorOptionsService _editorOptionsService; 59EditorOptionsService editorOptionsService,
Microsoft.VisualStudio.LanguageServices.UnitTests (8)
Snippets\CSharpSnippetExpansionClientTests.vb (3)
313Dim editorOptionsService = workspace.GetService(Of EditorOptionsService)() 353workspace.GetService(Of EditorOptionsService)()) 396workspace.GetService(Of EditorOptionsService)())
Snippets\SnippetTestState.vb (2)
52Dim editorOptionsService = Workspace.GetService(Of EditorOptionsService)() 160editorOptionsService As EditorOptionsService)
Snippets\VisualBasicSnippetExpansionClientTests.vb (3)
351Dim optionsService = workspace.GetService(Of EditorOptionsService)() 412workspace.GetService(Of EditorOptionsService)()) 454workspace.GetService(Of EditorOptionsService)())
Microsoft.VisualStudio.LanguageServices.VisualBasic (8)
CodeModel\VisualBasicCodeModelService.vb (1)
42editorOptionsService As EditorOptionsService,
CodeModel\VisualBasicCodeModelServiceFactory.vb (2)
21Private ReadOnly _editorOptionsService As EditorOptionsService 28Public Sub New(editorOptionsService As EditorOptionsService,
Snippets\SnippetCommandHandler.vb (1)
52editorOptionsService As EditorOptionsService)
Snippets\SnippetCompletionProvider.vb (2)
39Private ReadOnly _editorOptionsService As EditorOptionsService 49editorOptionsService As EditorOptionsService)
Snippets\SnippetExpansionClient.vb (2)
40editorOptionsService As EditorOptionsService) 60editorOptionsService As EditorOptionsService) As AbstractSnippetExpansionClient