.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

0
13 comments

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).

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.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Thanks Dmitry, that makes sense.

But darn, I trashed exactly the wrong dir .

-Tom

0
Avatar
Michael Parmeley

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!

0

Thanks for the tip Micheal, I need to do that to protect myself from myself .

0
Avatar
Dave Macpherson

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

0

Hello Dave,

The location of these files can be specified by editing the idea.properties
file in the IDEA installation directory.

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\$\.IntelliJIdea8x) is bl

owing 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?

D

---
Original message URL:
http://www.jetbrains.net/devnet/message/5238692#5238692

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Avatar
Dave Macpherson

Lol...yes, after posting, I discovered it. Thanks for the quick response!

D

0

Ok, can this locations be same by default? for example .IntelliJIdea8

0

Hello aljuvialle,

Ok, can this locations be same by default? for example .IntelliJIdea8


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!"


0

As already explained, the locations are not same by default because IDEA
8.0 and 8.1 have different formats of caches.



 

Ok, why not use different direcrories for different versions? For example, .IntellJIdea8x for Idea 8.1 and IntelliJIdea80 for Idea 8.0

0

Hello aljuvialle,

As already explained, the locations are not same by default
> because IDEA 8.0 and 8.1 have different formats of caches.


Ok, why not use different direcrories for different versions? For
example, .IntellJIdea8x for Idea 8.1 and IntelliJIdea80 for Idea 8.0


This is exactly what we do.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

This is exactly what we do.


Idea's default properties file says another:

# path to IDEA config folder. Make sure you're using forward slashes
idea.config.path=${user.home}/.IntelliJIdea80/config

# path to IDEA system folder. Make sure you're using forward slashes
idea.system.path=${user.home}/.IntelliJIdea8x/system

# path to user installed plugins folder. Make sure you're using forward slashes
idea.plugins.path=${user.home}/.IntelliJIdea80/config/plugins

0

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.

This is exactly what we do.


Idea's default properties file says another:

  1. path to IDEA config folder. Make sure you're using forward

> slashes
> idea.config.path=${user.home}/.IntelliJIdea80/config
> # path to IDEA system folder. Make sure you're using forward slashes
> idea.system.path=${user.home}/.IntelliJIdea8x/system
>
> # path to user installed plugins folder. Make sure you're using
> forward slashes
> idea.plugins.path=${user.home}/.IntelliJIdea80/config/plugins


---
Original message URL:
http://www.jetbrains.net/devnet/message/5238729#5238729

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.