Saving and restoring settings

I am a long time user of IDEA and I also use the EAP releases. This exposes me to a bunch of bugs over time. As a result some of the problems that developed on my machine, are apparently not reproducible elsewhere but are very sticky on my machine. These problems survive upgrades of both EAP and production versions. For example, all search functionality in the IDE help stopped working a while ago and no upgrade since fixed it. More annoyingly, whenever I do search and replace the current buffer scrolls to the top and I lose my edit location in the buffer (it seems that other people had this too, but it does not happen on my laptop).

Anyway, I am happy to do a clean install (remove everything in .IntellijIdea10) and start over. No problem, except that in the process I would lose all my cutom settings, which are scattered all over the place. Naturally I would also lose any plugin specific settings, which is not as critical but very uncomfortable.

The question is - does anyone know a reliable way to backup and restore all settings (can assume that we remain on the same version of IDEA)? I looked around and found no discussion that documented any way to do it. I would be happy with an answer like "copy away the following directories and restore them after the re-install"

0
Avatar
Permanently deleted user

I verified that these problems go away after blowing away the entire .IntelliJIdea10 directory and they come back when you copy the older config directory on top of the newly generated one. So clearly these problems get cached somewhere in the config directory. But go figure where...

0

Have you tired
File | Export Settinsg...
File | Import Settings...

0
Avatar
Permanently deleted user

Thanks. I tried it, but it didn't work - the whole thing crashed.

I resorted to painstainkingly going file by file to figure out where the problems is.
The search and replace problem turned out to be a very real bug that the IDEA team just ignored for 4 mothns going. I nailed it to having the "soft wraps" turned on in the editor settings, by narrowing down to editor.xml and then going setting by setting. Still loooking for what breaks help search.

Did not try the settings export/import after going through the manual, file by file method - as i am not yet done with it.

0

Hello arnon,

Most likely such problems are caused by old and incompatible plugins, and
would be fixed by removing the config/plugins directory

I verified that these problems go away after blowing away the entire
.IntelliJIdea10 directory and they come back when you copy the older
config directory on top of the newly generated one. So clearly these
problems get cached somewhere in the config directory. But go figure
where...


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


0

Consider to setup separate instance of system cache and  config directory for your stable version. It will allow you to have at least something stable if update breakes things. Stable IDEA instance will run on it's own cache as a separate OS process, so you'll get additional benefits and won't be impcted by unstable new features

0
Avatar
Permanently deleted user

Thanks. That's basically what I ended up doing

0

请先登录再写评论。