macos 在 OS X 上的 IntelliJ 中,您如何清除所有全局设置信息、许可等(任何项目外部)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2774315/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
In IntelliJ on OS X, how do you clear out all global setting info, licensing etc. (external to any project)
提问by kalak451
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?
我的 Mac 上的 IntelliJ 遇到了一些低级问题,我真的很想将所有内容归零并重新开始。但即使在删除应用程序并重新安装后,IntelliJ 仍然记得上一个项目是什么,使用什么许可密钥等。这些信息存储在哪里?清除它的最佳方法是什么?
回答by prodigitalson
Normally information like this will be found in one of the following places in OS X:
通常,此类信息可在 OS X 中的以下位置之一中找到:
/Users/username/Library/Preferences/AppName
/Users/username/Library/Preferences/AppName
/Users/username/Library/Preferences/com.appname.plist
/Users/username/Library/Preferences/com.appname.plist
/Users/username/Library/Application Support/AppName
/Users/username/Library/Application Support/AppName
/Library/Preferences/AppName
/Library/Preferences/AppName
/Library/Preferences/com.appname.plist
/Library/Preferences/com.appname.plist
/Library/Application Support/AppName
/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
如果该应用程序遵守标准的 OS X 约定,您将在其中一个或所有这些地方找到信息。如果它不存储在这里,您可能会检查/Users/username/.intellij
您的主目录中的文件夹或类似内容
回答by mimming
I just ran through this and here is the list of files that I had to delete for IntelliJ 13:
我刚刚完成了这个,这是我必须为 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
回答by Kevin Trowbridge
For AppCode (Objective C IDE) 1.0.4, on OSX, the path is: ~/Library/Preferences/appCode10
对于 AppCode (Objective C IDE) 1.0.4,在 OSX 上,路径为:~/Library/Preferences/appCode10
回答by Jonik
I just checked, and IntelliJ IDEA (at least 9.x versions) seems to store its global settings in
~/Library/Preferences/IntelliJIdea90CE/
我刚刚检查过,IntelliJ IDEA(至少 9.x 版本)似乎将其全局设置存储在
~/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.
更新:IntelliJ IDEA 10 使用~Library/Preferences/IntelliJIdea10/
和 12 ~Library/Preferences/IntelliJIdea12/
。无论您使用什么版本,您都可能会找到它。
(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.
清除它的最佳方法?好吧,只需删除整个目录。:-) 或者,如果您怀疑那里毕竟有一些有用的东西,请将其移至新名称。
回答by Tony Tai Nguyen
For those with newer versions like 2016, here's a guide to tell you all the places where IntelliJ can be at:
对于那些拥有 2016 年等较新版本的人,这里有一个指南,告诉您 IntelliJ 可以使用的所有位置:
https://intellij-support.jetbrains.com/hc/en-us/articles/206544519
https://intellij-support.jetbrains.com/hc/en-us/articles/206544519