Here's a cool feature that you probably not familiar with - You can make a selection box of text while pressing Alt key while dragging the mouse, within Visual Studio.
This is what happens when selecting text in the standard way:
 |
selecting text in the standard way |
|
|
Here are some good use cases for this feature:
Vertical selection of code:
 |
vertical selection of code |
Zero length selection:
 |
zero length selection |
Multiple line typing:
 |
multiple line typing |
You can use this feature to a variety of purposes - adding, deleting, editing a vertical selection of code, also copying and pasting, and generally be more pragmatic :)
No comments:
Post a Comment