Vscode modify the file, the corresponding disk file does not change

Two solutions:

First of all: VSCode modify the default configuration file, click on the lower left corner flag map settings -> Settings and set out what relevant search files.autoSave

The first: the "files.autoSave": "off" modified "files.autoSave": "onFocusChange", meaning that when the editor loses focus automatically update the contents of the file to disk.
The second: to modify files.autoSave afterDelay, and set the time of files.autoSaveDelay.
{
"Workbench.colorTheme": "Quiet Light",
"files.autoSave": "afterDelay",
"files.autoSaveDelay":. 1
}
Finally, save the settings, VSCode restart, after the content is automatically updated.

Analysis of reasons: computer junk, not enough memory.

Guess you like

Origin www.cnblogs.com/whyaza/p/11615501.html