开发者

Visual Studio 2010 double-click to select whitespace is too aggressive

In Visual Studio 2008 double clicking in a large section of whitespace would select all the contiguous whitespace only. Now I am using Visual Studio 2010 and double clickin开发者_StackOverflow中文版g in a large section of whitespace selects the word preceding and the word following the whitespace as well. This makes cleaning up large sections of whitespace more difficult (for alignment or other reasons). Is there a setting or way to get the older behavior?


This issue is killing me... glad I'm not the only one. Misery loves company. Anyway, here's a couple of links of MS acknowledging the issue, and a MS feedback post about it. Bottom line, they "may" try to fix it for the next version of VS. Ouch. It's on the Won't Fix list. The work around is a joke. I hope someone figures out a better fix or work around.

Acknowledgment of issue

Feedback post


This sort-of circumvents the question, but you can do Ctrl+E+D to format the document or Ctrl+E+F for format the selection (which removes the need to select any whitespace).


You can use the shortcut MAJ + HOME to reproduce the desired behaviour. I know it makes you use the keyboard, but you get used to it, and sometimes it's even helpful.

I know its not really a real solution but I can't write comments yet.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜