Visual Studio 2012: Syntax Highlighting is turning off and on

前端 未结 9 1113
名媛妹妹
名媛妹妹 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:24

    This is a bug in Visual Studio 2012:

    https://connect.microsoft.com/VisualStudio/feedback/details/760154/syntax-highlighting-sometimes-not-working

    0 讨论(0)
  • 2020-12-16 19:33

    I installed Visual Studio 2012 Update 3 yesterday and started experiencing the exact same behavior described in the original post. Based on some suggestions in this thread, I took at look at my extensions, and disabling AllMargins fixed the issue. I've since re-enabled AllMargins and everything appears to be working as it should.

    Try disabling and re-enabling any of your extensions; hopefully that will fix the issue for you.

    0 讨论(0)
  • 2020-12-16 19:36

    I had the same problem. Disabling the extentions sadly did not work for me.
    After searching around and realizing that it only happened on larger files,
    I got it to work by turning harware acceleration off.

    Tools->Options...->Environment->General
    *Automatically adjust [...] (off)
    *Use hardware graphics acceleration (off)

    0 讨论(0)
提交回复
热议问题