Custom live templates gone after 2022.3 update

I can't find my custom live templates in Settings and neither can I execute them.

I temporarily solved it in the following way:

sudo snap remove phpstorm
sudo snap install phpstorm --channel=2022.2/stable --classic
3 comments
Comment actions Permalink

Hi there,

Do you use Setting sync plugins? There is a chance that they may have not been copied over from 2022.2 config.

You seem to be on Linux. What folders do you have at ~/.config/JetBrains/PhpStorm2022.2 ?

They should be in templates folder. If you are syncing settings with JB account -- check for it in jb_config folder as well (or a very similarly named folder, I do not remember the exact name)

https://www.jetbrains.com/help/phpstorm/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#826b451c

0
Comment actions Permalink

Ok. It seems that the templates were copied from:

~/.config/JetBrains/PhpStorm2022.2/settingsRepository/repository/templates

to

~/.config/JetBrains/PhpStorm2022.3/settingsRepository/repository/templates

But if I try to add a new template it saves in

~/.config/JetBrains/PhpStorm2022.3/settingsSync/templates/

and in

~/.config/JetBrains/PhpStorm2022.3/templates/

BTW. In 2022.2 I used a settings repository, which I think was configured this way:
https://www.jetbrains.com/help/phpstorm/settings-tools-settings-repository.html
Strangely, I can't find this option in 2022.3 anymore in Settings -> Tools.

0
Comment actions Permalink

@Krzysztof Wolowski

Ok. It seems that the templates were copied from:

~/.config/JetBrains/PhpStorm2022.2/settingsRepository/repository/templates

So you were using Settings Repository plugin

and not IDE Settings Sync plugin (that most ppl are happen to be using):

 

BTW. In 2022.2 I used a settings repository, which I think was configured this way: https://www.jetbrains.com/help/phpstorm/settings-tools-settings-repository.html
Strangely, I can't find this option in 2022.3 anymore in Settings -> Tools.

2022.3 has "deprecated" that plugin (not bundled by default). It now comes with Settings Sync plugin for such purposes.

1

Please sign in to leave a comment.