Taking full advantage of the Visual Studio editor features will make you a more productive developer. Any keyboard warrior will tell you that knowing the right shortcuts boosts that productivity even further. So, we’ve put together a short little video that demonstrates some useful shortcuts you can use while coding in Visual Studio.
In the video, we cover the following shortcuts:
| Ctrl + D | Duplicate lines |
| Ctrl + Shift + L | Delete whole line |
| Shift + Alt + . | Select next occurrence |
| Alt + select | Vertical (box) selection |
| Alt + Ctrl + mouse-click | Insert multiple cursors |
There are many other features for editing your code. One way to discover them is to look in the Edit menu.
Happy coding!

Sorry by the sidestep: I use Visual Studio 2022 preview. Today it started spell checking variable names and giving hundreds of spell check warnings.
In this blog on the image that shows the shortcuts (Edit/Advanced) theres an opcion for toggle spell check. I don’t have that option.
My instal is up to date. How can i toggle spell check?
Thanks!
Does this help? https://devblogs.microsoft.com/visualstudio/visual-studio-spell-checker-preview-now-available/ 🙂
What about Ctrl + Shift + (Left/Right) Arrow? I use it a lot when positioning multiple carets in different length named properties. Or simply to faster select method name or faster horizontal navigation.
btw. In table could be the full command name used in Options/Keyboard (eg. Edit.InsertNextMatchingCaret = Select next occurence) in case someone would like to change it or the default one is unmapped for some reason.
In flagship Visual Studio 2022 for Windows, what’s the shortcut to turn-on the line length guidelines (the one that marks, for example, an 80 character line) in the editor?
Not out of the box, but this Extension does it – https://marketplace.visualstudio.com/items?itemName=PaulHarrington.EditorGuidelinesPreview
Good tips! It would be nice if the full screen option worked on the embedded YouTube player.