If the text in the clipboard contains multiple lines, the subsequent lines will be appended to the end of each of the following lines in the editor. This trick adds the Edit.PasteAppendToLines command (Edit > Paste - Append to Lines). When executed, this will paste text from the clipboard to the end of the current line. This trick adds the Edit.CopyAppend and Edit.CutAppend commands (Edit > Cut Append & Edit > Copy Append). When executed, they will copy (or cut) the selected text (if any) or the current line (if no text is selected) and append the copied/cut text to the existing clipboard text (instead of replacing it). This trick adds the Edit.CopyasPlainText command (Edit > Copy as Plain Text). When executed, it will copy the current selected text (if any) or the current line (if no text is selected) to the clipboard as plain text, instead of rich text (which is the default for Visual Studio). When executed, it will duplicated the selected text (if any) just after the selection, or if there is no selection it will duplicate the current line. This trick adds the Edit.DuplicateLineSelection command (Edit > Advanced > Duplicate Line/Selection). In addition, you can specify a counter value that's incremented for each line to add to the text as well. When executed, it will prompt for text to prepend and append to each line that is currently selected. This trick adds the Edit.SurroundSelectedLines command (Edit > Advanced > Surround Selected Lines). You will need to go into Tools > Options > Environment > Keyboard and bind keystrokes of your choosing to the desired commands listed above. Ctrl+Left, Ctrl+Right) to use sub-word navigation. Note that the installer for this extension does NOT modify your keyboard bindings (e.g. (There are no menu items for these commands.)
![visual studio 2019 shortcut cheat sheet visual studio 2019 shortcut cheat sheet](https://i.stack.imgur.com/SNRku.png)
Sub-words are defined by camelCase, PascalCase, or words_with_underscores. When executed, these commands move the cursor forward or backward by sub-words instead of whole words. This trick adds the Edit.SubWordNext, Edit.SubWordPrevious, Edit.SubWordNextExtend, Edit.SubWordNextExtendColumn, Edit.SubWordPreviousExtend, Edit.SubWordPreviousExtendColumn, Edit.SubWordDeleteToEnd, and Edit.SubWordDeleteToStart commands. The following describes each trick in more detail. If you have questions or problems with this extension, please ask a question here on the marketplace or email me at: vstricks -at. Version 1.3: First version released publicly. Version 1.4: Fixed a bug with sub-word navigation in virtual space. Version 1.5: Added support for Visual Studio 2013 fixed a bug with sub-word navigation over underscores. Version 1.6: Added support for Visual Studio 2015 added Edit.SubWordDeleteToEnd, Edit.SubWordDeleteToStart, Edit.SubWordNextExtendColumn, and Edit.SubWordPreviousExtendColumn commands fixed a bug with duplicating multi-line selections. Added settings for using capital letters, numerals, and/or underscores as sub-word boundaries. Version 1.7: Added settings page for sub-word navigation. Version 1.8: Added support for Visual Studio 2017 added new options to the Surround Selected Lines dialog and fixed bugs in that feature. Moved menu items to appropriate places in Edit. Version 1.9: Added CopyAppend, CutAppend, PasteAppendToLines, and DeleteTrailingWhitespace commands. Version 1.10: Initial support for Visual Studio 2019 (support for auto-asynchronous loading will come soon). Version 1.11: Final support for Visual Studio 2019, with auto-asynchronous loading. Added setting for extend/delete next sub-word commands to stop at the end of the current word instead of continuing to the beginning of the next word. Added intro window on first launch to set keyboard shortcuts. Version 1.12: Added settings page for setting common keyboard shortcuts.
![visual studio 2019 shortcut cheat sheet visual studio 2019 shortcut cheat sheet](https://miro.medium.com/max/5118/1*h1KupJZHJWRs1OWjqbkmnA.png)
![visual studio 2019 shortcut cheat sheet visual studio 2019 shortcut cheat sheet](https://www.thewindowsclub.com/wp-content/uploads/2010/07/visual-studio-keyboard-shortcuts.png)
VSTricks is a Visual Studio extension that adds a few simple productivity enhancements to the development environment: