Syntax complete for IF/Else

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
Lenn0x
Posts: 1
Joined: Tue Jan 24, 2006 5:54 pm

Syntax complete for IF/Else

Post by Lenn0x »

I am very close to purchasing Rapid PHP, as its a very great editor in my opinion. 2 things keeping me from the purchase at the moment is the fact it would be nice so that when I create functions or if statements it would create the ending bracket like auto complete

if (var) {

} // <-- is created

As well as the ability that when your highlight a bracket, it automaticly colors the start and end point bracket so you know where the if closes, this is a feature I enjoy in PHP Designer :) Will these be added in version 2006?
fuzzylogic
Posts: 43
Joined: Thu Jan 10, 2008 11:55 am

(){} auto complete closure of brackets and parens

Post by fuzzylogic »

what I find to be a huge productivity booster is the automatic closure of brackets and parens.

The number one syntax error I encounter is mismatched pairs. By doing an autocomplete you would be sure of always having them balanced.

it is desired that as soon as you type an opening { or (
that the program automatically adds the closing bracket/paren.

in contrast to the person above, I will add my own blank lines, please do not try to second guess my intended layout, just put the closing bracket immediately after the cursor.

it is sort of possible to do this with a custom autocomplete rule, but it requires that you type a space and it also puts the cursor in the wrong location which is unsatisfactory.

one thing that makes this feature tricky to implement is that when pasting text it is necessary to turn it off so that you are not trying to apply auto brackets to a text that is already formatted.


another prominent editor has this feature and I really like it.

thank you
Post Reply