Skip to main content
Participant
Dec 17, 2020 6:41 PM UTC
Question

Lock Code Folding when Dreamweaver opens

Is there any way to stop the code that has been collapsed from expanding when Dreamweaver opens??

    This topic is closed to new replies. Start a new post to keep the conversation going.

    4 replies

    Nancy OShea
    Community Expert
    Community Expert
    Dec 17, 2020 8:04 PM UTC

    I don't have that problem.

     

    Try this:

    1. Open a file.  Collapse the code. 

    2. Save file with Ctrl/Cmd + S and close it.

    3. Close & restart Dreamweaver.

    4. File > Open recent Document.

     

    Now, is the code expanded or collapsed?

     

     

     

    Translate
    Nancy O'Shea— Product User & Community Expert
    Brett5C12Author
    Participant
    Dec 17, 2020 8:30 PM UTC

    That's nteresting. When I open recent the code is still collapsed. I need it to stay collapsed when others open them though. I'm trying to make a few templates for my team to use that will be easier for them to navigate the code. 

    Translate
    Nancy OShea
    Community Expert
    Community Expert
    Dec 17, 2020 8:41 PM UTC

    Code folding doesn't work that way. Suggest you use locked server-side includes for code you don't want the team to see or access.  

     

     

     

     

     

    Translate
    Nancy O'Shea— Product User & Community Expert