Visual Studio 2010 C++自动添加不需要的空格
我认为这是最好的提问地点。
在 Visual Studio 2010 C++ 中,IDE 自动用空白填充没有文本的每一行。这使得事情变得很困难,当我单击空白时,它会将光标直接放在我单击的位置,因为我制作的每一行都有空白。有没有办法关闭这种行为?
我尝试过的每次搜索都会有人询问如何切换空白的可视化,因此很难找到正确的答案。这使得使用IDE变得困难,而当我使用vs2008时,这种行为不会发生。老实说,我确实做了一些 IDE 选项更改,但我不认为有什么会导致这种情况。
完整地说,我认为这并不重要,我当前安装的两个 VS2010 插件是 AnkhSVN 和 QT 4.7.1 插件。
谢谢!
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 about 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!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信您以某种方式打开的设置是“虚拟空间”。
这是“工具”->“工具”中可用的设置。选项对话框,在文本编辑器/<语言,在本例中为 C/C++> 下/ 一般的。
这是一篇博客文章 也关于它。
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.