Visual Studio 2012: Syntax Highlighting is turning off and on

前端 未结 9 1116
名媛妹妹
名媛妹妹 2020-12-16 19:03

I\'m using VS2012 and I\'m quite happy with it. But the problem is, whem I\'m coding in C++, that the syntax highlighting is turning off an on all over again. Sometimes, the

9条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-16 19:09

    For me, highlighting always stops working when the first visible line in the editor begins with the characters '//' and I trigger reparsing somehow (CTRL + S for instance).

    Highlighting always works fine when the first visible line in the editor begins with anything else, even with a whitespace, and I trigger reparsing somehow.

    I could indent all my comments and never experience this problem, but now that I know about it, it's not so annoying anymore, so I let it be.

提交回复
热议问题