开发者

Visual Studio 2010 C++ unwanted whitespace automatically added

开发者 https://www.devze.com 2023-02-02 12:57 出处:网络
I figured this was the best place to ask. In visual studio 2010 c++, the IDE automatically fills every line where I don\'t have text with white space. This makes it difficult, when I click on white s

I figured this was the best place to ask.

In visual studio 2010 c++, the IDE automatically fills every line where I don't have text with white space. This makes it difficult, when I click on white space it puts my cursor directly where I clicked because there is white space across every line that I make. Is there a way to turn this behavior off?

Every search I have tried comes up with people asking abou开发者_如何学JAVAt how to toggle the visualization of white space, so it makes it difficult to find the correct answer. This makes using the IDE difficult, and this behavior does not happen when I use vs2008. To be honest, I did make some IDE option changes but I don't think anything that would cause this.

To be complete, I do not think it will matter, the two VS2010 addins I currently have installed are AnkhSVN and QT 4.7.1 addin.

Thanks!


I believe that the setting that you've somehow turned on is "Virtual Space".

It's a setting available in the Tools -> Options dialog, under Text Editor / <Language, in this case C/C++> / General.

Here's a blog post about it also.

0

精彩评论

暂无评论...
验证码 换一张
取 消