Outman
Outman

Reputation: 3310

Visual Studio 2017 User-defined Custom Syntax Color

What I'm trying to implement is a color change in comments that are followed by a specific "code tag", say // notetoself:.

So instead of the regular default green for comments, or completely changing the color for comments, I only want comments starting with // notetoself: to change color to something like this:

enter image description here

Pretty aesthetic, isn't it? But I digress.

I tried messing with the .vstheme but I'm not aware of how the tags are defined outside the .vstheme itself, as in where Visual Studio defines them. I also tried looking for a way to only customize Task List Tokens but they're considered mere comments by the theme editor.

Any help would be greatly appreciated.

Upvotes: 2

Views: 59

Answers (1)

Omar Hamdan
Omar Hamdan

Reputation: 192

Here's a VS2017 extension that can do exactly what you want.

Upvotes: 2

Related Questions