Visual Studio Code
Ctrl + Shift + K
Command + Shift + K
Delete Line
Ctrl + \
Command + \
Split Editor
Shift + Alt + 0
Option + Command + 0
Toggle Vertical/Horizontal Editor Layout
Ctrl + Alt + Left
Command + K Shift + Command + Left
Move Editor Into Previous Group
Ctrl + Alt + Right
Command + K Shift + Command + Right
Move Editor Into Next Group
Ctrl + Shift + `
Control + Shift + `
Create New Integrated Terminal
Ctrl + Shift + [
Option + Command + [
Fold
Ctrl + Shift + ]
Option + Command + ]
Unfold
Ctrl + K Ctrl + 0
Command + K Command + 0
Fold All
Ctrl + K Ctrl + J
Command + K Command + J
Unfold All
Ctrl + Shift + .
Command + Shift + .
Focus Breadcrumbs
Ctrl + K C
Command + K C
Compare Active File With Clipboard
Ctrl + K E
Command + K E
Focus On Open Editors View
Emmet: Tag wrapping: Ctrl+shift+p - wrap with abbrevation -> div https://docs.emmet.io/cheat-sheet/ keybinf to shift+alt++;
Shortcuts: Ctrl + Shift + F - Search Text Through All Files At Once (Windows: Ctrl + Backspace - To delete a previous word, you can press Ctrl + Shift + Right - Select in words Ctrl + Shift + Home/End Select everything to the left/right
Working with tabs:
ctrl + 1,2,3 - to move to editor group ctrl + tab - to select any current tab from dropdown ctrl + pageup/down - to move between tabs ctrl + alt + arrow - move tab to the side shift+alt+u - upload settings shift+alt+d - download settings Ctrl + shift + h - global serach Ctrl + b - hide side bar
Ctrl + j - hide command bar
CTRL+SHIFT+P - show the command palette CTRL+k CTRL+T - show the lists of themes CTRL+T - Finding a class, function or variable in all files. CTRL+K Z - Toggle Zen Mode CTRL+K CTRL+U - Uncomment a block of code CTRL+, - Go to user settings Ctrl+K CTRL+S - Go to keyboard shortcuts Ctrl+F - Find Ctrl+H - Replace Ctrl+Shift+Enter - Replace All ALT+Enter - Select all occurrences of Find match ALT - Show definition F12 - Goto definition CTRL+= - Zoom In Alt Text CTRL+- - Zoom Out Shift+UpArrow - select all code one line up Shift UpArrow and DownArrow Shift+DownArrow - select all code one line down ALT+UpArrow - Move the selected code one line up Alt UpArrow and DownArrow ALT+DownArrow - Move the selected code one line down ALT+SHIFT+UpArrow - Copy the selected code one line up ALT+SHIFT UpArrow And DownArrow ALT+SHIFT+DownArrow - Copy the selected code one line down CTRL+B - Toggle Sidebar CTRL+SHIFT+X - Show Extensions CTRL+SHIFT+G - Show Source Control CTRL+SHIFT+E - Show File Explorer CTRL+SHIFT+D - Show Debug SideBars
CTRL+SHIFT+V - Preview Markdown
Autosave: File -> Autosave Change project from terminal - code . (or location of the folder) -r Rename All Occurrences - F2 Rename Current file Occurrences - Ctrl + F2 Go to Definition - F12 or Ctrl + Mouse click Edit Multiple Lines at Once - Alt + Mouse click Ctrl + k + z / View->Appearance->ZenMode Command pallete: Ctrl + P Keyboard chearsheet - https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
IDE: Extensions: • CodeLens • Chronicler - take a video when you are coding Fonts: • https://github.com/tonsky/FiraCode/wiki • https://www.slant.co/topics/5611/~monospace-programming-fonts-with-ligatures Productivity: • https://medium.freecodecamp.org/here-are-some-super-secret-vs-code-hacks-to-boost-your-productivity-20d30197ac76 • https://vscodecandothat.com/ Typing: • https://marketplace.visualstudio.com/items?itemName=jevakallio.vscode-hacker-typer Tools: • https://scotch.io/bar-talk/22-best-visual-studio-code-extensions-for-web-development/amp Markdown: • https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint&wt.mc_id=devto-blog-jopapa • https://marketplace.visualstudio.com/items?itemName=bierner.markdown-preview-github-styles&wt.mc_id=devto-blog-jopapa • https://marketplace.visualstudio.com/items?itemName=ban.spellright&wt.mc_id=devto-blog-jopapa Live coding: • https://dev.to/ninjabunny9000/5-useful-vscode-extensions-for-live-coding-239b
Last updated
Was this helpful?