VScode code does not take effect after modification

Modify the VSCode default configuration file, click the lower left corner设置标志图 -> 设置,出来了设置相关的东西,搜索 files.autoSave

  • 第一种:把"files.autoSave":"off"   修改成 "files.autoSave":"onFocusChange", Which means that when the editor loses focus, it will automatically update the file content to the disk.

Finally, save the settings, restart VSCode, and the modified content will be automatically updated in the future.

Reference blog

Guess you like

Origin blog.csdn.net/qq_38826019/article/details/114644873