⚠ Outdated: now VSCode support profiles
“You must have…” that’s the main title in a lot of post and videos starts when talks about Visual Studio Code extensions to get more attention, but this editor is like a chameleon that can morph his environment all that it wants, that’s why you need to create your own recipe.
These things are very opinionated. I’m going to share “my configuration" for general-purpose and I hope someone can pick something useful on the whole of this.
Recommend read first about settings on visual studio code to understand the difference between user and workspace settings.
Multiple Devices
Before starting, highly recommend install and setup Settings Sync extension. It adds the ability to back up your settings and extensions in the cloud using a private gist to store those files.
It syncs all extensions and complete User Folder that Contains:
- Settings File
- Keybinding File
- Launch File
- Snippets Folder
- VSCode Extensions & Extensions Configurations
- Workspaces Folder
So you can sync your devices and don't waste your time when making a factory reset or buy a new device.
Font
- Download and install Victor Mono fonts
Victor Mono is an open-source monospaced font with optional semi-connected cursive italics and programming symbol ligatures.
Extensions
Editor
Compare
Packages
Linters
REST
Pair Programming
Theme
Version Control
No need
There are a lot of extensions that are useless and can be replaced with some VSCode configuration to do the same.
Settings
Combine general-purpose (user settings) with specific purposes (workspace settings) on each project.
Keyboard Shortcuts
VSCode - Create Files and Folders without using mouse
Camilo Martinez ・ Oct 2 '20
VSCode - Terminal without using mouse
Camilo Martinez ・ Sep 30 '22
Dear Santa
I’m only missing one thing on this marvelous Editor, the ability to change from one environment to another and don’t have loaded all the tools even when they don't need them.
Actually, you can disable it manually on each project, but it will be good in the future to have the ability to switch between environments and shut down the extensions that are not needed.
While VSCode Team solves that, we can use a workaround creating flavored versions: React, Node.js, .Net y Arduino.
One Ring To rule them all!
You can make that your team works with the same settings just save it as settings.json
file and extensions as extensions.json
file, both inside .vscode
folder.
Then when someone clone/pull the repository will overwrite your Code user settings with workspace settings and show extensions as recommended.
Special Mention
Live Demos without the panic? Yeah... easy peasy Japanesey!
Bonus Track:
Highly recommend visiting https://vscodecandothat.com/ a great resource to learn useful tips on Code. And keep an eye on this Live Share extension.
Go to the menu Help > Interactive Playground
and you can try essential editor features in a short walkthrough.
That’s All Folks!
Happy Coding 🖖