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

边栏推荐
猜你喜欢

ASP.NET CORE Study03

Continuous integration practice of Baidu app based on pipeline as code

Namespace and scope

ASP. NET CORE Study01

Go语学习笔记 - gorm使用 - 数据库配置、表新增 | Web框架Gin(七)

ASP. NET CORE Study08

【MySQL从入门到精通】【高级篇】(三)MySQL用户的创建_修改_删除以及密码的设置

scratch旅行相册 电子学会图形化编程scratch等级考试一级真题和答案解析2022年6月

最新!基于Open3D的点云处理入门与实战教程

Beginner level of attack and defense World Hello_ pwn
随机推荐
pytorch主要模块
ASP. NET CORE Study09
K3s one click installation script
在线JSON转PlainText工具
Realization of a springboard machine
微信授权登陆
Evaluation of IP location query interface I
The paging style flex is set to be displayed at the end (even if the number of pages is longer, there will be no line breaks at the end)
Fastposter v2.8.4 release e-commerce poster generator
group_concat学习与配置
Customize MySQL connection pool
SHAREit實力出眾,登陸全球 IAP 實力榜 Top7
Namespace and scope
【云原生】自助报表和BI能做这么多事?
证券账户开户哪家的费率低 怎么办理开户最安全
Shareit a une force exceptionnelle et se connecte au top 7 de la liste mondiale des forces IAP
Jerry's wif interferes with Bluetooth [chapter]
go template with...end遍历用法
async-validator.js數據校驗器
一文搞懂leveldb写操作