Page 1 of 1

re-formatting code via keyboard shortcut

PostPosted: February 2nd, 2018, 4:48 pm
by bwinkler
Hi,

is there a way to enforce code formatting by pressing a keyboard shortcut, same as the Microsoft C# editor does by pressing >> CTRL + k + CTRL + d << for the full document or >> CTRL + k + CTRL + f << for a selected code snippet? PHPStorm allows that to do by pressing >> Ctrl + Shift + Alt + L <<.

Kind Regards
Björn

Re: re-formatting code via keyboard shortcut

PostPosted: February 6th, 2018, 10:50 am
by Miloslav Beno
Hi,

This should work exactly as in C#, if it doesn't please make sure your code is whitout syntax error. If it is and it still doesn't work please let us know.

Thanks,