Why is there 1k options on how to beautify code?
I have PHPstorm for more than a year now. I have spent an untold amount of time scouring the internet looking for a answer in plain english. How do I beautify the code? And isn't there a button that simply says it, 'beautify code'. It would be pretty fn simple to do that and very helpful to the base of buyers.
Please sign in to leave a comment.
Hi there,
>How do I beautify the code? And isn't there a button that simply says it, 'beautify code'.
Code | Reformat Code...
>Why is there 1k options on how to beautify code?
Where? "Settings/Preferences | Editor | Code Style | PHP"?
Because everyone has different preferences: some people want "if(!$something)", others "if (!$something)" and others "if ( !$something )".
Just use "Set from..." and choose PSR-2 or another comfortable standard/preset and use it -- no need to configure all things manually.