

- #VISUAL STUDIO CODE USE VISUAL STUDIO SHORTCUTS FOR MAC OS#
- #VISUAL STUDIO CODE USE VISUAL STUDIO SHORTCUTS PRO#
#VISUAL STUDIO CODE USE VISUAL STUDIO SHORTCUTS PRO#
Pro tip: If you need some sample text content, try expanding lorem via Emmet! Emmet even adapts to React’s JSX syntax by using className instead of class. hover>thead>tr>th*3^^tbody>tr>td*3Įmmet’s main purpose is to quickly generate HTML structures by using a CSS-like syntax like in the example above (the command for this is Expand Abbreviation, available via the tab key by default). It’s even included in VS Code by default, so you can start using its features without any extension. Emmet’s ExpandĮmmet has been around for a while already but many developers haven’t heard about it or used it yet. Pro tip: For a more global handling of snippets and generally more awesome copy-pasting power, you should take a look at clipboard managers like CopyQ (multi-platform), Pastebot (MacOS) or ClipboardFusion (Windows). Make sure to take advantage of placeholders (e.g. Setting up custom snippets is also super-easy, so you can always create your own ones if your specific use case isn’t covered by an extension.


If you happen to work in a language or framework that repeatedly uses similar structures (hint: that’s very likely!), it makes a lot of sense to use snippets to quickly insert the boilerplate you need. editorconfig files, you should take a look at the extensions Beautify, Prettier and EditorConfig. I’m always surprised when people indent and “beautify” code in their editors manually - this is a step that can be easily automated! VS Code has an integrated formatter that can be triggered via the Format Document command or automatically by setting the editor.formatOnSave setting to true.įor advanced formatting that takes into account your existing.
#VISUAL STUDIO CODE USE VISUAL STUDIO SHORTCUTS FOR MAC OS#
Also, all shortcuts are indicated for Mac OS and might slightly vary for other operating systems. I mostly embedded links to the relevant setup guides though anyway. It improved my workflow a lot and I want to share the most helpful ones with you - hopefully you’ll find them useful, too.Īnd if you’re completely new to VS Code, you might additionally want to check the (very concise) official docs. I’m honestly super-impressed by the speed of development and look forward to each month’s feature-packed release.Īfter my switch from Atom to VS Code a few years ago, I learned about many useful customizations and extensions. Being a web developer nowadays can be lots of fun thanks to powerful and affordable (mostly free!) tools. Visual Studio Code (VS Code) is one of these tools and places itself among the most popular code editors with many developers using it and contributing to its development.
