I realized that "macros" - is really useful thing. But I've face with a strange its behavior.
Just after it is recorded it works OK. And after few days whitespaces disappear from it.
E.g. I've created macro(and binded hotkey) for typing <?php echo [CURSOR] ?>
. After few after calling this macro only <?phpecho [CURSOR] ?>
is typed.
Does anybody know why this happens? It is not a huge problem but it is a bit irritating.
Thanks in advance.
UPD @LazyOne:
No, it is not the same thing. It is not handy for me to use live templates instead of macros.
If I use live template to type <?php echo [CURSOR] ?>
I'm to type, e.g. e->c->o->TAB
(or any other unique char sequence(!))
If I use macro I type Ctrl+Shift+E
(If I bind hotkey).
Much more easy as for me to press three key at the same time instead 4 keys sequentially.
It is the only one thing which stops me to use live templates.
If it were possible to call live template by hotkey it would be great. As far as I know it is impossible.