How does the settings repository plugin work with read-only repos?

I'm trying to export code formatting settings only and sync them on all our team machines. 
I created github repo with settings.jar that contains formatting settings only. 
Then in Settings repository window I added read-only repository. Auto-sync is checked, but the settings are not imported on phpstorm restart and the VCS -> Sync Settings dropdown is disabled.

How to use properly and import read-only repositories? 

Used PhpStorm info:

PhpStorm 2017.3.1
Build #PS-173.3942.32, built on December 12, 2017
JRE: 1.8.0_152-release-1024-b8 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

0
1 comment
Avatar
Permanently deleted user

Hello,

You do not need to place settings.jar file into a repo - that's not the way it works.

To use Settings Repository it is necessary first to export settings to that repository. Since you cannot select what to sync with Settings Repository, the proper way would be to download settings.jar to other workstations and then import it via File > Import Settings.

1

Please sign in to leave a comment.