Code completition

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

Code completition

Postby joaomfrebelo » December 22nd, 2018, 7:20 pm

For class methods the code completion is not putting the braces at the end of method call, like this:

class foo
{
public function bar()
{
}

}

$foo = new foo();
$foo->bar <----- is not putting the braces

The code completion is completing like above and doesn't show any error or warning, and i have to put the brace manually.

Is there any option to the autocompletition to complete the methods with the braces and not like it was properties?

$foo->bar();
joaomfrebelo
 
Posts: 3
Joined: December 19th, 2018, 9:53 pm

Re: Code completition

Postby maros.beno » January 2nd, 2019, 1:01 pm

Hi,
thank you for pointing this out. Currently there is no option for this, but it would be a nice feature and we will look into it.

Thanks again and have a nice day.
Maroš Beňo
User avatar
maros.beno
 
Posts: 62
Joined: October 12th, 2016, 12:11 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 31 guests

cron

User Control Panel

Login

Who is online

In total there are 31 users online :: 0 registered, 0 hidden and 31 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 31 guests