1

I didn't found the way to use the $SELECTION$ variable without use it in the template. I can modify SELECTION in another variable and use this variable in the template. But if I don't use the $SELECTION$ in the template, the template is not available in the "Surround With" menu.

Is there a way to use a Live template which can take in parameter the user SELECTION without display it in the template ?

The goal is to store and apply a dozen of regex/replace.

Thanks

Pedro
  • 21
  • 6

1 Answers1

1

It's seems to be a bug of my current IntelliJ Idea version. I use the version 2019.2.

WebStorm Live Template $SELECTION$ Regular Expression

Pedro
  • 21
  • 6