Visual Studio Cheat Sheet 2019



VisualVisual

Visual Studio Code supports a command line interface, referred to asthe command palette. It is accessible via Ctrl+Shift+P orView > Command Palette....

Code suports workspaces with multiple directories.

Visual Studio Code is the most popular general-purpose IDE out there. Mastering it can improve your productivity phenomenally. This cheat sheet holds some of the most useful and productive shortcuts. I have not mentioned about universal shortcuts (like Ctrl+S to save) and seldom-used commands. Visual Basic has a simple syntax much of the language is easily understandable (that’s why it’s called Basic, doh). A few points: The language is not case-sensitive (So A and a are the same) Lines do not terminate with semi-colons Code is in code blocks, but not your standard Java or C# code block. Explore Go to everythingSymbol code completion Ctrl + T Go to type Ctrl + T (second hit) Go to symbol Shift + Alt + T Go to word Ctrl + T + T + T. CSS Flexbox Cheatsheet VS Code extension that lets you open a flexbox cheatsheet directly in the editor. The cheatsheet can be opened in a few ways.

  1. Add directories with File > Add Folder to Workspace....
  2. Save the workspace with Save Workspace As....
Visual

Install the Settings Sync extension. Follow theinstructions in the configuration guide, which uses GitHub Gist.

Visual Studio Shortcuts

Visual studio cheat sheet pdf

Visual Studio 2019 Cheat Sheet

To manually download or upload settings, use the command palette.

  • Sync : Update / Upload Settings
  • Sync : Download Settings

GitLens is an extension that supercharges Git, and it’s myfavorite feature in Code. It enables you to visually compare across branches,tags, and specific commits with an intuitive interface. It also allows you tovisually inspect files with specific commits marked in the margins.

Sheet

Install the Rewrap extension.Hard wrapping isn’t natively supported yet.I wrap my code at a width of 80 characters.

  • Alt+Q: Hard wrap at the defined width.

Install the Markdown All in One extension.

Visual Studio Cheat Sheet 2019 Printable

  • Ctrl+Shift+V: Switch between views.
  • Ctrl+K V: Preview side by side.

R support currently isn’t great, and needs to be updated. At the point, I’drecommend using either RStudio or ESS.

GitHub also maintains a similar code editor named Atom that is based onElectron. Microsoft has since acquired GitHub, and much of thefunctionality offered in Visual Studio Code is superior to Atom, in myopinion. I’d recommend switching over to Code from Atom, if possible.