.IntelliJIdea80 and .IntelliJIdea8x
Hi,
Which of the settings directories are used with e.g. EAP #9757?
- .IntelliJIdea80
- .IntelliJIdea8x
I was cleaning my disk and was stupid enough to trash .IntelliJIdea80 assuming it to be used by IntelliJ 8.0 (which I still have installed) and not IntelliJ 8.1, which I was assuming to use .IntelliJIdea8x.Not true!
Ok, flame me, I should not assume such things and I already regret . I have to tweak settings again, worse things happen in life.
Still I am curious what exactly the relationship between these folders is. When both moved away they are both recreated on startup, there must be some deeper idea behind this scheme.
Thanks,
Tom
Please sign in to leave a comment.
Hello Tom,
IDEA 8.1 stores the settings under .IntelliJIdea80/config (in order not to
require a settings import step when upgrading from 8.0 to 8.1), and stores
the caches under .IntelliJIdea8x/system (because the caches format is different
between 8.0 and 8.1).
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thanks Dmitry, that makes sense.
But darn, I trashed exactly the wrong dir .
-Tom
Tom, everyonce in a while do a File->Export Settings and store the settings.jar somewhere. That way if you ever trash your settings you can just re-import them. Also is handy for transferring your settings to multiple installations (like work and home).
I store mine with DropBox for easy access on multiple machines (and as an "offsite" backup).
Oh, and thanks for asking about those two directories, I was wondering about them as well!
Thanks for the tip Micheal, I need to do that to protect myself from myself .
Is it possible to change the default location of the .IntelliJIdea80 and >IntelliJIdea8x directories? I'm working in a managed location where my Windows PC is only allocated so much profile space and the default location of this directory (C:\Documents and Settings\${USERNAME}\.IntelliJIdea8x) is blowing my profile allocation way out of the ballpark. I'd like to be able to change the default locations to an unmanaged directory on my hard disk. Is there a command-line option that I can set on the idea.exe executable?
**UPDATE** Ugh...ignore this post...I just discovered the idea.properties file in the installation directory where I can set these directory locations (smile).
D
Hello Dave,
The location of these files can be specified by editing the idea.properties
file in the IDEA installation directory.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Lol...yes, after posting, I discovered it. Thanks for the quick response!
D
Ok, can this locations be same by default? for example .IntelliJIdea8
Hello aljuvialle,
As already explained, the locations are not same by default because IDEA
8.0 and 8.1 have different formats of caches. If they used the same system
directory, you would see full reindexing and project rebuilds every time
you switch from 8.0 to 8.1 and back.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Ok, why not use different direcrories for different versions? For example, .IntellJIdea8x for Idea 8.1 and IntelliJIdea80 for Idea 8.0
Hello aljuvialle,
This is exactly what we do.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Idea's default properties file says another:
Hello aljuvialle,
The config paths are the same because otherwise the user would get an unnecessary
"please import settings" prompt when upgrading from 8.0 to 8.1.
Have you actually tried reading the top of the thread in which you are posting?
It already explains all the reasoning for the current arrangement.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"