The mouse is a pretty handy tool for selecting text. In this section, we'll highlight how to use the mouse in an advanced way so that you can make quick edits to your code's text.
Extended mouse usage in Visual Studio
How to do it...
- Hold down the Ctrl key while clicking to select an entire word:
- Hold down the Alt key to select a box of text (Alt + left-click + drag):
You can then either cut, copy, or overwrite the box-shaped text area; in the latter case, the characters you type will be repeated in all selected rows.
How it works...
Mouse-clicking alone can be tedious, but with the help of Ctrl + Alt, it becomes quite cool.