当前位置:网站首页>Vscode如何设置自动保存代码
Vscode如何设置自动保存代码
2022-06-28 12:55:00 【HHppGo】
1. 打开vscode,找到设置

2. 搜索框内输入 auto save

3. 默认off,就是不自动保存,需要手动Ctrl+S保存

4. 设置复选框的内容,这里我设置的是 onFocusChange
以下介绍复选框的内容:
(1)onFocusChange —— 当编辑器失去焦点时,将自动保存为保存的编辑器 (可理解为光标不在 VSCode 里时);
(2)afterDelay —— 将在配置的 “#files.autoSaveDelay#” 后自动保存为保存的编辑器;
(3)onWindowChange —— 当窗口失去焦点时,将自动保存为保存的编辑器(窗口可理解为每个代码脚本,当鼠标从 A 脚本转到 B 脚本时,自动保存脚本 A 的修改内容)

边栏推荐
- Watermaker of the Flink core
- 企业源代码保密方案分享
- 自定义MySQL连接池
- ASP.NET CORE Study11
- 如何在熊市中寻找机会?
- [today in history] June 28: musk was born; Microsoft launches office 365; The inventor of Chua's circuit was born
- Continuous integration practice of Baidu app based on pipeline as code
- 小白创业做电商,选对商城系统很重要!
- 最新!基于Open3D的点云处理入门与实战教程
- 投资98万美元的Saas项目失败了
猜你喜欢
随机推荐
Beginner level of attack and defense World Hello_ pwn
ASP.NET CORE Study04
从SimpleKV到Redis
Siyuan official paid synchronization Guide
.NET混合开发解决方案24 WebView2对比CefSharp的超强优势
Customize MySQL connection pool
ASP.NET CORE Study07
一种跳板机的实现思路
Centos6.5 php+mysql MySQL library not found
Fastposter v2.8.4 release e-commerce poster generator
为什么CAD导出PDF没有颜色
Jerry's wif interferes with Bluetooth [chapter]
证券账户开户哪家的费率低 怎么办理开户最安全
Ipetronik data acquisition equipment and softing q-vision software are committed to ADAS test scheme
k3s一键安装脚本
自定义MySQL连接池
ASP. NET CORE Study05
Finereport installation tutorial
STM32F1与STM32CubeIDE编程实例-矩阵键盘驱动
group_ Concat learning and configuration








