IntelliJ - Import configuration from old version after first run

Intellij IdeaJarConfigurationSettingsConfiguration Files

Intellij Idea Problem Overview


I recently installed version 2017.2 of IntelliJ IDEA. I would like to keep my settings from my old 2017.1 version. IntelliJ's support site shows the following dialog box that is supposed to show up when you run the newly installed version for the first time.

Complete Installation Dialog

However, neither when I was installing the new version, nor when I ran the new version for the first time, was I ever shown this dialog box. I attempted to import settings from my old version via the File | Import Settings menu option, but it expects a .jar file that would have been exported from an old version by going to File | Export Settings, which I did not do in the old version before installing the new one.

I do still have all of the config from my old version in %MY_HOME_DIR%/.IntelliJIdea2017.1. How can I import those settings in the same way that the above dialog box would have done had it shown up when I opened the new version for the first time?

Intellij Idea Solutions


Solution 1 - Intellij Idea

Starting with IntelliJ IDEA 2020.1 the settings are imported automatically from the most recently used previous version and the dialog is not shown.

To start with the default settings you can use File | Manage IDE Settings | Restore Default Settings.

Also note that default folders used by the IDE have also changed since 2020.1 release.


Original answer for older versions:

This dialog is displayed only when there is no existing directory for IDE configuration of this version.

In your case there is probably %MY_HOME_DIR%/.IntelliJIdea2017.2 directory already created if you were using EAP or RC builds before.

Removing IDE configuration directory will display this dialog again on the next start.

Solution 2 - Intellij Idea

As of version 2020.1, Jetbrains has changed the directory where preferences are stored.

  • For Windows %\APPDATA%\JetBrains\<product><version>
  • For OSX: ~/Library/Application Support/JetBrains/<product><version>.
  • For Linux ~/.config/JetBrains/<product><version>

See https://www.jetbrains.com/help/idea/2020.1/tuning-the-ide.html#default-dirs

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAndrew MairoseView Question on Stackoverflow
Solution 1 - Intellij IdeaCrazyCoderView Answer on Stackoverflow
Solution 2 - Intellij IdeaSamuelView Answer on Stackoverflow