Auto Complete in if statement conditions and elsewhere

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
soctan
Posts: 1
Joined: Fri Jul 18, 2008 12:41 am

Auto Complete in if statement conditions and elsewhere

Post by soctan »

I'll apologize if this has been posted before, but I wasn't able to find it in the forums.

I'm trying out the product and ran into an inconvenience when it comes to the auto complete feature. If I'm creating a condition for an if statement, the auto complete isn't available for my own classes, even when the classes are on the same page. I use classes as enums, so it's pretty important that I have this feature.

(Lame) Example:

class EnumSomeValue {
const TEST_ONE = 1;
const TEST_TWO = 2;
}

if ( 1 == EnumSo....
<-- auto complete will not show EnumSomeValue, and I am unable to auto complete to EnumSomeValue::TEST_ONE (if that makes sense). I can instantiate a class and get it to auto complete the variable/object, but that doesn't really help me.

Is the behavior I've described as intended? Should I make a feature request?

Overall, I've been very pleased with the product. I've been using it for just under a week, and this is the first real thing that has come up that bugs me (and lowers my productivity).
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Auto Complete in if statement conditions and elsewhere

Post by Karlis »

At the present moment auto-complete is only possible for the following syntax

$something = new ....
$something-> (triggers auto complete)

The additional support is still under development.
Karlis Blumentals
Blumentals Software
www.blumentals.net
Post Reply