re-formatting code via keyboard shortcut
2 posts
• Page 1 of 1
re-formatting code via keyboard shortcut
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
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
- bwinkler
- Posts: 2
- Joined: February 2nd, 2018, 4:27 pm
Re: re-formatting code via keyboard shortcut
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,
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,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 42 guests