PhpStorm 7 and Live templates

After upgrade to PhpStorm 7 I noticed that livetemplates suggestions have priority in suggestion list lower than constructions

For example, I have live template called "foreach"


Before update: I type "foreach" (suggestion menu opens) press [Tab] - livetemplate applied.

After update: I type "foreach"  (suggestion menu opens) press [Tab] - suggestions menu closes (!) and live template wasn't applied, press [Tab] again - livetemplate applied.

What I see now - my live template for "foreach" is on second place in suggestion list and suggestion for construction "foreach" on the top, so casically now I have to press [Tab] twice! to apply live template, which is pritty inconvinient.

Is there anything I can do about it?

Just in case, screenshot of my settings.


Checkbox "Sort lookup items lexicographically" doesn't help.

Comment actions Permalink

I have the same exact problem with Emmet.


The font-face autocompletion has a highest priority than font-family. But it's kinda a problem since i typed the "ff" : Emmet's shorthand code to get font-family.
I would be glad to know if there is a specific setting to avoid that.

Thanks in advance.

Comment actions Permalink


this is how the was fixed: now indeed templates have lower priority than code constructions

Comment actions Permalink

But it is ridiculous and inconvinient =) Is there any way to get my one-tab live templates back?

Comment actions Permalink

Well, ok for the Live templates.
But since there is the exact same problem with Emmet. Will it be fixed to ? Or do i need to create an issue about it ?


Please sign in to leave a comment.