1 implementation of IHighlightingService
Microsoft.CodeAnalysis.Features (1)
Highlighting\HighlightingService.cs (1)
20[ImportMany] IEnumerable<Lazy<IHighlighter, LanguageMetadata>> highlighters) : IHighlightingService
10 references to IHighlightingService
Microsoft.CodeAnalysis.EditorFeatures (2)
KeywordHighlighting\HighlighterViewTaggerProvider.cs (2)
35internal sealed class HighlighterViewTaggerProvider(TaggerHost taggerHost, IHighlightingService highlightingService) 38private readonly IHighlightingService _highlightingService = highlightingService;
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
KeywordHighlighting\AbstractKeywordHighlighterTests.cs (1)
52var service = Assert.IsType<HighlightingService>(workspace.ExportProvider.GetExportedValue<IHighlightingService>());
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (2)
Cohost\Handlers\DocumentHighlights.cs (2)
20var highlightingService = document.Project.Solution.Services.ExportProvider.GetService<IHighlightingService>();
Microsoft.CodeAnalysis.Features (1)
Highlighting\HighlightingService.cs (1)
15[Export(typeof(IHighlightingService))]
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Handler\Highlights\DocumentHighlightHandler.cs (4)
27private readonly IHighlightingService _highlightingService; 32public DocumentHighlightsHandler(IHighlightingService highlightingService, IGlobalOptionService globalOptions) 53internal static async Task<DocumentHighlight[]?> GetHighlightsAsync(IGlobalOptionService globalOptions, IHighlightingService highlightingService, Document document, LinePosition linePosition, CancellationToken cancellationToken) 76private static async Task<ImmutableArray<DocumentHighlight>> GetKeywordHighlightsAsync(IHighlightingService highlightingService, Document document, SourceText text, int position, CancellationToken cancellationToken)