Visual Studio Code Cheat Sheet
GaMa
Posted on August 31, 2017
I will update this post as I found shortcuts in vscode that I consider might be useful :)
Select and edit text based on a regex
- Ctrl+F : Open find widget.
- Alt+R : Turn on regex mode.
- Input search text : Regex text or normal text.
- Alt+Enter : Select all matches.
- Left arrow : Adjust cursors. (Ignore this step if you don't want to edit the selected text.)
- Edit text : Do what you want.(Ignore this step if you don't want to edit the selected text.)
- Shift+Home : Select modified text.(Ignore this step if you don't want to edit the selected text.)
- Ctrl+C : Copy selected text.
- Ctrl+N : Open a new tab.
- Ctrl+V : Paste.
Compare files
- Open the first file to compare.
- ⌘ + ⇧ + P to bring the menu
- Type: Files: Compare Active File With...
- Select the file to compare to.
💖 💪 🙅 🚩
GaMa
Posted on August 31, 2017
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.