如何在VS 2010中调整/编辑左选择边距区域的大小? [英] How to resize/edit left selection margin zone in VS 2010?

查看:250
本文介绍了如何在VS 2010中调整/编辑左选择边距区域的大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个神奇的搜索文字使我迷惑了几个月了:
当您将鼠标移到代码左侧时,您首先用一行和+-框击中了展开/折叠区域.继续到左侧,然后单击魔术师的线路选择"区域.不过这太愚蠢了,费特法则不赞成.继续,您会进入单击区域以设置和删除巨大的粉红色断点.

因此,到底如何使选线区域变大,至少要使其尺寸大三倍.理想情况下,我可以使断点东西需要命令键,这样它就可以停止我的行编辑,而可以帮助增加更多的区域.

更新:该区域称为选择边距.

The magic search text for this has eluded me for months:
When you move your mouse to the left of your code you first hit the expand / collapse zone with a line and + - boxes. Continue to the left and you hit the magic "line select" zone. It is stupid tiny though and Fitt''s Law disapproves. Continue on and you get to the click zone for setting and removing breakpoints which is gigantic and pink colored.

So, how on earth do I make the line selection area large, like at least triple the size. Ideally I can make the breakpoint stuff require command keys so it stops barfing up my line editing and instead helps add more area to it.

Update: the zone is called the selection margin.

推荐答案

您的编辑想法看起来很周到.

你知道吗?如果您认为Visual Studio编辑器是错误的,请意识到您几乎没有什么变化可以被Microsoft倾听,尤其是当您只是抱怨甚至提出投诉时.坦白地说,我从未听说过Microsoft对此类事情做出了正确的反应.

这是一个主意:您是否愿意设计自己的文本编辑器,以进行选择的完美处理,扩展/折叠代码范围片段(顺便说一下,突出显示语法)并发布您在CodeProject上的工作?这是我能想象得到的唯一听到声音的方法.

(此外,作为参考,请查看SharpDevelop和MonoDevelop的编辑器,请参见:
http://en.wikipedia.org/wiki/SharpDevelop [ http://sharpdevelop.com/ [ ^ ],
http://en.wikipedia.org/wiki/MonoDevelop [ http://monodevelop.com/ [ ^ ].)

祝你好运,
—SA
Your editing ideas looks pretty thoughtful.

You know what? If you think Visual Studio editor is wrong, please realize that you have very little change to get listened by Microsoft, especially if you simply complain or even file a complain. Frankly, I never heard that Microsoft responded properly to such things.

Here is the idea: would you care to devise your own text editor with perfect treatment of selection, expanding/collapsing of the code-scope fragments (and, by the way, syntax highlighting) and publish you work at, say, CodeProject? This is the only way to get heard I can possibly imagine.

(Also, for references, take a look at the editors of SharpDevelop and MonoDevelop, see:
http://en.wikipedia.org/wiki/SharpDevelop[^],
http://sharpdevelop.com/[^],
http://en.wikipedia.org/wiki/MonoDevelop[^],
http://monodevelop.com/[^].)

Good luck,
—SA


最初出现此问题是因为我关闭了行编号.谁使用行号?

通过再次打开它们,我为视觉噪声添加了编号,但是选择余量增加到了可用的大小.
The issue initially arose because I turned off line numbering. Who uses line numbers?

By turning them on again I get numbering visual noise added, however the selection margin increases to a usable size.


这篇关于如何在VS 2010中调整/编辑左选择边距区域的大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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