

Go to Settings > Text Editor > Formatting and enable Format On Save. Keep your sanity intact by using these auto formatting tools to have VS Code format your code every time you save your file! This situation can lead to numerous small commits to try to squash every warning or error that pops up. When developers are first starting out, they can get frustrated when they open that first pull request only for the CI/CD pipeline to flag their code because it doesn’t meet the formatting guidelines.

Many projects these days have formatting requirements for contributing-and rightly so. You will need a new or existing GitHub or Microsoft account to enable this option. The easiest way is to click on the silhouette icon in the bottom left and choose Turn on Settings Sync…. This also makes it easier to have the same experience across multiple development machines. First Things Firstīefore we start modifying settings or installing extensions, we want to enable Settings Sync so that all of our changes are automatically backed up to the cloud. All of the extensions that I highlight are free and all of the settings can be reverted, so there is no harm in giving them a try. Whether you have never heard of VS Code or if you already use it on a regular basis, I am hoping you will take something away from this post to help you become a more efficient developer. These take VS Code beyond being just a simple code editor to being a very powerful automation tool. In this blog post, I will showcase some of the tips, tricks, settings, and extensions that can enhance VS Code. There is a large community surrounding VS Code and contributions to it continue to increase. Visual Studio Code (VS Code) is a free cross-platform code editor that has risen in popularity in recent years.
