Answer the question
In order to leave comments, you need to log in
How to synchronize project settings between different machines?
I develop from several machines, for each project - different settings. I used to just keep the .idea folder in the repositories, but that seems like a bad practice. How can Pycharm settings be synchronized for a project?
Answer the question
In order to leave comments, you need to log in
The decision was banal. This is a standard Pycharm feature (albeit a rather buggy one).
File -> Manage IDE Settings -> [Sync Settings to JetBrains Account...|Settings repository]
JetBrains Account is not supported in Community Edition.
Settings repository allows you to synchronize all settings (it seems to allow exceptions) including settings for individual projects with a remote repository.
A separate repository (not a project) is created, indicated in File -> Manage IDE Settings -> Settings repository -> Upstream URL. You can synchronize automatically, or through VCS -> Sync settings.
At the same time, there is a bug - in some cases the feature does not work, the solution is to delete the folder:
~/.{IDE_NAME_&_VERSION}/config/settingsRepository/repository/.git
Keeping the .idea folder in the repository is the norm if you need to synchronize the
ide settings.
For codestyle settings, there is .editorconfig and all sorts of linter settings
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question