46 references to EditorOptionsService
Microsoft.CodeAnalysis.EditorFeatures (46)
AutomaticCompletion\AbstractAutomaticLineEnderCommandHandler.cs (2)
28public readonly EditorOptionsService EditorOptionsService; 35EditorOptionsService editorOptionsService)
AutomaticCompletion\BraceCompletionSessionProvider.BraceCompletionSession.cs (2)
45private readonly EditorOptionsService _editorOptionsService; 53EditorOptionsService editorOptionsService, IBraceCompletionService service, IThreadingContext threadingContext)
AutomaticCompletion\BraceCompletionSessionProvider.cs (2)
40EditorOptionsService editorOptionsService) : IBraceCompletionSessionProvider 45private readonly EditorOptionsService _editorOptionsService = editorOptionsService;
CommentSelection\AbstractCommentSelectionBase.cs (2)
46private readonly EditorOptionsService _editorOptionsService; 51EditorOptionsService editorOptionsService)
CommentSelection\AbstractToggleBlockCommentBase.cs (1)
40EditorOptionsService editorOptionsService)
CommentSelection\CommentUncommentSelectionCommandHandler.cs (1)
34EditorOptionsService editorOptionsService) :
CommentSelection\ToggleBlockCommentCommandHandler.cs (1)
32EditorOptionsService editorOptionsService) : AbstractToggleBlockCommentBase(undoHistoryRegistry, editorOperationsFactoryService, navigatorSelectorService, editorOptionsService)
CommentSelection\ToggleLineCommentCommandHandler.cs (1)
38EditorOptionsService editorOptionsService) :
DocumentationComments\AbstractDocumentationCommentCommandHandler.cs (2)
33private readonly EditorOptionsService _editorOptionsService; 39EditorOptionsService editorOptionsService)
IntelliSense\AsyncCompletion\CompletionSource.cs (2)
67private readonly EditorOptionsService _editorOptionsService; 76EditorOptionsService editorOptionsService)
IntelliSense\AsyncCompletion\CompletionSourceProvider.cs (2)
29EditorOptionsService editorOptionsService) : IAsyncCompletionSourceProvider 35private readonly EditorOptionsService _editorOptionsService = editorOptionsService;
IntelliSense\AsyncCompletion\ItemManager.cs (2)
36private readonly EditorOptionsService _editorOptionsService; 38internal ItemManager(RecentItemsManager recentItemsManager, EditorOptionsService editorOptionsService)
IntelliSense\AsyncCompletion\ItemManagerProvider.cs (1)
21internal class ItemManagerProvider(RecentItemsManager recentItemsManager, EditorOptionsService editorOptionsService) : IAsyncCompletionItemManagerProvider
IntelliSense\QuickInfo\QuickInfoSourceProvider.cs (2)
31EditorOptionsService editorOptionsService, 38private readonly EditorOptionsService _editorOptionsService = editorOptionsService;
IntelliSense\QuickInfo\QuickInfoSourceProvider.QuickInfoSource.cs (2)
40EditorOptionsService editorOptionsService, 48private readonly EditorOptionsService _editorOptionsService = editorOptionsService;
Interactive\InteractiveSession.cs (2)
40private readonly EditorOptionsService _editorOptionsService; 82EditorOptionsService editorOptionsService,
Options\EditorOptionsService.cs (1)
15[Export(typeof(EditorOptionsService)), Shared]
Options\TextBufferOptionProviders.cs (6)
20public static DocumentationCommentOptions GetDocumentationCommentOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, LanguageServices languageServices) 27public static LineFormattingOptions GetLineFormattingOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, bool explicitFormat) 43public static SyntaxFormattingOptions GetSyntaxFormattingOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, StructuredAnalyzerConfigOptions fallbackOptions, LanguageServices languageServices, bool explicitFormat) 55public static IndentationOptions GetIndentationOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, StructuredAnalyzerConfigOptions fallbackOptions, LanguageServices languageServices, bool explicitFormat) 68public static AddImportPlacementOptions GetAddImportPlacementOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, StructuredAnalyzerConfigOptions fallbackOptions, LanguageServices languageServices, bool allowInHiddenRegions) 75public static CodeCleanupOptions GetCodeCleanupOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, StructuredAnalyzerConfigOptions fallbackOptions, LanguageServices languageServices, bool explicitFormat, bool allowImportsInHiddenRegions)
Preview\AbstractPreviewFactoryService.cs (2)
42EditorOptionsService editorOptionsService, 55private readonly EditorOptionsService _editorOptionsService = editorOptionsService;
Shared\Extensions\ITextSnapshotExtensions.cs (1)
28EditorOptionsService editorOptionsService,
SmartIndent\SmartIndent.cs (2)
18internal partial class SmartIndent(ITextView textView, EditorOptionsService editorOptionsService) : ISmartIndent 21private readonly EditorOptionsService _editorOptionsService = editorOptionsService;
SmartIndent\SmartIndentProvider.cs (2)
19internal sealed class SmartIndentProvider(EditorOptionsService editorOptionsService) : ISmartIndentProvider 21private readonly EditorOptionsService _editorOptionsService = editorOptionsService;
SplitComment\SplitCommentCommandHandler.cs (2)
35EditorOptionsService editorOptionsService, 41private readonly EditorOptionsService _editorOptionsService = editorOptionsService;
Structure\AbstractStructureTaggerProvider.cs (3)
42EditorOptionsService editorOptionsService, 51protected readonly EditorOptionsService EditorOptionsService = editorOptionsService; 352EditorOptionsService.Factory.GlobalOptions,