Visual Studio Code Cheat Sheet

If you like Atom as a multi purpose editor Visual Studio Code might be a good option for you, too.

Atom - A hackable text editor for the 21st Century

Visual Studio Code - Code editing. Redefined.

Just grab Visual Studio Code and have a look at the Getting Started.

While working with the new Editor I found the following shortcuts very usefull:

Menu Path Shortcut
View: Command Palette... <⇧> + <⌘> + P
File: Go to File <⌘> + P
File: Open Recent <^> + R
Terminal: open integrated terminal <^> + \
Markdown: open perview <⇧> + <⌘> + V
Replace in open file <⌥> + <⌘> + F

The full reference is available as Key Bindings for Visual Studio Code.

Format (XML) files

How do you format code in Visual Studio Code (VSCode)

Menu Path Shortcut
Format Document <⇧> + <⌘> + F

But, … you need an Extension (<⇧> + <⌘> + X)

Select XML Tools, hit install, then reload … et voila: Formatting of XML is ready to use.

Feel free to comment if we missed essential short-cuts / resources / ...

Show Comments