How to edit colors of syntax highlight in Code-D for VS Code

WebFreak001 d.forum at webfreak.org
Thu Apr 4 16:09:57 UTC 2019


On Thursday, 4 April 2019 at 09:43:48 UTC, Jacob Carlborg wrote:
> On 2019-04-03 22:08, WebFreak001 wrote:
>
>> hi, I think the only way to edit the syntax highlighting in VS 
>> Code is to edit the plugin itself (for code-d this would be at 
>> https://github.com/Pure-D/code-d/blob/master/syntaxes/d.json)
>> 
>> See also: 
>> https://stackoverflow.com/questions/40175795/how-to-add-keywords-syntax-highlighting-to-language-extension (the changes are not permanent and not really good to maintain, try getting them in upstream instead)
>
> For the colors. Doesn't VS Code have themes to control this?

themes will change entire types and you can't really change the 
grammar if you find something annoying (like for example types 
and names having the same color)

But if OP just wants different colors then themes would be the 
way to go yes


More information about the Digitalmars-d-ide mailing list