IntelliJ - 不询问我是否要保存文件 [英] IntelliJ - not asking if I want to save a file

查看:630
本文介绍了IntelliJ - 不询问我是否要保存文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是IntelliJ IDE的新手。过去我一直在使用Visual Studio或Eclipse。
在这些IDE中,有一个星号 * 高于已修改的文件名。

I'm new to the IntelliJ IDE. In the past I was working with Visual Studio or Eclipse. In those IDEs there was an asterisk * above the name of the file which has been modified.

但是在IntelliJ中使用默认配置我无法看到文件是否被修改。当我将焦点更改为另一个窗口时,文件会自动保存。

But in IntelliJ with the default configuration I can't see if the file is modified. What's more the file is saved automatically when I change focus to another window.

我在设置 - >下找到了一些选项。 IDE设置 - >一般 - >同步


  • 在帧激活时同步文件

  • 在停用帧时保存文件

  • 如果应用程序自动保存文件闲置... ...

  • Synchronize files on frame activation
  • Save files on frame deactivation
  • Save files automatically if application is idle for...

取消选中所有选项后,每次我都不会自动保存文件将焦点改为另一个窗口,这很好。但我仍然不能:

After unchecking all that options the file is not saved automatically every time I change focus to another window, which is good. But still I can't:


  • 查看文件是否被修改(没有星号)

  • 决定我关闭文件时是否应该保存文件(IDE不要求保存)

当我是关闭已修改的IntelliJ文件已保存,甚至没有注意到

And when I'm closing IntelliJ file which has been modified is saved without even noticing.

您知道如何更改IntelliJ的行为方式吗?

Do you know what can I do to change how IntelliJ behaves?

推荐答案

取消选中提到的选项后,请转到:

After unchecking mentioned options go to:

设置/编辑(IDE设置)/编辑器选项卡:
选中用星号标记已修改的选项卡

Settings/Editor(IDE Settings)/Editor Tabs: Check "Mark modified tabs with asterisk"

这篇关于IntelliJ - 不询问我是否要保存文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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