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

How to set up automatic saving in vscode

王林
王林Original
2020-02-13 16:22:3124683browse

How to set up automatic saving in vscode

Open the vscode window, click the settings (gear-shaped) icon in the lower left corner

How to set up automatic saving in vscode

In the menu that pops up the settings button, select [Settings] option, here is the setting entrance of the entire vscode

How to set up automatic saving in vscode

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

How to set up automatic saving in vscode

##[afterDelay]

1) This is a fixed interval, automatic saving

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

How to set up automatic saving in vscode

[onFocusChange]

1) 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 There is no need to set the value of [Auto Save Delay], and this value will also be ignored

How to set up automatic saving in vscode

[onWindowChange]

1) When the editor window loses focus Automatically save when

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

3) This item is not required [ Auto Save Delay] set 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 setting will be automatically The content is saved.

How to set up automatic saving in vscode

Related recommendations:

vscode 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