Multiple settings repositories
I'm still a little confused as to how to share only certain settings across IDEs via the repository.
I have two IDE instances, 1 and 2. I want both to have the same code formatting, inspection, and keymap settings. So, I synced all the settings from IDE #1 to a repo called "read-only-settings". I then deleted everything from this repo except for the codestyles, inspection, and keymaps folders.
Next, I created two more settings repos, "settings-1" and "settings 2". I synced all the settings from each IDE instance to the respective repos. Finally, in both IDEs, I set the original "read-only-settings" repo as read-only repos in both.
What I want to happen is that any changes to the "read-only-settings" repo to be forced on each instance, but I want the instances to the rest of their settings from their own repository.
Is this correct?
请先登录再写评论。
> What I want to happen is that any changes to the "read-only-settings" repo to be forced on each instance
This is not how it is currently designed, actually. Read-only repos cannot force anything, in contrary it has less priority than local modifications of settings. So if your regular settings repo changes something taht is also defined in read-only repo, the changes from regular one will have a higher priority.
See https://youtrack.jetbrains.com/issue/IDEA-236706#focus=streamItem-27-4061538.0-0