Auto-saving files upon changes with VSCode

preview_player
Показать описание
#buetek #vscode #editor
Save / Auto Save#

By default, VS Code requires an explicit action to save your changes to disk, Ctrl+S.

However, it's easy to turn on AutoSave, which will save your changes after a configured delay or when focus leaves the editor. With this option turned on, there is no need to explicitly save the file. The easiest way to turn on Auto Save is with the File -) Auto Save toggle that turns on and off save after a delay.

For more control over Auto Save, open User or Workspace settings and find the associated settings:

off - to disable auto save.
afterDelay - to save files after a configured delay -default 1000 ms.
onFocusChange - to save files when focus moves out of the editor of the dirty file.
onWindowChange - to save files when the focus moves out of the VS Code window.
Рекомендации по теме
Комментарии
Автор

No need to all of these things just go to live server extension setting
First step find
Live server setting: root
In bottom you have
Edit in setting.json option -> click and open it.
2nd Then find
''liveServer.settings.useWebExt":true,
Change:true, it into: false, and reload your window page and reopen live server.
Enjoy 😊

jayantverma