Code Collapsing/Expanding
Moderator: kfury77
Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
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".
-
- Posts: 3
- Joined: Fri May 20, 2005 11:52 pm
Code Collapsing/Expanding
I humbly request the code collapsing/expanding feature. Not an emergency. But it's useful when your documents get really long...
Thanks,
Thanks,
Duncan Idaho
- syrupcore
- Top Contributor
- Posts: 917
- Joined: Thu Jul 21, 2005 12:58 am
- Location: Portland, Oregon, usa
- Contact:
I had an idea for a different implementation. I was thinking about this today and wondering if there is already a logical connection between 'select tag block' and the basic logic needed to collapse a block of code. I think this might only currently be applicable to HTML, not css or php.
Instead of adding blumental specific code to your document like #region/#endregion, could I just right click the starting tag for a section and select 'collapse tag block'. then the opening and closing tags would fold to one line with an icon in the gutter or just a diffent color(like red) for the tags. Right click again and select 'expand tag block'.
Another thought was using bookmarks. Collapse everything between this bookmark and the next. double click the bookmark to expand it.
just thinking out loud
Will
Instead of adding blumental specific code to your document like #region/#endregion, could I just right click the starting tag for a section and select 'collapse tag block'. then the opening and closing tags would fold to one line with an icon in the gutter or just a diffent color(like red) for the tags. Right click again and select 'expand tag block'.
Another thought was using bookmarks. Collapse everything between this bookmark and the next. double click the bookmark to expand it.
just thinking out loud
Will
mmm...
i like your idea syrupcore, the one with the bookmark stuff. And by the way, have you try Dreamweaver 8? It's code collapsing is unbelievable!
. it collapses tags, blocks, and you can even select the lines you want to collapse with [+] [-] feature! Take a look at the quicktour at macromedia's there's a video showing how it works, that is just nuts!!...


- syrupcore
- Top Contributor
- Posts: 917
- Joined: Thu Jul 21, 2005 12:58 am
- Location: Portland, Oregon, usa
- Contact:
Re: Notepad++
is there something you're missing with webuilders code collapse? works great for me.peep wrote:Current version of the open source Notepad++ has a cute collapse for all the languages. I'd like to see it that way too.
-
- Posts: 4
- Joined: Thu Sep 14, 2006 5:01 pm