Skip to main content
Known Participant
April 5, 2017
Answered

Transferring Collapsed Code Scripts

  • April 5, 2017
  • 2 replies
  • 344 views

Hiya Everyone,

My CSS file is very clean and split up into multiple sections with some sections having multiple seconds within, and alike a multi-drop-down menu I have collapsed each sections code within, however if I then save and send to another developer, the code is not collapsed for them but is when I relaunch my Adobe CC Dreamweaver.

Is there a way to save how I have collapsed my code for them to open and see this at all?

Best Regards,

Tim !

    This topic has been closed for replies.
    Correct answer Jon Fritz

    Only DW knows you want those sections collapsed, there's nothing being saved into the HTML file itself that says "collapse this section of code".

    When giving code to other developers, rather than collapsing sections (which will only show in your version of DW), use html and css comments at the beginning and end of sections to keep things organized in a way that works across all editing environments.

    2 replies

    Jon Fritz
    Community Expert
    Jon FritzCommunity ExpertCorrect answer
    Community Expert
    April 5, 2017

    Only DW knows you want those sections collapsed, there's nothing being saved into the HTML file itself that says "collapse this section of code".

    When giving code to other developers, rather than collapsing sections (which will only show in your version of DW), use html and css comments at the beginning and end of sections to keep things organized in a way that works across all editing environments.

    Known Participant
    April 5, 2017

    I do use comments but within the code is collapsed

    pziecina
    Legend
    April 5, 2017

    You could include a comment at the top of the page, saying which line numbers are the ones updated, for the other person to read.

    pziecina
    Legend
    April 5, 2017

    Sorry but no, but that is a setting exclusive to your installation.