Skip to main content
Known Participant
Feb 10, 2021 8:47 PM UTC
Question

DW 2019 macOS: "Apply Source Formatting" has no effect

When I use the command "Edit > Code > Apply Source Formatting"*  in a HTML or CSS file it has no effect.

 

Is there a way to use this command?

 

Thanks.

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

13 replies

Jon Fritz
Community Expert
Community Expert
Feb 10, 2021 8:58 PM UTC

Is the code free of structural errors?

Run it through the validator at http://validator.w3.org/nu and repair any issues that are listed.

Errors in the source code can cause DW to get confused and break a lot of the features in the program.

Translate
Known Participant
Feb 11, 2021 9:50 AM UTC

Yes, the code is free of errors.
I used a minimal HTML5 testcase, freshly created.

<p>foo</p><p>bar</p>

 

Translate
Jon Fritz
Community Expert
Community Expert
Feb 11, 2021 1:25 PM UTC

What file type are you working with?

Translate