Automatic Code Collapse

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
Cyberghost
Posts: 1
Joined: Sat Aug 19, 2006 6:36 pm
Location: Essex, UK

Automatic Code Collapse

Post by Cyberghost »

Hi,

I've just purchased WebBuilder 2006 which is really making my life easier with coding PHP, so much easier infact I have persuaded my company to buy it too.

The one thing that niggles me (so far at least :-) ) is the code collapse. Whilst I really approve of the idea, it is a pain to have to collapse all the code every time you reopen a file.

Assuming that to save it you would have to create a 'working' file and a pure 'PHP' would cause problems for people, can you not have a +/- symbol in the left hand gutter where the braces are? Since these are already linked between { and } braces, I wouldn't have thought it would have been too hard.

Hopefully I haven't repeated another topic that has already been posted on the forum, I couldn't find anything exactly like this so I hope it is food for thought.

Cheers

Cyberghost
"When you eliminate the impossible, whatever remains, however improbable, must be the truth." Sherlock Holmes.

"God and programmers are in a constant race. Programmers to make their programs more idiot proof, and God to produce bigger idiots!"
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

I wonder if each project might have an XML associated with it that could keep track of things like this - which line numbers are folded... it might also keep track of FTP settings, open files, project specific snippets, project paths, that oft request 'project notes' file... other, more interesting stuff?
endelo
Posts: 10
Joined: Tue Jul 25, 2006 10:43 pm

Post by endelo »

I'd love to see RapidPHP give the option to automatically parse your code for you and add its own default code collapses for functions, loops, conditionals, etc., basically everywhere it sees a {. I believe dreamweaver is what I'm thinking of that does that, and it is incredibly convenient, just to not have to highlight your own code to collapse if you only want to collapse a function. However, at the same time, I think that the current code collapse capability should be kept. That is, whether you allow RapidPHP/WeBuilder to automatically parse and put in its own code collapses, you should also keep allowing the user to select certain portions of code to collapse that otherwise wouldn't have been caught by the autoparse.
//End of 2 cents
Post Reply