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.
Top comments (1)
Some keybinds I like:
Ctrl+Delete to delete a word.
Ctrl+P to find a file or folder (That's amazing).
Ctrl+B toggle sidebar.
Ctrl+Home go to begining of file.
Ctrl+End got to end of file.