Visual Studio 2012:语法高亮显示正在关闭和打开 [英] Visual Studio 2012: Syntax Highlighting is turning off and on

查看:175
本文介绍了Visual Studio 2012:语法高亮显示正在关闭和打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用VS2012,我很高兴。但问题是,在我用C ++编码,语法高亮重新关闭一个。有时,突出显示是关闭的,我必须重新加载文件。此外,它的突出是相当缓慢。

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 highlighting is off and I have to reload the file. Also, it highlighting is quite slow.

有人知道如何修复吗?

推荐答案

这是一个很久以前,但我有同样的问题出现随机,直到刚刚。

I know this is a while ago but I have had this same problem appearing randomly until just now.

它将禁用,当文件中的最后一行是单行注释。 (// blah blah)。一旦我删除了文本突出显示再次工作!

It would disable when the last line in a file was a single line comment. (// blah blah). As soon as i removed that the text highlighting worked again!

这篇关于Visual Studio 2012:语法高亮显示正在关闭和打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆