How to properly update to 4.5 (Retaining Plugin settings)

Hello,

I was wondering how to perform a proper update from 4.0.3 to 4.5 when it is available. For example, I have configured the inspection gadgets plugin to my needs and I don't want to lose all these custom settings.

Any help is greatly appreciated.

Best,
Peter

0
27 comments
Avatar
Permanently deleted user

Peter Mitchub wrote:

Hello,

I was wondering how to perform a proper update from 4.0.3 to 4.5 when it is available. For example, I have configured the inspection gadgets plugin to my needs and I don't want to lose all these custom settings.

Any help is greatly appreciated.

Best,
Peter


Generally this should update with no problem. Still you can backup the configuration file located at the following path:
%HOME%/.IntelliJIDEA/config/options/editor.codeinsight.xml

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

>Generally this should update with no problem. Still you can backup the configuration file located at the following path:

%HOME%/.IntelliJIDEA/config/options/editor.codeinsight.xml


Thanks for your reply. I was wondering if I can just create a backup of the whole .IntelliJIDEA/config folder and just write it over the one generated during 4.5 install.

Thank you again.
Peter

0
Avatar
Permanently deleted user

Peter Mitchub wrote:

>>Generally this should update with no problem. Still you can backup the configuration file located at the following path:
>>%HOME%/.IntelliJIDEA/config/options/editor.codeinsight.xml


Thanks for your reply. I was wondering if I can just create a backup of the whole .IntelliJIDEA/config folder and just write it over the one generated during 4.5 install.

Thank you again.
Peter

Of course you can.

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

Maxim,

Not possible to do this kind of stuff easily under OS X. Any chance the location of the plugins can be moved to outside the App Package to ~/Library/Preferences/IDEA/PlugIns?

Thanks
R

0
Avatar
Permanently deleted user

Robert S. Sfeir wrote:

At least you can easily configure this through Info.plist. Just add the following:
idea.plugins.path any_dir_you_want_here]]>

Maxim,

Not possible to do this kind of stuff easily under OS X. Any chance the location of the plugins can be moved to outside the App Package to ~/Library/Preferences/IDEA/PlugIns?

Thanks
R



--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

Cool thanks, but that should really be the default. I know a lot of OS X users were complaining about that. Thanks for the pointer.

R

0
Avatar
Permanently deleted user

Robert S. Sfeir wrote:

Cool thanks, but that should really be the default. I know a lot of OS X users were complaining about that. Thanks for the pointer.

R

I do not think this is right for EAP users as well for those who will upgrade from 4.0 since many plugins were broken
and IDEA just can refuse to startup after installation and this will not be a good show for those who upgrade. Though it
seems we've finally implemented a plugin versioning scheme that will help to avoid such a problems.

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

So you think there should be a default which goes into the ~/Library/Preferences/IntelliJ IDEA/Plugins dir, or not?

R

0
Avatar
Permanently deleted user

Robert S. Sfeir wrote:

So you think there should be a default which goes into the ~/Library/Preferences/IntelliJ IDEA/Plugins dir, or not?

R

Doesn't seem like a Preference IMO. Is there a standard place for application plugins designed?

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

Yes.

~/Library/Application Support/IntelliJ IDEA - for single user

R

0
Avatar
Permanently deleted user

Robert S. Sfeir wrote:

Yes.

~/Library/Application Support/IntelliJ IDEA - for single user

R

Done in 2170

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

Excellent thanks, will make our lives of updating idea much easier.

R

0
Avatar
Permanently deleted user

Robert S. Sfeir wrote:

Excellent thanks, will make our lives of updating idea much easier.

R

That wasn't a good idea actually. At least we should discover a way to install default plugins (like CVS, Tomcat etc.).

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

Well then you'd need an installer now, which is what most software with special needs have. Nothing wrong with that, I think it's a good compromise if we can avoid the shuffle and re download of our plugins every time, and the viewing of the contents of the package in order to add plugins which are not available via download manager, like Clover and others.

R

0
Avatar
Permanently deleted user

Why don't you have them installed in the same place you do today (install/plugins) and have IDEA recognize both places for plugins? This way you have the "official" plugins, shipped with IDEA, and the user installed plugins, kept in a custom place.

One thing I always have to take care of when upgrading (and copy the plugins over between installation directories) is to select only the plugins IDEA does not ship with, knowing that those have a "special" status and I'm not supposed to mess with them. And I guess that's the reason IDEA wipes out the plugins directory when installing, so it can put "up to date" versions in place.

So, if you treat them differently, keep them separate.

Just my 2c,
Andrei



>>
M> That wasn't a good idea actually. At least we should discover a way
M> to install default plugins (like CVS, Tomcat etc.).
M>

0
Avatar
Permanently deleted user

Andrei Oprea wrote:

Why don't you have them installed in the same place you do today (install/plugins) and have IDEA recognize both places for plugins? This way you have the "official" plugins, shipped with IDEA, and the user installed plugins, kept in a custom place.

One thing I always have to take care of when upgrading (and copy the plugins over between installation directories) is to select only the plugins IDEA does not ship with, knowing that those have a "special" status and I'm not supposed to mess with them. And I guess that's the reason IDEA wipes out the plugins directory when installing, so it can put "up to date" versions in place.

So, if you treat them differently, keep them separate.

Just my 2c,
Andrei




M> That wasn't a good idea actually. At least we should discover a way
M> to install default plugins (like CVS, Tomcat etc.).
M>


You're just reading my mind. Finished implementing it 15 mins before I read your post.

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

Why don't you have them installed in the same place
you do today (install/plugins) and have IDEA
recognize both places for plugins? This way you have
the "official" plugins, shipped with IDEA, and the
user installed plugins, kept in a custom place.


There's a SCR open about this. Good time to take the chance to implement it.

0
Avatar
Permanently deleted user

M> You're just reading my mind. Finished implementing it 15 mins before
M> I read your post.
M>

That's neat. :)

Andrei

0
Avatar
Permanently deleted user

perfect. this would work very nicely indeed. No loss of plugins = happy Mac people :)

0
Avatar
Permanently deleted user

On 07-07-2004 18:27, Maxim Shafirov (JetBrains) wrote:

Andrei Oprea wrote:

>> Why don't you have them installed in the same place you do today
>> (install/plugins) and have IDEA recognize both places for plugins?
>> This way you have the "official" plugins, shipped with IDEA, and
>> the user installed plugins, kept in a custom place.


You're just reading my mind. Finished implementing it 15 mins before
I read your post.


Does this mean scr #32872 is fixed?
http://www.intellij.net/tracker/idea/viewSCR?publicId=32872

Bas

0
Avatar
Permanently deleted user

Robert S. Sfeir wrote:

perfect. this would work very nicely indeed. No loss of plugins = happy Mac people :)

Not only Mac users actually.

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

Bas Leijdekkers wrote:

On 07-07-2004 18:27, Maxim Shafirov (JetBrains) wrote:

>> Andrei Oprea wrote:
>>
>>> Why don't you have them installed in the same place you do today
>>> (install/plugins) and have IDEA recognize both places for plugins?
>>> This way you have the "official" plugins, shipped with IDEA, and
>>> the user installed plugins, kept in a custom place.
>>
>>
>> You're just reading my mind. Finished implementing it 15 mins before
>> I read your post.


Does this mean scr #32872 is fixed?
http://www.intellij.net/tracker/idea/viewSCR?publicId=32872

Bas


Absolutely true. Default plugins will be loaded from %IDEA_INSTALLATION%/plugins and those dowloaded by the user from
%IDEA_CONFIG_PATH%/plugins on Linux and Windows and from ~/Library/Application Support/IntelliJ IDEA on Mac.

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

M> Not only Mac users actually.
M>

Exactly! :)

Andrei

0
Avatar
Permanently deleted user

Was just talking about this idea on here the other day. Nice one!

N.

Andrei Oprea wrote:

M> Not only Mac users actually.
M>

Exactly! :)

Andrei

0
Avatar
Permanently deleted user

On Wed, 07 Jul 2004 22:37:47 +0400, Maxim Shafirov (JetBrains) wrote:

Absolutely true. Default plugins will be loaded from
%IDEA_INSTALLATION%/plugins and those dowloaded by the user from
%IDEA_CONFIG_PATH%/plugins on Linux and Windows and from
~/Library/Application Support/IntelliJ IDEA on Mac.


It didn't need 'fixing' on Linux - we've always had symlinks to fool
applications ;)

Please don't remove IDEA_PLUGINS_PATH!

--
Mark Scott
mark@codebrewer.com

0
Avatar
Permanently deleted user

On Wed, 07 Jul 2004 21:07:37 +0100, Mark Scott wrote:

On Wed, 07 Jul 2004 22:37:47 +0400, Maxim Shafirov (JetBrains) wrote:

>> Absolutely true. Default plugins will be loaded from
>> %IDEA_INSTALLATION%/plugins and those dowloaded by the user from
>> %IDEA_CONFIG_PATH%/plugins on Linux and Windows and from
>> ~/Library/Application Support/IntelliJ IDEA on Mac.


It didn't need 'fixing' on Linux - we've always had symlinks to fool
applications ;)

Please don't remove IDEA_PLUGINS_PATH!


Great - IDEA still uses IDEA_PLUGINS_PATH in build 2174 (which includes
the change to how plugins are found, according to the list of bugs fixed
in that build).

--
Mark Scott
mark@codebrewer.com

0
Avatar
Permanently deleted user

Thank you very much! This has been my biggest hassle with Idea (this also shows how little trouble I've been having in general... :-).

Another happy Mac user.

0

Please sign in to leave a comment.