如何在 Android Studio 中禁用自动保存 [英] How to disable Auto Save in Android Studio

查看:42
本文介绍了如何在 Android Studio 中禁用自动保存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在 Android Studio 中禁用自动保存?

我已经取消选中如果应用程序空闲 n 秒则自动保存文件"

设置->常规下.

还有什么事情要做吗?

解决方案

禁用自动保存

<块引用>

文件 >设置 >外观&行为 >系统设置 >同步 >然后取消选中Save files on frame deactivation如果应用程序空闲时自动保存文件 >好的


完成上述操作后,您可能还想启用以下两个选项-

标记已更改但未保存的文件

<块引用>

文件 >设置 >编辑器 >一般 >编辑器标签 >然后检查用星号标记修改过的标签 >好的

使用 Ctrl+S 保存一个文件

<块引用>

文件 >设置 >键盘映射 >使用保存文档 >搜索右击 Save Document >添加键盘快捷键 >按 Ctrl+S>OK >删除 >好的

Is there way to disable auto save in Android Studio?

I have already unchecked "Save files automatically if application is idle for n sec"

under Setting->General.

Anything else to be done?

解决方案

Disable Auto Save

File > Settings > Appearance & Behavior > System Settings > Synchronization > then uncheck both Save files on frame deactivation and Save files automatically if application is idle > OK


After doing the above, you may like to do enable the following 2 options too-

Mark Changed But Unsaved File

File > Settings > Editor > General > Editor Tabs > then check Mark modified tabs with asterisk > OK

Save One File with Ctrl+S

File > Settings > Keymap > search with save document > right click Save Document > Add Keyboard Shortcut > press Ctrl+S> OK > Remove > OK

这篇关于如何在 Android Studio 中禁用自动保存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆