I don't see where in the fonts and colors settings javasc开发者_JAVA技巧ript settings can be changed.
VS2012 - Javascript Display Items:
Identifier = "All JS Identifiers"
Keyword = "All JS Keywords, i.e.: var, if, else, this"
String = "all string items"
Comment = "all comments in JS"
Open the IDE options dialog: Tools | Options | Environment | Fonts and Colors
In the Display Items list, look for items that start with "Script"
This is not a completely related topic for this question, but Google redirects me for what I searched, so I guess people may benefit from it being here.
In Visual Studio 2015, if you are working on a .cshtml
document and if you have javascript
code inside of it, you need to change Bracematching(Rectangle)
in Display Items
list.
精彩评论