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

边栏推荐
- Understand leveldb write operation
- Go language learning notes - Gorm usage - database configuration, table addition | web framework gin (VII)
- Unity releases webgl and wakes up keyboard input on the mobile terminal inputfield
- ASP. NET CORE Study03
- flutter 系列之:flutter 中常用的 GridView layout 详解
- Jerry's SPI1 plug-in flash recording modification [part]
- 从SimpleKV到Redis
- Performance test-01-introduction
- 登录接口存取token,清除token
- ASP. NET CORE Study01
猜你喜欢

在线JSON转PlainText工具
![[cloud native] can self-service reports and Bi do so many things?](/img/80/2b797eb5875dc2b4c2876f2cb3d6f7.png)
[cloud native] can self-service reports and Bi do so many things?

一文搞懂leveldb写操作

Unity Editor Extension Foundation, GUI

IPETRONIK数据采集设备携手Softing Q-Vision软件致力于ADAS测试方案

unity发布 webgl在手机端 inputfield唤醒键盘输入

从SimpleKV到Redis

Flink流处理API大合集:掌握所有flink流处理技术,看这一篇就够了

Vs2012 VC creates a new blank window application

STM32F1与STM32CubeIDE编程实例-矩阵键盘驱动
随机推荐
pytorch模型调参、训练相关内容
The white paper on the panorama of the digital economy and the digitalization of consumer finance were released
【云原生】自助报表和BI能做这么多事?
高考失利進哈工大,畢業卻留校要當“探索者”,丁效:科研就是厚積薄發
[unity Editor Extension practice] find all prefabs referencing this picture
Evaluation of IP location query interface I
【历史上的今天】6 月 28 日:马斯克诞生;微软推出 Office 365;蔡氏电路的发明者出生
BUUCTF:[WUSTCTF2020]朴实无华
证券账户开户哪家的费率低 怎么办理开户最安全
基于SSM实现水果蔬菜商城管理系统
ASP.NET CORE Study02
Jerry's wif interferes with Bluetooth [chapter]
Unity Editor Extension Foundation, GUI
[MySQL from introduction to mastery] [advanced part] (III) creation of MySQL users_ Modification_ Delete and password settings
June 28, 2022 Daily: Lecun's latest paper: the road to autonomous machine intelligence
中二青年付杰的逆袭故事:从二本生到 ICLR 杰出论文奖,我用了20年
group_ Concat learning and configuration
百度APP 基于Pipeline as Code的持续集成实践
Matplotlib_Study01
unity发布 webgl在手机端 inputfield唤醒键盘输入