Problems with macros


I wanted to create a macro to search for the selected text in the current file.
So I recorded "Find", then Alt+F7

I have linked this macro to the key F4 to easilly search any selected text in the current file.

The problem is that it works one in two times.
The first keystroke is always working. The second one is not called everytime.

With PHPStorm 6 it got worse:

I tried to create another macro to find selected text in the whole project.
My macro is: Find in Path, press "ENTER".

This time, "ENTER" is called before "Find in path" so my selected text is replaced by a carriage return just before calling "Find in path"!

Is there a way to fix this?


Please sign in to leave a comment.