在 OS X 上的 IntelliJ 中,如何清除所有全局设置信息、许可等(任何项目外部)

发布于 2024-08-31 09:26:05 字数 128 浏览 5 评论 0原文

我的 Mac 上的 IntelliJ 遇到了一些低级问题,我真的想将所有内容归零并重新开始。但即使删除应用程序并重新安装后,IntelliJ 仍然会记住诸如上一个项目是什么、使用什么许可密钥等信息。这些信息存储在哪里?清除它的最佳方法是什么?

I am having some low level issues with IntelliJ on my mac, I really want to just zero everything out and start over. But even after removing the application and re-installing it, IntelliJ still remembers things like what the last project was, what licensing key to use etc. Where is this information stored? And what is the best way to clear it out?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

撕心裂肺的伤痛 2024-09-07 09:26:05

通常,此类信息可在 OS X 中的以下位置之一找到:

/Users/username/Library/Preferences/AppName

/Users/username/Library/Preferences/com.appname。 plist

/Users/用户名/Library/Application Support/AppName

/Library/Preferences/AppName

/Library/Preferences/com.appname.plist< /code>

/Library/Application Support/AppName

如果应用程序遵循标准 OS X 约定,您将在其中一个或所有位置找到信息。如果它没有存储在这里,您可以在主目录中检查 /Users/username/.intellij 文件夹或类似的内容

Normally information like this will be found in one of the following places in OS X:

/Users/username/Library/Preferences/AppName

/Users/username/Library/Preferences/com.appname.plist

/Users/username/Library/Application Support/AppName

/Library/Preferences/AppName

/Library/Preferences/com.appname.plist

/Library/Application Support/AppName

If the app adheres to the standard OS X conventions you weill find info in one or all of these places. If it doesnt store here you might check for a /Users/username/.intellij folder or something similar in your home directory

别念他 2024-09-07 09:26:05

我刚刚完成了这个,下面是我必须为 IntelliJ 13 删除的文件列表:

~/Library/Preferences/com.jetbrains.intellij.plist
~/Library/Preferences/com.jetbrains.intellij.plist.lockfile
~/Library/Preferences/IntelliJIdea13
~/Library/Caches/IntelliJIdea13
~/Library/Application Support/IntelliJIdea13
~/Library/Caches/com.jetbrains.intellij
~/Library/Logs/IntelliJIdea13
~/Library/Saved Application State/com.jetbrains.intellij.savedState

I just ran through this and here is the list of files that I had to delete for IntelliJ 13:

~/Library/Preferences/com.jetbrains.intellij.plist
~/Library/Preferences/com.jetbrains.intellij.plist.lockfile
~/Library/Preferences/IntelliJIdea13
~/Library/Caches/IntelliJIdea13
~/Library/Application Support/IntelliJIdea13
~/Library/Caches/com.jetbrains.intellij
~/Library/Logs/IntelliJIdea13
~/Library/Saved Application State/com.jetbrains.intellij.savedState
挖鼻大婶 2024-09-07 09:26:05

对于 OSX 上的 AppCode (Objective C IDE) 1.0.4,路径为:
〜/库/首选项/appCode10

For AppCode (Objective C IDE) 1.0.4, on OSX, the path is:
~/Library/Preferences/appCode10

诺曦 2024-09-07 09:26:05

我刚刚检查过,IntelliJ IDEA(至少 9.x 版本)似乎将其全局设置存储在
~/Library/Preferences/IntelliJIdea90CE/

更新:IntelliJ IDEA 10 使用 ~Library/Preferences/IntelliJIdea10/ 和 12 ~Library/Preferences/IntelliJIdea12/ >。无论您使用什么版本,您都可能会找到它。

(〜是您的主目录。)

清除它的最佳方法?好吧,删除整个目录即可。 :-) 或者,如果您怀疑其中可能有一些有用的东西,请将其移至新名称。

I just checked, and IntelliJ IDEA (at least 9.x versions) seems to store its global settings in
~/Library/Preferences/IntelliJIdea90CE/

Update: IntelliJ IDEA 10 uses ~Library/Preferences/IntelliJIdea10/ and 12 ~Library/Preferences/IntelliJIdea12/. You'll probably find it for whatever version you're on.

(Where ~ is your home directory.)

Best way to clear it? Well, just delete the whole directory. :-) Or, if you suspect there might be something useful there after all, move it to a new name.

最佳男配角 2024-09-07 09:26:05

在终端中运行以下命令以完全删除。为我工作

rm -Rf ~/Library/Preferences/com.jetbrains.intellij.plist
rm -Rf ~/Library/Preferences/com.jetbrains.intellij.plist.lockfile
rm -Rf ~/Library/Caches/com.jetbrains.intellij*
rm -Rf ~/Library/Logs/IntelliJIdea13
rm -Rf ~/Library/Saved Application State/com.jetbrains.intellij.savedState
rm -Rf /Applications/IntelliJ*  
rm -Rf ~/Library/Preferences/IntelliJ*  
rm -Rf ~/Library/Preferences/com.google.intellij.*  
rm -Rf ~/Library/Preferences/com.intellij.*  
rm -Rf ~/Library/Application\ Support/IntelliJ*  
rm -Rf ~/Library/Logs/IntelliJ*  
rm -Rf ~/Library/Caches/IntelliJ*  
rm -Rf ~/.IntelliJ*  
rm -Rf ~/Library/Intellij*  

run the following commands in terminal to remove completely. worked for me

rm -Rf ~/Library/Preferences/com.jetbrains.intellij.plist
rm -Rf ~/Library/Preferences/com.jetbrains.intellij.plist.lockfile
rm -Rf ~/Library/Caches/com.jetbrains.intellij*
rm -Rf ~/Library/Logs/IntelliJIdea13
rm -Rf ~/Library/Saved Application State/com.jetbrains.intellij.savedState
rm -Rf /Applications/IntelliJ*  
rm -Rf ~/Library/Preferences/IntelliJ*  
rm -Rf ~/Library/Preferences/com.google.intellij.*  
rm -Rf ~/Library/Preferences/com.intellij.*  
rm -Rf ~/Library/Application\ Support/IntelliJ*  
rm -Rf ~/Library/Logs/IntelliJ*  
rm -Rf ~/Library/Caches/IntelliJ*  
rm -Rf ~/.IntelliJ*  
rm -Rf ~/Library/Intellij*  
丢了幸福的猪 2024-09-07 09:26:05

对于使用 2016 年等较新版本的用户,这里有一个指南,告诉您 IntelliJ 可以位于的所有位置:

https://intellij-support.jetbrains.com/hc/en-us/articles/206544519

For those with newer versions like 2016, here's a guide to tell you all the places where IntelliJ can be at:

https://intellij-support.jetbrains.com/hc/en-us/articles/206544519

一抹淡然 2024-09-07 09:26:05

这总是对我有用:

find ~/Library -type d -name 'IdeaIC*' -exec rm -rf {} ';'

This always does it for me:

find ~/Library -type d -name 'IdeaIC*' -exec rm -rf {} ';'

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文