Home  >  Article  >  Development Tools  >  How to set up automatic saving in vscode?

How to set up automatic saving in vscode?

青灯夜游
青灯夜游Original
2019-12-30 16:31:4510128browse

vscode is a lightweight, cross-platform, easy-to-use code editing tool developed by Microsoft that supports multiple development languages. It is an artifact for entry-level learning and development. Let me introduce to you how to set up automatic saving in vscode.

How to set up automatic saving in vscode?

How to set automatic saving in vscode

1. After opening vscode, click Settings in the lower left corner (Gear-shaped) icon

How to set up automatic saving in vscode?

2. In the menu that pops up from the settings button, select the [Settings] option. This is the setting entrance for the entire vscode

How to set up automatic saving in vscode?

3. After opening the [settings] interface, the default [Auto Save] = [off], which means that it will not save automatically, and the user needs to save it manually every time

How to set up automatic saving in vscode?

Parameter value:

● afterDelay

1) This is a fixed interval, automatically saved

2) This [Auto Save ] option, which needs to be matched with the next [Auto Save Delay] configuration item, which is used to specify the interval time in milliseconds

4-How to set up automatic saving in vscode?

● onFocusChange

1) When Automatically save when the focus leaves the current window of the editor

2) That is: switching tabs within the editor will also trigger automatic save

3) This item does not require [Auto Save Delay] Set the value, and this value will also be ignored

How to set up automatic saving in vscode?

● onWindowChange

1) Automatically save when the editor window loses focus

2) Only when the focus leaves the entire editor will the save be triggered. Switching tabs within the editor will not automatically save

3) This item does not require the [Auto Save Delay] setting value, and This value will also be ignored

How to set up automatic saving in vscode?

After modifying the value in the [Settings] interface, there is no need to click the save button additionally, the settings will be automatically saved

How to set up automatic saving in vscode?

Related recommendations: vscode usage tutorial

The above is the detailed content of How to set up automatic saving in vscode?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn