Reputation: 111
What is the difference between:
<path>
) (when install)File | Import settings
)For Import my settings from a previous version (<path>)
-- what are the necessary files?
config
?system
?Upvotes: 3
Views: 6324
Reputation: 165473
Import my settings from a previous version (
<path>
) (when install)
This option is available (and offered automatically) when new IDE version is launched (mainly major versions only) and no settings found for this version. It's not possible to bring this dialog manually, unless you delete your settings for current version.
If you choose to use it IDE will just copy all files from config
folder (Windows/Linux -- on Mac it uses different folder structure) from older version into new one.
Import settings from a JAR archive (
File | Import settings
)
You can do this at any time (as long as you have exported your setting before using similar action).
This option can be used:
The possible downside (danger) of using this functionality is that devs may simply forget (bug/regression) to include certain config files when exporting settings (File | Export settings
) -- I remember at least 2 complaints in the last 2-3 years.
I personally always use first option.
For "Import my settings from a previous version (
<path>
)" -- what are the necessary files?
It depends on your OS.
On Linux/Windows config
folder is enough; everything inside system
can be re-generated (indexes/caches/etc) and gets emptied from time to time anyway (File | Clear caches...
) and definitely not needed when upgrading your IDE to a newer version.
Mac uses different storage locations where config/plugins/etc are located in few different but standard locations.
More on this: Directories used by the IDE to store settings, caches, plugins and logs
Upvotes: 9