当前位置:网站首页>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 的修改内容)

边栏推荐
- Customize MySQL connection pool
- Manjaro easyconnecy error: libgtk-x11-2.0 so. 0: cannot open shared object file: No such file or directory
- JS duration and asynchronous function promise
- UDP传输rtp数据包丢帧
- Fastposter v2.8.4 release e-commerce poster generator
- ASP.NET CORE Study02
- Unity WebGL移动端去除警告
- 数启扬帆,智聚人才 | 腾讯云数据库 & CSDN 工程师能力轻量认证发布会重磅来袭!...
- 词云的可视化设计教程
- ASP.NET CORE Study07
猜你喜欢

腾讯确认QQ大规模盗号,iPhone14无缘Type-C,第四大运营商5G正式放号,今日更多大新闻在此...

Realization of a springboard machine

go template with...end遍历用法

ASP. NET CORE Study04

MySQ 8.0 推出直方图,性能大大提升!

Centos6.5 php+mysql MySQL library not found
JS class is not just a simple syntax sugar!

电脑无线网络不显示网络列表应该如何解决

一文搞懂leveldb写操作

The white paper on the panorama of the digital economy and the digitalization of consumer finance were released
随机推荐
投资98万美元的Saas项目失败了
ASP.NET CORE Study08
基于SSM实现水果蔬菜商城管理系统
Beginner level of attack and defense World Hello_ pwn
深入理解贝叶斯定理
Flink流处理API大合集:掌握所有flink流处理技术,看这一篇就够了
Go language learning notes - Gorm usage - database configuration, table addition | web framework gin (VII)
百度APP 基于Pipeline as Code的持续集成实践
Finereport installation tutorial
Microservice stability guarantee
arcgis pro 可以实现直连postgresql,编辑图层要素吗
4年用户数破亿,孙哥带领波场再创新高
. Net hybrid development solution 24 webview2's superior advantages over cefsharp
Hundreds of lines of code to implement a JSON parser
中二青年付杰的逆袭故事:从二本生到 ICLR 杰出论文奖,我用了20年
Digital twin energy system, creating a "perspective" in the low-carbon era
从SimpleKV到Redis
I²C、SMBus、PMBus关系
在线JSON转PlainText工具
从 jsonpath 和 xpath 到 SPL