Autocomplete problems for static method calls (v10.0.0.111)

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
andrispp
Posts: 21
Joined: Thu Apr 27, 2006 9:00 am

Autocomplete problems for static method calls (v10.0.0.111)

Post by andrispp »

1.

Autocomplete select is not shown automaticaly when trying to call static method.

In this example everything works:

Code: Select all

$o = new Object();
$o->[after > is entered autocomplete pops up and everything is fine]
But in this not:

Code: Select all

Object::[to open autocomplete I have to start type something]
2.

When trying to get static method parameters with CTRL + SHIFT + SPACE they are wrongly taken from another classes another method.

Example which works (from real code):

Code: Select all

$d = new Domain();
$d->update([pops up tooltip with $domain_id, $full_edit, $data]);
Example which does not work:

Code: Select all

Domain::update([pops up tooltip with wrong parameters]);
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Autocomplete problems for static method calls (v10.0.0.111)

Post by Karlis »

Thanks for the feedback. I'll ask Gatis to look into this.
Karlis Blumentals
Blumentals Software
www.blumentals.net
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Autocomplete problems for static method calls (v10.0.0.111)

Post by Gatis »

Hi,

We have made some fixes (will be available in one of the next updates).

=>Object::[to open autocomplete I have to start type something]
Now autocomplete will be initialized automatically after you have typed '::'.

=>Domain::update([pops up tooltip with wrong parameters]);
Now a tooltip will be shown with correct class's static method's parameters.
Kind regards,
Gatis Avots
Post Reply