IntelliJ IDEA在哪里保存本地历史文件?

编程入门 行业动态 更新时间:2024-10-09 12:34:06
本文介绍了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在哪里保存本地历史文件?

本文发布于:2023-11-26 07:47:29,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1633247.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件   历史   IntelliJ   IDEA

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!