Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to emulate the 'multiple cursor' features of Sublime Text in Visual Studio?

Is there a way to emulate the 'multiple cursor' features of Sublime Text in Visual Studio?

I'm aware that you can use ST2 as your external editor in Visual Studio, but I'm not sure this is possible in the Express Edition.

like image 801
roadrunner66 Avatar asked Feb 02 '13 21:02

roadrunner66


People also ask

How do I get multiple cursors in Visual Studio?

Ctrl+D selects the word at the cursor, or the next occurrence of the current selection. Tip: You can also add more cursors with Ctrl+Shift+L, which will add a selection at each occurrence of the current selected text.

How do I get multiple cursors in Sublime Text?

While you can place multiple text cursors in Sublime Text with Cmd–Click (Mac) or Ctrl–Click (Windows), here's another technique that comes in handy. Hold Ctrl–Shift (Mac) or Ctrl–Alt (Windows) and hit Up or Down Arrow to place an additional text cursor above or below the current cursor.


2 Answers

Check out this new Visual Studio add-on which brings exactly what you want, It supports all versions of Visual Studio since 2010.

Showing multi edit in VS

Since Visual Studio Express doesn't support add-ins, there is no way to enable this feature on the express version.

like image 77
jessehouwing Avatar answered Sep 21 '22 19:09

jessehouwing


Update! In VS 2019 we can use ctrl+alt+click. Also, it brings the old block selection (alt+mouse selection) and other options like the ones in Edit>Multiple Insertion Symbols.

like image 21
Raúl Otaño Avatar answered Sep 21 '22 19:09

Raúl Otaño