
- #Alt shift f visual studio code for mac code
- #Alt shift f visual studio code for mac mac
#Alt shift f visual studio code for mac code
Focus first/second/third editor window: ⌘ + 1 / ⌘ + 2 / ⌘ + 3 or Ctrl + 1 / Ctrl + 2 / Ctrl + 3Īlternatively, you can also check the official keyboard shortcuts of VS Code for macOS and for Windows.Show (focus) integrated terminal: ⌃ + ` or Ctrl + `.Show Extensions: ⇧ + ⌘ + X or Ctrl + Shift + X.Show Debug: ⇧ + ⌘ + D or Ctrl + Shift + D: Show Debug.Show Source Control: ⇧ + ⌃ + G or Ctrl + Shift + G.Show Search: ⇧ + ⌘ + F or Ctrl + Shift + F.Show Explorer: ⇧ + ⌘ + E or Ctrl + Shift + E.Select all occurrences of current word: ⇧ + ⌘ + L or Ctrl + Shift + L.
De-select previous match: ⌘ + U or Ctrl + U. Insert cursor above: ⌥ + ⌘ + ↑/↓ or Ctrl + Alt + ↑. Insert cursor: ⌥ + Click or Alt + Click. Find next/previous: ⌘ + G / ⇧ + ⌘ + G or Ctrl + F3 / Shift + Ctrl +F3. Open previously closed: ⇧ + ⌘ + T or Ctrl + Shift + T. Close all files: ⌘ + K ⌘ + W or Ctrl + K Ctrl + W. Go to symbol in the workspace: ⌘ + T or Ctrl + T. Go to symbol: ⇧ + ⌘ + O or Ctrl + Shift + O. Open next opened tab: ⌃ + Tab or Ctrl + Tab. Go to file / Go to previous file: ⌘ + P / ⌘ + P ⌘ + P or Ctrl + P / Ctrl + P Ctrl + P. Go to beginning/end of file: ⌘ + ↑/↓ or Ctrl + Home/End. Go to beginning/end of line: ⌘ + →/← or Home/End. Go to the next/previous word: ⌥ + → or Ctrl + →/←. Expand/Shrink selection: ⇧ + ⌃ + →/← or Shift + Alt + →/←. Select to the beginning/end of file: ⇧ + ⌘ + ↑/↓ or Ctrl + Shift + Home/End. Select line up/down: ⇧ + ↑/↓ or Ctrl + Shift + ↑/↓. : Select current line / current and next line / etc : ⌘ + L / ⌘ + L ⌘ + L or Ctrl + L / Ctrl + L Ctrl + L. Select the next/previous word: ⇧ + ⌥ + →/← or Ctrl + Shift + →/←. Select the next/previous letter: ⇧ + →/← or Shift + →/← Shift-Alt-T Moves the line containing the cursor below the next line Ctrl-J Lists members for statement completion when editing code Ctrl-U Changes the. Toggle line commment: ⌘ + / or Ctrl + /. Copy line up/down: ⇧ + ⌥ + ↑/↓ or Shift + Alt + ↑/↓ You can press Ctrl+Shift+P or F1 (windows and Linux users) and P or F1 (Mac users) to open the command Palette and search for required keyboard shortcuts.
#Alt shift f visual studio code for mac mac
On Windows : Shift + Alt + F On MAC OS: command + k + f On Ubuntu : Ctrl + Shift + I VS Code has great support for source code. Move line up/down: ⌥ + ↑/↓ or Alt + ↑/↓ Visual studio code's shortcut key for each OS.Delete line: ⇧ + ⌘ + K or Ctrl + Shift + K.Remove one word: ⌥ + ⌫ or Ctrl + Backspace.Open keyboard shortcuts: ⌘ + K ⌘ + S or Ctrl + K Ctrl + S.Open the command palette: ⇧ + ⌘ + P or Ctrl + Shift + P.You'll find below all of the different shortcuts I use: That's when I decided to learn all the essential shortcuts of my favorite code editor: VS Code. Seeing them slamming their keyboard and manipulating their code like pros made me think it was just ridiculous. Did you ever wanted to write code like a pro? To move chunks of code back and forth easily? Access whatever you want in the blink of an eye? Well, I did.Īll the coding courses I took were recorded by instructors who seemed to know their code editor by heart.