An Interest In:
Web News this Week
- April 26, 2024
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
- April 21, 2024
- April 20, 2024
October 4, 2019 11:54 am GMT
Original Link: https://dev.to/httpspauline/20-vs-code-shortcuts-to-speed-up-your-flow-2egk
20 VS Code shortcuts to speed up your flow
In this article I want to share some of my favorite and most used VS Code shortcuts that help me save time, make my life a little easier and, as a heavy keyboard user, also allow me to stay in my developer flow.
You may be familiar with some of them already but hopefully you will discover a new shortcut that you can introduce into your workflow starting right now.
I jotted down the key combinations for Mac users. If youre a Windows or Linux user, you can find the key bindings for your OS here.
Alright then, so without needing to select the entire line first...
X
- cut a lineC
- copy a lineK
- delete a lineL
- select the line
And while your cursor is on a specific line..
Enter
- insert a new line below itEnter
- insert a new line above itand
- move the line up/down
and
- duplicate line on the line above/below it
]
and[
- indent and outdent the line/
- (un)comment out the line
Or within a specific file..
D
- find other instances of selected codeZ
- toggle word wrap
Lastly, for some editor/window management..
P
- find and go to file (quick open)N
- new editorW
- close editorB
- toggle visibility of the side panel` - toggle visibility of the integrated terminal
2
- split screen into two editor groupsT
- reopen recently closed editorand
- view editor tab on the left/right
Happy coding!
Original Link: https://dev.to/httpspauline/20-vs-code-shortcuts-to-speed-up-your-flow-2egk
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To