Hi @Mihai F ,
Welcome to Microsoft Q&A!
Which version of Visual Studio are you using? Please update it to the latest version with Visual Studio installer.
I tested with the latest version of VS2022 Community version 17.5.4. The class color in JavaScript file can be changed through User Types – Classes option.
If you want more richer syntax highlighting for JavaScript file, you can use the Visual Studio 2022 Preview version.
Sincerely,
Anna
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.