I have been a heavy Visual Studio user for 10 + years. I was re-factoring some code today when I found that it has Column Editing capabilities. This was caused by me getting a keyboard short cut wrong and not noticing as I typed. From a quick Google this appears to be something that has been available for sometime. Usually when I need to do Column Editing in bulk I switch to (G)Vim and have often wished it was available in Visual Studio.
To edit columns in Visual Studio you simple have to hold SHIFT+ALT after selecting the start point with your mouse and then drag to select the columns you wish to edit. Start typing and your columns will all receive the edit.
As a side note Column Editing in (G)Vim is very easy. Simply hit CTRL+V to put you into column editing mode and then select the columns to edit. Once selected hit SHIFT+i to put you into insert mode and start making your edits. Once done hit ESC to exit column editing mode.
No comments:
Post a Comment