PHPStorm Live Templates expression unable to change

Answered

I've created a few live templates and until today I was able to change the "expression" in the edit variables dialog.

Now, I am only able to select one from the dropdown and not make manual changes. They just disappear.

I've resorted to manually update the XML file and restart PHPStorm to load the changes.

 

Does anyone know how to resolve this issue?

3 comments
Comment actions Permalink

Please have a look at this video to see what I mean: https://youtu.be/3SUZj8hBM4Y

1
Comment actions Permalink

Hi Rene,

Sorry, it's a known issue: https://youtrack.jetbrains.com/issue/IDEA-132965

There're two workarounds:

  1. Click 'OK' after every change and re-open the dialog (not really convenient)
  2. Click 'Move up/down' after every change, so the dialog stays open (not convenient either, but at least allows us to work)

 

0
Comment actions Permalink

Hello Eugene,

Thank you for the prompt reply. This works, and is a minor inconvenience compared to manually updating the XML files :)

0

Please sign in to leave a comment.