Native multi-editing (multiple cursors and selections) support
Multiple selections/cursors in Sublime Text is by far the most useful editor feature I have in my toolbox. Using search and replace in Visual Studio is slow and unwieldy in comparison and I find myself frequently copying blocks of text into Sublime Text just to perform versatile edits using multiple cursors, after which I copy the result back into Visual Studio.
A future version of Visual Studio would win huge points with this feature alone.
We are currently evaluating whether we can include this feature in a future version of Visual Studio – thank you for your feedback!
Program Manager, Visual Studio Editor Team
Juliano Penna commented
In fact this is currently working.
I had trouble because of the Alt keybinding with Click (I think is something related to Ubuntu OS).
You should try changing the key to Ctrl in Selection > Switch to Ctrl+Click for Multi Cursor.
Didn't miss any of the stuff I had previously after switching to Ctrl.
Definitely the most urgent feature Visual Studio lacks.
Dave Parizek commented
@Admin Any updates on whether or not Visual Studio will add it? You have been evaluating since April.
Man, all editors have this already.
More than a year later. This feature is still not implemented
Dave Parizek commented
A must have and a HUGE shame on the Visual Studio team that this is not present in VS2017!!! Keeping me from adopting Microsoft products for many projects!!
Bryan Munro commented
It is hard to express just how useful this would be. I use the extension that enables basic multi cursor support but I still find myself copying and pasting between visual studio and sublime text on a regular basis.
I create a similar, but I had no more time to continue and fix all bugs, but here it https://marketplace.visualstudio.com/items?itemName=JulioCG.SmartNextOcurrence
Christian Hagelid commented
Another example video showcasing this feature: https://vimeo.com/169515348
Pierrick Bignet commented
VSCode has this feature too ...
Even Chrome DevTools now have this feature - https://medium.com/google-developers/devtools-tips-for-sublime-text-users-cdd559ee80f8
and with multiple selections, the swapping of two selected sections must be given, as it is also available in sublime . Edit -> Permute Selections -> Reverse
Matt Ferderer commented
Nathan's video does a great job showing what this feature should be capable of.
Recently they have released a good extension that replicates the multi-editing of sublime text really well: https://visualstudiogallery.msdn.microsoft.com/f301cf82-e80b-4b92-9e5c-ef7985ae6702?SRC=Home
I can't work without it now! :D
Nathan Ridley commented
@Milan - let's keep this on topic. Sublime's search and navigation features are not the topic of discussion, and their level of superiority is debatable anyway.
@jerone - the multi-editing extension is not a workaround, any more than microsoft paint is a workaround for photoshop.
Milan Senesi commented
This is a must have. SublimeText does many things so much better and easier. Navigation to files/symbols is a blast, search is incredibly fast too. UI is much simpler and more convenient.
Hrusikesh Panda commented
Hard to imagine basic text editors such as SublimeText, Atom are kicking Visual Studio's ***. Of all useless improvements that MS prioritizes, this one would actually be something worthwhile!
John Smith commented
I agree whole-heartedly with the need for this in Visual Studio AND with the assessment that the available extension doesn't come close to being what is needed. Sublime Text implements this perfectly - it really is difficult to live without out this feature once you've had a taste of it.
Joshua Rocha commented
I'm getting the MultiEditing extension now, but I agree with Nathan. It's extremely limited, and there's no reason Microsoft's team couldn't implement this natively in VS.
I mean, if the ragtag Sublime Text team can do it, I'm sure a powerhouse like MS could do it.
Nathan Ridley commented
Here's an example of the sort of workflow enabled by true multiple cursor support:
Note the fact that I can make a selection, then either select everything that is the same as what is under my cursor, or I can incrementally add subsequent matches to the list of selections. Editing and selection operations are applied to all cursors independently. I am aware that Visual Studio only has the concept of a single cursor and that this may be a limitation in the way that VS talks to extensions, but perhaps it is possible to have a "primary" cursor which extensions (e.g. ReSharper's Intellisense override) applies to, with the actual selected edits still applying to all cursors.