Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

VS Code — Disable Auto Save when Errors

In this post, we will explore a new VS Code setting that allows you to disable Auto Save when errors are detected in the file.

This feature can be useful in situations where external tools are monitoring the file and you want to avoid these tools to act on files that contain errors.

How to enable the feature

Press CTRL + , (comma) and search for “auto save errors“.

Then tick the Files: Auto Save When No Errors checkbox.

This setting only applies when Files: Auto Save is enabled.

You can also enable or disable the Files: Auto Save When No Errors setting via your settings.json file:

"files.autoSaveWhenNoErrors": true

Prefer a video instead?



This post first appeared on Neutron Dev, please read the originial post: here

Share the post

VS Code — Disable Auto Save when Errors

×

Subscribe to Neutron Dev

Get updates delivered right to your inbox!

Thank you for your subscription

×