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.
One problem I noticed, if I select the same position multiple times when I start typing it duplicates the ever key I press at that location. Ideally you'd be able to un-select a location, but even it just ignored the second selection it would help.
Thanks for creating this, It's a 5-star product even with that bug. I'm looking forward to updates.
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 tool Ala!
I've been using it ever since V1.0 and I love it! But now I got a new computer with Windows 8 on it and now for some reason MultiEditing only works in C# files. Have you had anyone else with this problem?
I uninstalled all other extensions to see if that was breaking it and I was still seeing the same behavior.
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
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?