IntelliJ IDEA在哪里保存本地历史文件? [英] Where does IntelliJ IDEA keep local history files?

查看:2511
本文介绍了IntelliJ IDEA在哪里保存本地历史文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的公司有一项政策,要求在本地开发者计算机上加密源代码。 IntelliJ IDEA在哪里保留用于驱动其本地历史记录功能的代码更改副本?

My company has a policy about keeping source code encrypted on local developer machines. Where does IntelliJ IDEA keep the copy of the code changes that is used to drive its local history feature?

推荐答案

它们存储在 $ {System} / LocalHistory 中。有关IntelliJ IDEA 系统文档 >各种平台上的目录。

They are stored in ${System}/LocalHistory. See this IDEA document for the location of the IntelliJ IDEA System directory on various platforms.

作为附注,如果要关闭本地历史记录,可以在维护注册表中执行此操作。在Windows上,您可以通过 Ctrl + Alt + Shift + / 访问它。从弹出窗口中选择注册表。在注册表对话框中,找到条目 localHistory.daysToKeep 并将其设置为零。 (我从未真正尝试将其设置为零,但我认为它适用于你。)

As a side note, if you want to turn local history off, you can do so in the maintenance registry. On windows, you can access it via Ctrl+Alt+Shift+/. Select "Registry" from the popup. In the registry dialog, find the entry localHistory.daysToKeep and set it to zero. (I've never actually tried setting it to zero, but I am assuming it would work for you.)

这篇关于IntelliJ IDEA在哪里保存本地历史文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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