Simultaneously edit in more than one location in the editor
If you've ever ran into a case where you wanted to quickly change variable names or multiple loop conditions - you can use Multi-Edit to set virtual carets that all behave the same.
I've always been surprised that VS didn't already have this type of functionality. ReSharper got me most of the way there with Multi Selection, but now I have Multi Point Selection and I'm a happy camper!!
Yay! Finally. Great JOB! Still missing multiedit support for 'enter'-key some automation insert would be cool like ctrl+alt+1 : insert increasing numbers atselected places 1 2 3 4 ... ctrl+alt+0 : do the same starting with 0 1 2 3 ... ctrl+alt+a : do it with letters a b c d ... maybe even add some config menu where you can define your own lists ctrl+alt+w : mon tue wed thu fri sat sun ... just remembering one of those very cool gedit plugins that exists for ages :-)
Rated 5 stars just for the intention, as this is a feature I've missed in VS since I began to work with Sublime Text. Unfortunately, I'm still a 2010 person, so I couldn't try it, but maybe my employer will finally upgrade to 2012 when they see this!
Love it. It does exactly what it says it does. One mildly annoying thing is that when you undo, you undo a character at a time, whereas in normal editing, VS will undo the last word or several words you typed (since pausing basically). I hope to see multiple selections some day too!
Great tool; simple and fast.
One suggestion is adding support for paste.
Most of the times I already copied the text I want to insert on multi locations defined by your tool. But when pasting (Ctrl V or right-click paste) it will only only insert on the last location.
Oh and there's no link to here in the Extensions window in VS.
Keep up the great work.
Great idea though selecting with the mouse is a bit slow.
Please take a look at Sublimetext http://www.sublimetext.com - it's very easy to select with Ctrl+d and split a selection with ctrl+shift+l.
Could you add something similar?
It is more intuitive to automatically select items instead of asking users to manually select.
Hey Lex - I want the MultiEdit extension to do one thing really well (I still have to polish it more), and nothing else. My guess is that SyncEdit is doable , it could be a good exercise for you to write your own extension (and share it with the world)
I'm writing a tutorial on how to create extensions like MultiEdit, would that be interesting for you?
Check out http://www.alashiban.com/multi-editing-tutorial/ - It's still being modified and tuned (comments would be great). The implementation for this extension is very different, but this gives an idea on how to create editor extensions
Hi Ala Shiban.
First of all, the tool is very good and should be a std feature of the editor.
I have found a little problem related to the interaction of the Visual Basic editor Autocompletion features with your tool.
If you could check it for the next releases it would be great!
Here and example:
2. Select the end of the 3 rows and start typing "databindings...."
3. The result:
thank you very much
Great to see this functionality making its way into VS. I use sublime text and it allows you to make a selection then ctrl & d will select the next matching string, press ctrl & d will get the next one, then you can multi edit, does the MultiEditing component support this?