Skip to main content
This topic has been closed for replies.
Correct answer lnayal

Code collapse for selection in code view is back with the latest release DW CC 2015.1 Nov Release.

For more details read the post below

Dreamweaver CC 2015 update (2015.1) is now live!

30 replies

Participant
August 6, 2015

This is ridiculous.  Why did we lose the ability to select code and collapse it.  Makes zero sense.

chrixtopher
Participating Frequently
August 3, 2015

I want my CODE-FOLDING! New code-folding just not friendly to me...

I have been using this selection code-folding for years, it makes my works faster and more efficiently by hiding those codes I don't want to see...

it's the most useful features, and... you removed it? Seriously?

Luckily I use the trial before I really subscribe it... I guess need to reconsider upgrading... haven't check the others features yet...

Participant
August 1, 2015

Adobe Please fix this!!!

I pay a monthly fee for you to improve Dreamweaver based on our feedback, not break features without our consideration.

This is an important feature you need to bring back! Code collapse based on selection is mucho importante.

I rolled back to 2014 until this is fixed. 

Participant
August 1, 2015

While you're at it, bring back .FLV exporting and fix the pencil settings slider in .AI

Participating Frequently
July 29, 2015

Quite incredible that they should remove the ability to collapse blocks based on selections, something I have been using every day for years. I really do wonder who (or if) they use to provide pre-launch feedback on their "improvements"...this product is going down the drain based on "improvements" since CC.

Participant
July 27, 2015

Another vote for bringing back the old code-folding, especially the ability to select any code we want and fold that. This is a program for working on *incomplete* code - it's crazy to limit code-folding to auto-detected regions when the code may not yet have *defined* those regions. Nor does it even recognise normal brackets as foldable blocks - so a big array in PHP becomes un-foldable for instance. Here's a basic rule that should be worth a ton of feedback - "Don't fix what ain't broke!"

Participating Frequently
July 25, 2015

the new collapsing really unfriendly

can someone tell me how can i hide particular tag or child tag?

and css, how can i hide my desired selected's portion?

i dont know how to hide at all

can adobe just put back the old one? this doesnt seem to save any seconds on working process

July 21, 2015

I was sad to see the folding of highlighted code feature disappear as well.

I have found a relatively simple workaround however (for PHP at least, I have not tested this with any other languages though I assume the same principle would work for CSS, etc.) .

If you simply add a commented line with an opening brace at the start of where you want the code to fold, then another commented line with the closing brace at the end of what you want to fold, Dreamweaver seems to detect those braces (whether they're in commented lines or not) and allows you to click the little arrow to the left and fold/collapse it.

EX:

//{
    ...
    Everything you want to fold
    ...
//}

This will allow you to fold the entire block since Dreamweaver seems to rely on the braces now to fold any code. It's not quite as easy as highlighting and clicking the fold button, but it seems to work just as well in the end.

Participant
September 13, 2015

Yeah it works, but why we the customer should be forced to write workarounds for the tool we use to write code is a complete anathema to me. It adds extra lines to my code and therefore an extra chance of confusion and errors, whereas code-folding is supposed to make our lives easier...not to add more complexity. Quite simply the Adobe Dreamweaver developers haven't got a clue about writing real code for web development or they only use automated code creation (which basically suggests that they have a pretty limited skill-set)...if they did then they wouldn't have removed/destroyed this feature. I mean one can't even start the collapse from the end of the code-block anymore. SO I could have to traverse several hundred lines of code upwards to collapse an area which is clearly the end of a code-block (a closing parenthesis or html element for instance). This is simply a complete and utter balls-up by the development team at Adobe.

Participant
July 21, 2015

I also would like to be able to collapse commented code - normally commented code is stuff I want to ignore, but at the moment commented sections of code are the only thing I CAN'T collpase.

Participating Frequently
July 15, 2015

Collapsing/Expanding selected code is one of the main reason why I am still using Dreamweaver. I'm gonna use the old Dreamweaver 2014 until Adobe gets it back.

Participant
June 20, 2015

Hello AF Studio Artur Figurski,

I was trying to figure this out as well and I found it. I attached a screen shot. When you hover to the left of the code, but just to the right of the line numbers, you will get arrows that point down. If you click the arrow when it appears, it will collapse that full tag of that line item. Hope this helps!

Thank you,
Studio RTP

Participant
July 1, 2015

Clicking arrows it's not solution if I have 5000 lines of CSS code and I'd like to collapse all except my selected lines.

It was so easy in Dreamweaver CC, why Adobe deleted this function in CC 2015?

Participant
July 14, 2015

Hi all,

Thank you for your feedback. I have forwarded your concerns to the product team for their attention. I will get back as soon as I have an update.

Thanks,

Preran


Yep, I also need to be able to collapse (any) selection.