1. In the names of groups of templates ( Template group... groups Template group... ) and the abbreviations themselves do not use specific characters; such as ampersand ( & ), plus ( + ), forward slash ( / ), parentheses ( () ) and others; since in this case they will be replaced with a lower underscore ( _ ) on the remote repository and conflicts will arise.
The names of template groups work properly:
- numbers (
0-9 ); - letters of the English alphabet (
a-zA-Z ); - spaces;
- hyphens (
- ).
In the names of abbreviations:
- numbers (
0-9 ); - letters of the English alphabet (
a-zA-Z ); - hyphens (
- ).
2. Try disabling autosync:
Settings -> Tools -> Settings Repository... -> Auto Sync
and sync settings on demand (manually):
File -> Settings Repository -> Merge | Overwrite Local | Overwrite Remote
However, for some reason, “through time” File Templates and Project Templates synchronized, I have not figured it out.
The only 100% working method is to write a Bash script that commits the ~/.PhpStorm<version>/config folder to a remote repository, and then on the right machine using another script to delete the current PHPStorm configuration and slip a new one.