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!
Post Reply
Vandulus
Posts: 30
Joined: Tue Dec 06, 2005 4:48 pm
Location: Columbus, Ohio
Contact:

Simple Code Collapse

Post by Vandulus »

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.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

This will most likely be available in version 2006 which is due to very soon.
Karlis Blumentals
Blumentals Software
www.blumentals.net
Bendis
Posts: 35
Joined: Mon Jun 06, 2005 1:10 pm

Post by Bendis »

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.
drjee
Posts: 63
Joined: Sun Feb 05, 2006 10:37 pm

Post by drjee »

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
Patrick
Posts: 6
Joined: Wed Feb 15, 2006 4:09 am
Contact:

Post by Patrick »

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

And a code-editor split screen..
--
Patrick.
Vandulus
Posts: 30
Joined: Tue Dec 06, 2005 4:48 pm
Location: Columbus, Ohio
Contact:

Post by Vandulus »

Any plans to get Code Collapse to work with Word Wrap on in a future release?
benw
Posts: 7
Joined: Fri Feb 04, 2005 4:24 pm
Location: WI
Contact:

Code rollup/collapse

Post by benw »

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); ?>
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

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
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

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
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

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
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

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. ;)
Post Reply