Formatting source code

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

Formatting source code

Postby hedgehed » January 12th, 2018, 10:30 am

Hello!

How can I customize the code formatting?
I need the spaces after commas (in, parameters, of, function),
Also i need spaces before and after signs = != => etc
Also "egyptian braces":
on(){
}

off()
{
}

Thanks !
hedgehed
 
Posts: 1
Joined: January 12th, 2018, 10:18 am

Re: Formatting source code

Postby Sachelis » January 14th, 2018, 5:03 pm

Sachelis
 
Posts: 4
Joined: January 12th, 2018, 11:36 pm

Re: Formatting source code

Postby AndyM84 » January 22nd, 2018, 2:31 am

Just to 'bump' this a bit, it would be GREAT if we could get some more formatting options, maybe even something like http://editorconfig.org/ support?
User avatar
AndyM84
 
Posts: 55
Joined: August 6th, 2012, 3:24 pm
Location: Boston, MA, USA


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 1 guest

User Control Panel

Login

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 62 on January 7th, 2012, 10:54 pm

Users browsing this forum: No registered users and 1 guest
Phalanger