Skip to main content
exhibitorm99666455
Inspiring
Dec 5, 2016 7:48 PM UTC
Answered

How to turn off auto-indent?

Adobe says about the new 2017 version:

Code formatting
When you write code, Dreamweaver auto-indents the code to circumvent erroneous manual indentation and improve readability.

I'd like to turn this off. I prefer to do it myself.

    This topic is closed to new replies. Start a new post to keep the conversation going.
    exhibitorm99666455
    exhibitorm99666455Correct answer
    Inspiring
    Dec 5, 2016 9:35 PM UTC

    I just found out you can, though it doesn't exactly say so.

    Edit > Preferences > Code Format:

    If you uncheck the box it won't indent any tags you create at all.

    6 replies

    Nancy OShea
    Community Expert
    Community Expert
    Dec 5, 2016 9:23 PM UTC

    I don't think you can turn it off.

    But you can Edit > Preferences > Code Format > Tag Libraries. 

    After you establish your preferred code format, use Apply Source Formatting.  You'll find that on the Common Toolbar.

    Translate
    Nancy O'Shea— Product User & Community Expert
    exhibitorm99666455
    exhibitorm99666455AuthorCorrect answer
    Inspiring
    Dec 5, 2016 9:35 PM UTC

    I just found out you can, though it doesn't exactly say so.

    Edit > Preferences > Code Format:

    If you uncheck the box it won't indent any tags you create at all.

    Translate
    Nancy OShea
    Community Expert
    Community Expert
    Dec 5, 2016 10:14 PM UTC

    Right.  But AFAIK, it still indents CSS code.

    Translate
    Nancy O'Shea— Product User & Community Expert