If you have a paid version of IDEA, you probably already know that you can automatically sync your settings to the currently active account. That doesn’t cover all use cases though:
- You can’t share settings with another account, whether your own or someone else’s.
- You can’t keep track of how your preferences have changed over time.
- If you want to edit the global settings manually you first have to find them.
Happily IDEA provides a second way of syncing settings, using a custom settings repository. It’s pretty easy to set up:
- Create a Git repository (the rest of the instructions assumes you’re using a free private repo on GitLab).
- If necessary, change the default branch to “master”.
- Create a project access token (if you can) or personal access token with
- In the File → Manage IDE Settings menu:
- Disable syncing to JetBrains account.
- Set up syncing to repo with your normal GitLab username and the token generated above.