Macro escaping \ from typed statement

What I am trying to do with a macro is Format my code. But I need to optimize my use statements in a different way than what php storm does. I want to sort by length. I found a plugin for that. I just need to call a shortcut now after selecting the use statements for which I wrote a regex ^use.*(?:\r?\nuse.*)* which selects the use statements but when the macro does the typing for me, it escapes the \ char and it doesn't work

1 comment

Strange, it works fine here (both \ & / ).

Are you on a latest IDE version?

0

Please sign in to leave a comment.