- Create Snippets for repetitive code, or use available extensions
- Create directories from VSCode GUI
- If you want to rename something, right click and select “Find All References” and then use “Rename Symbol” option
- Command Palette gives you all the power of the keyboard without having to memorize them
$ CTRL + P // opens command palette, by default search for scripts to open
$ CTRL + P + “>” // access to open any command in vscode along with commands from extensions ex toggle mini map
$ CTRL + P + “@“ // symbols search; for whole codebase use #TargetSymbol or #TSA for T…S..A…
$ CTRL + SHIFT + “.” // symbols search inside file itself
$ CTRL + G + “:NN” // Go to line NN; use “⬅️” or “➡️“ for character by character, or “CTRL + arrows” for word by word
$ CTRL + D // Find match, if you press D 5 times you can edit 5 occurrences at same time
$ ALT + CLICK // Set multiple cursors
$ ALT + SHIFT +↕️ // Move highlighted line
$ CTRL + L // Highlight lines
$ CTRL + “/“ // Toggle comments; anything that starts with “!” Is red, “TODO” is in orange
$ CTRL + "`" // open terminal; you can change name or color when you right click
$ CTRL + ➡️/⬅️ // move between words in terminal command
$ CTRL + K // clear terminal
$ ps aux | grep "vscode-server" | grep -v grep | awk * {print$2} * | xargs kill -9 // kill vscode server $ CTRL + SHIFT + D // launches debugger $ Option + Right/Left // Toggle word by word on MacOS $ Ctrl + Right/Left // Toggle by word on Windows/Linux
- Conditional breakpoints
- Logs
- Breakpoints
- Git Graph
- Git Lens
- Copilot
- Auto-rename Tag
- Better comments
- CMake
- CMake Tools
- CTags Support
- Docker
- Git History
- gitignore
- Jupyter
- PyTorch Snippets
- Rainbow CSV
- Relative Path
- Remote SSH
- Tensorflow 2.0 Snippets
- VSCode-icons
- VSCode-pdf
- XML Tools
- Grammarly
- Github Copilot Labs
- VSCode-Numpy-Viewer
- Snippets
- Remote Repositories Extension // open GitHub repos and manage them from viscose for pull requests, code review, etc
- Fira Code
$ p $ p type $ b <function_name> $ b arrays/two_pointers.c:15 $ info b // info about breakpoints $ enable <breakpoint_nb> $ disable <breakpoint_nb> $ delete <breakpoint_nb> $ clear // delete all breakpoints $ i b // lists all break points $ d
$ watch «where> // set new watchpoint $ delete/enable/disable <watchpoint_nb>
$ c // continue to next breakpoint $ c <n_iterations> // continue to the Nth iteration in for-loop $ s // step inside function $ n // next line $ l // list where we are first time, then moves $ frame $ h // help $ w // where are we $ q // quit $ bt // back trace $ finish // execute current function until it returns $ up // takes you to the function that's calling it