Skip to main content
exhibitorm99666455
Inspiring
December 5, 2016
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
    December 5, 2016

    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
    December 5, 2016

    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
    December 5, 2016

    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
    December 5, 2016

    Right.  But AFAIK, it still indents CSS code.

    Translate
    Nancy O'Shea— Product User & Community Expert