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.
It's not managing AutoCompletion. Example when I want to change the class in multiple sentences, and autocomplete shows up, I press Enter, and the change is made only in one place the other locations are not affected.
when i alt drag over a couple of lines i have the following problem:
all my actions are executed twice
this is probably because visual studio supports the same feature.
Can anyone confirm this bug?
First of all, thanks a lot for your great work on this plugin :)
In Sublime Text, I can hold Ctrl, select multiple texts, and start typing to overwrite all instances at once.
1. Is this possible with MultiEditing plugin? If so, how?
2. If not, any plans to implement this?
Thanks again for the awesome plugin :)
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.
I can confirm the issue. I am also having issues on file types other than CS. JS, CSS, VB files don't seem to work. I doubt this has anything to do with it, but I'm on Windows 7 x64. I'm using VS 2012.2.
So a friend of mine had version 1.2 installed and after upgrading to 1.3 the extension stopped working in all files except for C#. So that is the most likely culprit right now.
I downloaded the source and through the debugger I saw that on the C# text editor was getting the left mouse click events. The other files were however receiving the other commands correctly.
TBH I'm not 100% sure how the Exec function ties into the text editors events. It seems like everything gets wired up properly except for the left click event.
This tool is just what I have been looking for for AGES. Who knows how many hours of tedious nonsense I would have saved myself from if VS had ever had this functionality. Unfortunately, I am also running into the problem where it will only work with C# files. Are there any known tweaks/fixes for this problem yet? I mainly work with C++ and would love to be able to use it with that.
I looked into the issue and it seems to be a command routing issue (something is getting before me in processing the events)
I'm trying to figure out if there's a workaround.
As for saving time with the functionality - I'd love us to build stuff when their missing. (That's why I posted the source)
I work on the Editor and we have exciting stuff coming, but in most cases, there'll always be a feature someone needs - and in that case - Build and share <3
I'll keep trying to figure out a way around the bug
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; 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