Live Template ENUM not showing suggestions

I have a live template for todos and I would like a dropdown list when I create them that give me the options of "todo", "fixme" and "note". I understand that I can use `enum` for this but I can't seem to get it working properly. Here is a screenshot of my live template:

And here is a GIF of the use of that live template:

What am I doing wrong?

2
2 comments

I also can't get enum to work properly and would appreciate an answer to this question.

0

On the screenshot, PhpStorm tries to pass variables $TODO$, $NOTE$, $FIX$ as arguments to enum(), and they are not defined.
Enclose the words in double quotes if you want to pass them as strings.

0

Please sign in to leave a comment.