NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Autoclosing brackets and quotes new behavior and ....


Joined: 16 Aug 2006
Posts: 13
Reply with quote
It would be nice if autoclosing work like in Zend Studio.
I mean if you put in your code "(" PHP Ed will automagicly put closing ")", but if you typing name of function with no arguments it's faster to put "()" then tu put "(" and then pressing right arrow key to place cursor after ")".

In Zend Studio if you put "(" autoclosing option will put ")" but if next char you type is also ")" cursor just jumps over the bracket.

***

Another thing are code templates. Now if I type "fekv" for foreach with key and values cursor is placed on first field to fill, but then you have to use arrow keys or mouse to set $key and $value, it would be great if you could just press TAB key to get to another field (like in Zend Studio)

Best regards
Jacek
View user's profileFind all posts by wengoshSend private message


Joined: 11 Sep 2006
Posts: 1
Reply with quote
I agreed on that one.

I was trying to migrate from using Zend Studio to this phpEd
but I had this problem about auto complete.

It would be nice if this editor can do such autocomplete thingie as in Zend studio .. .
View user's profileFind all posts by SikachuSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8335
Reply with quote
PhpED has this feature available from the beginning (2000-2001).
You just need to turn Auto Close Brackets on. See tools->settings->editor settings.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 16 Aug 2006
Posts: 13
Reply with quote
dmitri wrote:
PhpED has this feature available from the beginning (2000-2001).
You just need to turn Auto Close Brackets on. See tools->settings->editor settings.


I guess your answer is not to my post, but for the next one. I know there is option auto close bracket - but the thing is, I'd like IDE to jump over auto-inserted bracket if I type this barcket also by myself (by mistake).

Best regards
wengosh
View user's profileFind all posts by wengoshSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8335
Reply with quote
right.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Autoclosing brackets and quotes new behavior and ....
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