B
B
Blind_man2021-09-24 13:18:59
visual studio
Blind_man, 2021-09-24 13:18:59

How to make custom code syntax color in VS_2019?

I want to make the names of my classes a separate color and, for good, also a method for these classes. And I understand that in VS_Code this is completely done (albeit with zamarochki, for the inexperienced). But in VS_Code, I didn’t manage to fix syntax error highlighting. I reinstalled it... before setting it up, step by step with the official guides... forwarded the key extensions and packs... the result is zero...

=> (question):
Is it possible to make a separate color in VS_2019 for certain classes or libraries (ideally separately for certain methods or methods of these classes) separate colors?

- In the princepe there will be an opportunity to set the color simply for certain individual keywords, since it is unlikely that I will use the names of my classes somewhere else. Alya -> { if in the code, somewhere, there is a sequence of characters "myClass1", then the color of all the characters of this piece is N1... etc.}

// I just found the ability to change the colors of classes in the settings... but it applies to all classes, variables, methods, etc... Which won't work for me.
// I assume that this is somehow possible since Unity methods (such as Awake(), Update(), etc.) are highlighted separately in blue, not yellowish ... Not to mention that technically this is not a difficult task in my opinion, if Of course, the developers allowed it to be implemented ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananiev, 2021-09-24
@SaNNy32

Check out Enhanced Syntax Highlighting , it might suit your needs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question