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 this extension 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.
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?
Ctrl+Shift+L and Ctrl+D are already in use.
Ctrl+Alt+L : View.SolutionExplorer
Ctrl+D : WindowsAzure.ShowMobileServiceScriptErrorDetails
Ctrl+D : Format.TabOrder
Ctrl+D : Edit.GoToFindCombo
With all the shortcuts that are used by Visual Studio plus any extras you might get with tools like ReSharper, how many shortcut are left?
I can't imagine how difficult it is to come up with new shortcuts.
We use Ctrl+K,C to comment and Ctrl+K,U to uncomment. But we couldn't use Ctrl+C,K to uncomment because Ctrl+C is in use. I didn't program this and don't know why they couldn't just have Ctrl+K,C do both the commenting and uncommenting.
mc/insert-numbers: Insert increasing numbers for each cursor, top to bottom.
mc/insert-letters: Insert increasing letters for each cursor, top to bottom.
Hi, I need to do partial selection for multiple lines but I couldn't get it to work.
Here is how I approached it:
- Alt + click to put multiple cursor on different places in my code.
- Hold Shift and left or right arrow keys to select part of each line all together but I only get selection for the first line.
Not sure if I am doing it wrong or there is no support for it yet.
If it is not implemented yet, it would be really great for productivity to have this feature (just like sublime text)
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