IntelliJ IDEA 11 中的本地历史配置 [英] Local history configuration in IntelliJ IDEA 11

查看:39
本文介绍了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?

谢谢!

推荐答案

Modify binidea.exe.vmoptions (idea.vmoptions on Linux, Info.plist(在 Mac 上),添加以下行:

Modify binidea.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.

另一种方法是使用Help |Find Action,在框中输入Registry,确保启用Include non-menu actions选项,选择Registry> 从列表中得到结果,按 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屋!

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