re-formatting code via keyboard shortcut

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

re-formatting code via keyboard shortcut

Postby bwinkler » February 2nd, 2018, 4:48 pm

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
bwinkler
 
Posts: 2
Joined: February 2nd, 2018, 4:27 pm

Re: re-formatting code via keyboard shortcut

Postby Miloslav Beno » February 6th, 2018, 10:50 am

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,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 42 guests

cron

User Control Panel

Login

Who is online

In total there are 42 users online :: 0 registered, 0 hidden and 42 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 42 guests