IntelliJ IDEA 11中的本地历史记录配置 [英] Local history configuration in IntelliJ IDEA 11
问题描述
在以前版本的IDEA中,我能够设置本地历史记录功能将保留源文件中的更改的天数。
出于某种原因,我在IDEA 11.1.3中找不到这个,并且当地历史记录在一天之内保留得少。
我想我经历了所有设置,但找不到我可以增加这个值的地方。有谁知道我在哪里找到它?
In previous versions of IDEA I was able to set how many days back the Local History feature would keep the changes in the source files. For some reason, I cannot find this in IDEA 11.1.3, and local history is kept less about a day back. I think I went through all the settings, but can't find where I can increase this value. Does anyone know where I might find it?
谢谢!
推荐答案
在Linux上修改 bin \idea.exe.vmoptions
( idea.vmoptions
, Info.plist ,添加以下行:
Modify bin\idea.exe.vmoptions
(idea.vmoptions
on Linux, Info.plist on Mac), add the following line:
-DlocalHistory.daysToKeep=5
这是唯一可配置的选项已从设置用户界面中删除。
It was the only configurable option removed from the settings user interface.
另一种方法是使用帮助
| 查找操作
,在框中键入注册表,确保包含非菜单操作
选项已启用,请从列表中选择注册表结果,按 Enter :
Another way is to use Help
| Find Action
, type Registry in the box, ensure that Include non-menu actions
option is enabled, select the Registry result from the list, press Enter:
请注意,默认值为5 正常工作天。
Note that the default value is 5 working days.
这篇关于IntelliJ IDEA 11中的本地历史记录配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!