Skip to content

Latest commit

 

History

History
76 lines (57 loc) · 4.25 KB

File metadata and controls

76 lines (57 loc) · 4.25 KB

Visual Studio Code

Return Home

Cool VS Code Extensions

^ back to top ^

Shortcut keys

  • ctrl a k s Will select all the code in your editor window and then reformat it nicely
  • ctrl ` Opens a terminal window to your project folder
  • code . from a terminal, opens VSCode to that folder
  • ctrl shift p for VSCode command palette
  • ctrl = zoom in
  • ctrl - zoom out
  • shift alt for block select with mouse
  • ctrl space for intellisense
  • ctrl / to comment / uncomment
  • f2 rename symbol
  • ctrl , opens VSCode settings
  • alt-shift allows selecting multiple lines within the editor to simultaneously change

^ back to top ^

Useful settings

Access via the settings page ctrl ,

  • Search compact and uncheck Explorer: Compact Folders to have folders use a tree view, rather than compact view.
  • Open settings and search for autosave in the search bar. Set autosave to afterDelay and autosavedelay to 3000. (Saves files after 3 seconds of inactivitiy)

^ back to top ^

Issues

Mouse pointer dissapears

Mouse pointer almost dissapears in coding widows, using dark-mode themes, and when using AMD GPUs

  • ctrl-shift-p to open the VSCode command palette
  • Type in `Preferences: Configure Runtime Arguments
  • Disable hardware accelleration
// fix for dark cursor in editor on AMD GPUs
"disable-hardware-acceleration": true
  • save file and restart VSCode

^ back to top ^