78

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?


This is now a feature built into the IDEs.

9
  • @DozortsevAnton: Regarding the tag change is IntelliJ IDEA a superset of PyCharm and PhpStorm. I assumed it was a distinct product.
    – orome
    Commented Feb 9, 2014 at 18:07
  • This applies to all settings, not only support CSS and HTML and not only IDEA and PyCharm, it's concerned also RubyMine or WebStorm. In my opinion sync IDEA with PyCharm or PhpStrom it's not possible. Make you issue for this feature or submit request. Commented Feb 9, 2014 at 18:28
  • 1
    @LazyOne: That only synchronizes settings for a given IDE across machines; I'm looking for a way to synchronize across IDEs for a given machine.
    – orome
    Commented Feb 9, 2014 at 20:36
  • 1
    I'm interested in this too and it's disappointing to see so many upvoted answers answering a completely different question.
    – Burhan Ali
    Commented May 26, 2022 at 18:30
  • 1
    @BurhanAli There seems to now be an option. I have not tested it yes, but see my answer below. Commented Feb 3, 2023 at 10:46

8 Answers 8

21

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

13
  • 10
    I had quite a bad time with this plugin. It seemed initially to be working, but keymaps refused to sync and the whole thing was very buggy. I ended up doing it manually via Import/Export :(
    – VitalyB
    Commented Dec 15, 2015 at 19:51
  • 6
    Very buggy indeed, every time I restart my IDE it seems like a gamble as to whether or not I will get the settings I want or some random combination of mine and the defaults. Commented Apr 14, 2016 at 15:47
  • @DovBenyominSohacheski, I didn't use it for cross-IDE sync for a while because I use only CLion now.
    – RiaD
    Commented Apr 17, 2016 at 13:14
  • 1
    It looks like it's seen many updates since this answer was posted, but reviewers are posting negative reviews currently.
    – Pup
    Commented Dec 27, 2016 at 18:45
  • 1
    Although this looks like the correct answer it should be stated very strongly that as of early 2017 this plugin will still likely DESTROY your settings. Check the comments on the linked plugin page before installing. Commented Mar 22, 2017 at 10:20
16

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

4
  • 1
    has there been an update on this recently? Or a new way to achieve the same thing? I could not see activity on the issue for a long time.
    – chaudharyp
    Commented Jan 10, 2016 at 16:00
  • Fortunately, this is no longer true, please check the other answers. Commented Jun 25, 2018 at 9:10
  • 2
    All the other answers are answering a different question. Commented Aug 20, 2018 at 9:32
  • Note that there is still no way to do this (answers here and documentation notwithstanding). For example, disconnecting from the single product online sync to use exports/imports or a repo to sync multiple product fails to even preserve the settings for a single product.
    – orome
    Commented Apr 27, 2022 at 14:45
9

There seems to now be a setting to sync across all products: enter image description here

I have not tried it yet, as I just stumbled onto it.

1
8

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

4
  • 8
    What does this answer have to do with the question: syncing my various different (local) JetBrains IDEs (e.g. syncing my local PyCharm syntax coloring with my IntelliJ coloring)?
    – orome
    Commented Jun 26, 2018 at 20:06
  • It does sync the settings through jetbrains account or git repo. Commented Jun 27, 2018 at 5:38
  • 2
    The Jetbrains approach seems to apply only to one kind of IDE on different machines, not all the various IDEs on one local machine.
    – orome
    Commented Jun 27, 2018 at 11:22
  • I see, sorry. Still this may be helpful for others searching for how to sync settings. Commented Jun 27, 2018 at 12:41
7

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

1
  • 7
    This doesn't help with syncing between two different local IDEs which is what the question is about.
    – Burhan Ali
    Commented May 26, 2022 at 18:28
4

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.

1
  • Can confirm this works for transferring settings from Rider 2022.2.4 to WebStorm 2022.3. Commented Nov 17, 2022 at 13:23
3

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

3
  • 1
    Does this sync among different IDEs locally (e.g. between PyCharm and IntelliJ IDEA)?
    – orome
    Commented Aug 11, 2017 at 13:34
  • 1
    yes, it does. it syncs between any instances of intelliJ-based IDEs, not matter if they are installed on the same machine or not. It supports synchronization of editor schemes, color schemes, keymaps and plugins. Changing any of these settings invokes auto sync after you've applied them and closed the Settings/Preferences dialog. When you run a different IDE instance (or activate it after more than one hour of inactivity), all modified settings will be updated automatically. Plugins are updated either automatically or manually (this is configurable)
    – Little My
    Commented Aug 14, 2017 at 12:42
  • 5
    This is authors statement: Alexander Lobas "Now sync works for same products only. Idea <-> Idea, PhpStorm <-> PhpStorm, ..."
    – krizajb
    Commented May 30, 2018 at 17:41
-2

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?

1
  • 1
    Did you actually try this with different languages (which is what the question is about)?
    – orome
    Commented Sep 14, 2014 at 20:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.