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.
Very cool. Glad to see it. It is little helper features like this that really add to the total productivity capacity of a product like Visual Studio. Would love to see this baked in to the product.
Would like to see support for Express editions, but that is not the fault of the extension.
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:
1. Start
Me.TotalAmountTextBox
Me.NumberTextBox
Me.CustomerOrderTextBox
2. Select the end of the 3 rows and start typing "databindings...."
3. The result:
Me.TotalAmountTextBox.d(a)tabindings("Text").nullvalue=string.empty
Me.NumberTextBox.d(a)tabindings("Text").nullvalue=string.empty
Me.CustomerOrderTextBox.d(a)tabindings("Text").nullvalue=string.empty
thank you very much
Alberto
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.
Mmmm, nop - I can ask around and look into why this might be happening. I just open sourced the code, so you can try and debug it: https://github.com/AlaShiban/MultiEdit
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?
Ok I figure it out, it's because of a problem I have with the Visual Studio version selector (I have VS 2010's version selector even though I have VS 2012 installed!), you can safetly ignore this :)
http://www.skorkin.com/2011/06/how-to-implement-the-sync-edit-feature-from-delphi-ide-inside-visual-studio-ide-using-dxcore/#.URMV7idqnwk
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?
Would it be possible to allow installation into VS2012 Shell?
It does not want to install.
Is it only for C# or does it work on any text based file in VS?