Is there a way to sync settings across JetBrains IDEs?

Intellij IdeaPycharmPhpstormWebstormGoland

Intellij Idea Problem Overview


What is the best way to sync similar settings across JetBrains IDEs? For example I have PyCharm and PhpStorm, both of which support CSS and HTML, and I would like to have all of the syntax coloring, inspections, etc. be the same for both PyCharm and PhpStorm. Similarly, I have TODO patterns in both IDEs that I'd like to synchronize.

Is there a way to accomplish this that's reliable and not to tedious or complicated?


Note that despite answers here and the documentation, there is still no way to do this (as of 2022-04).

Intellij Idea Solutions


Solution 1 - Intellij Idea

There's now the Settings Repository plugin, but it still has quite a large number of bugs in cross-IDE synchronization.

Solution 2 - Intellij Idea

No, there is not, however there is an open feature request for this to be added to JetBrains' IDEs.

Solution 3 - Intellij Idea

Not relevant to the question asked, but possibly helpful in other situations:

Setting Repositories

The first way to synchronize settings is using Settings Repositories. The way it works is that it uses an external Git repository to share the settings. Each IDEA instance then connects to this repository to fetch the settings. In case one instance makes changes in the settings it can be propagated back to the repository. What's nice is that it is a plain old Git repo. That means your settings are backed up and under version control. So you can track and rollback the changes if necessary or even allow other people to create Pull Requests with some tweaks to your settings.

To enable this feature just go to:

File → Settings Repository

To configure multiple repositories go to

Settings → Tools → Settings Repository

What is it good for? Well, maybe there are some settings you want to share with your teammates to ensure consistency on your project. But then, of course, you want some of your setting to be personal and just for you. After all, every user has different preferences.

Synchronize settings using JetBrains Account

The second way of settings synchronization was available for some time as a standalone optional IDE plugin (which required an invitation to use), but now is integrated and enabled by default since 2017.3. It utilizes your JetBrains account to synchronize the data.

Under the hood, it actually uses a variation of Settings Repository mechanism, but you are shielded from it. It is much more convenient because you don't have to create a Git Repo to store the settings and provide its address to your IDE. On top of that, unlike Settings Repositories, it allows you to also synchronize your installed plugins.

The first thing you need to do is to make sure you have a JetBrains account. Once you have your JetBrains account, you'll need to Log in to IDEA using it. Just head to Help → Register. Then you just need to select Activate new License with JetBrains Account and enter your credentials. Then click Activate.

After your JetBrains account is linked, you should see a new Gears icon which is used to manage Settings synchronization: enter image description here

Installed plugin synchronization is handled separately from the rest of the settings. You can either manually trigger plugin sync or enable silent automatic synchronization of your plugins in the background.

enter image description here

More detailed instructions

If you are interested in more detailed instructions and explanations, you can find them it this blog post I wrote:

IntelliJ IDEA Tips & Tricks: Synchronization and Sharing of Settings

Solution 4 - Intellij Idea

You can use the new Settings Sync plugin that has just been released. It lets you sync UI and editor settings, keymaps, and the list of enabled and disabled plugins across all IntelliJ-platform-based IDEs. https://plugins.jetbrains.com/plugin/9922-ide-settings-sync

Solution 5 - Intellij Idea

2021 new feature:

File -> Manage IDE Settings -> Sync Settings to JetBrains Account

It takes care of the sync for you in the background to all your JetBrains IDEs, hands free.

enter image description here

Solution 6 - Intellij Idea

I was able to transfer settings from PyCharm Professional 2020.2.2 to IntelliJ IDEA Ultimate 2020.2.2 like so:

In PyCharm I selected File > Manage IDE Settings > Export Settings and exported a settings.zip archive. In IntelliJ I selected File > Manage IDE Settings > Import Settings and imported this archive. IntelliJ told me the import was successful.

This does the trick as far as I can tell, but I wouldn't be surprised if this doesn't work for all JetBrains IDE pairs.

Solution 7 - Intellij Idea

You can copy over the things in codestyles folders: http://www.jetbrains.com/idea/webhelp/copying-code-style-settings.html

I haven't explored other settings, though - but a quick diff is telling me that colors folder is probably completely compatible. You might even be able to get away with symlinking?

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
QuestionoromeView Question on Stackoverflow
Solution 1 - Intellij IdeaRiaDView Answer on Stackoverflow
Solution 2 - Intellij IdeaoromeView Answer on Stackoverflow
Solution 3 - Intellij IdeaVojtech RuzickaView Answer on Stackoverflow
Solution 4 - Intellij IdeaLittle MyView Answer on Stackoverflow
Solution 5 - Intellij IdeaRomanKoustaView Answer on Stackoverflow
Solution 6 - Intellij IdeaBattery_AlView Answer on Stackoverflow
Solution 7 - Intellij IdeaDominykas BlyžėView Answer on Stackoverflow