How to turn on matching braces VS 2017

2019-08-18 01:44发布

I just installed VS 2017 but I can't seem to get matching braces turned on. I tried changing colors in the tools editor but that didn't work. Not sure what I did to turn this off.

Matching Braces

enter image description here

1条回答
虎瘦雄心在
2楼-- · 2019-08-18 02:14

OK, for some reason its only for JavaScript files. If this happens to you, go to Tools > Options > Text Editor > JavaScript/TypeScript > Language Service and uncheck the Enable the new JavaScript language service. If you have any JavaScript files open at the time you do this, you will need to close and then reopen them.

查看更多
登录 后发表回答