views:

323

answers:

2

Go into Notepad, Internet Explorer or most other applications that display or edit text. Triple click on some text. Windows will select the entire paragraph under the cursor.

This doesn't work in Visual Studio 2005.

How do I get triple click support in the Visual Studio text editor?

do VS 2008 or VS 2010 solve this?

Is there a macro, setting or plugin that will solve this?

+1  A: 

I haven't used it, but CodeProject has an article on SmartHelp 3.04 which mentions that you can triple click to select a whole line.

Also, from Craig Shoemaker's blog.

About VS 2010.

Further enhancements include the ability to triple-click an expansive element like a table and the editor selects the entire table’s markup. Want to surround that table with some additional markup? Just start typing with the table selected and your markup is inserted around the selected code.

Matthew Vines
+2  A: 

I wrote an extension for this for Visual Studio 2010 that you can download from the VS Gallery or directly from the extension manager in Visual Studio, by searching for "triple click" or my name.

You can also read the blog post I wrote about it and check out the source, on github.

Noah Richards