Simple 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!

Simple Code Collapse

Postby Vandulus » Tue Dec 06, 2005 4:58 pm

A great help to me while debugging would be the ability to collapse code based on a range of lines. Oftentimes I'll need to look at two separate areas of the same file and right now have to scroll quite a bit.

The way I see it working is highlighting a series of lines and clicking a collpase button. This would collapse those lines into a single line with a place holder in the line number gutter. Clicking the placeholder would expand to code back to normal. This should be easier for you to implement than a tag based collapse.
Vandulus
 
Posts: 30
Joined: Tue Dec 06, 2005 4:48 pm
Location: Columbus, Ohio

Postby Karlis » Mon Dec 12, 2005 9:31 pm

This will most likely be available in version 2006 which is due to very soon.
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
Karlis
Site Admin
 
Posts: 3601
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe

Postby Bendis » Sat Jan 14, 2006 4:33 am

I like the idea for CSS files too. A "master button" could collapse all CSS lines at once, saving a lot time to scroll the document.
A button (placeholder) at the gutter could open a single block again.
Bendis
 
Posts: 35
Joined: Mon Jun 06, 2005 1:10 pm

Postby drjee » Sun Feb 05, 2006 10:43 pm

why not do it as it is done in UltraEdit:

a tag which cover several lines gets a - and this way you can colllapse the lines. (expand with +)

cheers, drjee
drjee
 
Posts: 63
Joined: Sun Feb 05, 2006 10:37 pm

Postby Patrick » Wed Feb 15, 2006 5:09 am

that, and maybe if...else combo's could get a {-}/{+} in the gutter too..

And a code-editor split screen..
--
Patrick.
Patrick
 
Posts: 6
Joined: Wed Feb 15, 2006 4:09 am

Postby Vandulus » Mon Mar 06, 2006 9:28 pm

Any plans to get Code Collapse to work with Word Wrap on in a future release?
Vandulus
 
Posts: 30
Joined: Tue Dec 06, 2005 4:48 pm
Location: Columbus, Ohio

Code rollup/collapse

Postby benw » Tue Mar 07, 2006 3:32 pm

Hi,
I have rapid php 2006 and I do not see "rollup/collapse" feature... Are there any plans for an update?

Just read the big list ... I see code collapse at the veryend on this page:

http://www.blumentals.com/rapidphp/

Countless goodies (code collapse, line highlighting, text indentation etc.)

Just curious wondering how to use it, if it's there.

Also, can we have the ability to use the built in browser feature to view all websites. (e.g., so we can use the browser feature to work on sites that are not http://localhost)

Other than that... the built in database connectivity rocks! Nice add on!

I also like the braces and bracet highlighting. Thanks Karlis.
<?php str_replace("ASP", "PHP", $str); ?>
benw
 
Posts: 7
Joined: Fri Feb 04, 2005 4:24 pm
Location: WI

Postby Karlis » Tue Mar 07, 2006 5:48 pm

Code collapse must be enabled in options. Just a note - code collapse may slow down editing if used on documents that have very long lines (thousands of characters), also it might be distracting, thus it is enabled optionally.

Currently what is implemented is SIMPLE code collapse, the smart collapse based on code is left for future releases / updates.
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
Karlis
Site Admin
 
Posts: 3601
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe

Postby syrupcore » Tue Mar 07, 2006 7:49 pm

that's perfect for me. I hadn't seen it because I have my own screwy menu setup. Really cool!

What's 'advanced' code collapse?
User avatar
syrupcore
Top Contributor
 
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa

Postby Karlis » Mon Mar 13, 2006 5:05 am

Advanced (smart) code collapse is when the + and - marks appear automatically near language specific blocks of code, e.g. functions, tags, comments etc.
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
Karlis
Site Admin
 
Posts: 3601
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe

Postby syrupcore » Wed Mar 15, 2006 12:31 am

ah yes. That's the way MS Visual Studio does it. I must admit, it's pretty nice. It might be the only thing I like about Visual Studio. ;)
User avatar
syrupcore
Top Contributor
 
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Feature Requests

Who is online

Users browsing this forum: No registered users and 52 guests