NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Question about Code Completion


Joined: 12 May 2007
Posts: 15
Reply with quote
Hi there,

I just downloaded PhpEd to try it. The code completion feature seems not work properly. For example, I first created a new php file and declared a var $client,. Then, I typed $c. However, phped does not give me $client for me to choose.

But if I type $_ and then delete _, then type c, the popup window does show $client.

Did I make some mistake?

Thanks,
View user's profileFind all posts by tiger0516Send private message


Joined: 24 Oct 2006
Posts: 98
Location: Melbourne, AU
Reply with quote
Check your settings: PhpED -> Tools -> Settings -> Code Insight -> Min Characters (default is 3)
View user's profileFind all posts by LatsSend private message


Joined: 12 May 2007
Posts: 15
Reply with quote
Thanks. It works perfectly now. Razz

Now I have another question:

When I type $_g, choose $_GET and then hit return key, phped does not give me the proper synatx, which shall be $_GET['x'], where x is the cursor shall be. It is a feature available in eclipse and zend studio, which i think is very convenient. Is it possible in phped?

Similarly, still the $_GET example, after I get $_GET, I type [, phped does not give me the ending ] (in other words, it does not give me a pair of square brackets).

Finally (so far), still the same example, after I input $_GET['name'] and I press Enter, I get a new line. In eclpse, that will move the cursor after ], where I can input ; to end this line. Can I do it in phped?

Other than these concerns, phped is great Exclamation
View user's profileFind all posts by tiger0516Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8335
Reply with quote
Quote:
after I get $_GET, I type [, phped does not give me the ending ]

You may want to open Tools->Settings->Editor Settings and check Auto Close brackets and Auto Close quotes.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Question about Code Completion
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic