-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Closed
Labels
apieditor-textbufferEditor text bufferEditor text bufferfeature-requestRequest for new features or functionalityRequest for new features or functionalityon-testplantokenizationText tokenizationText tokenization
Milestone
Description
From @Wosi on October 13, 2015 14:22
I'm looking for a way to implement an advanced source highlighting
where a language service changes the color of words in a file. The result would look similar to the output Visual Studio creates in C# files.
The screenshot shows C# code in Visual Studio. The word "Customer" is highlighted differently based on its context:
To implement highlighting like this it's necassary to let a language service decide about the color of a word after the grammar based highlighter has done its job.
I would like to see an API for this in the future.
Copied from original issue: Microsoft/vscode-extensionbuilders#14
phoenixenero, vilicvane, peq, NPatch, kiritsuku and 363 moreajkhoury, james-b-yu, noozo, SirIntruder, balta2ar and 22 moresweetim, munael, FacundoGFlores, chocoelho, tradeli and 49 moreovikholt and robsonpeixotocodefln, SirIntruder, hrfarrokh, diabolicle, EdricChan03 and 9 more
Metadata
Metadata
Labels
apieditor-textbufferEditor text bufferEditor text bufferfeature-requestRequest for new features or functionalityRequest for new features or functionalityon-testplantokenizationText tokenizationText tokenization