Skip to main content
Known Participant
February 10, 2021
Question

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

  • February 10, 2021
  • 1 reply
  • 1255 views

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 has been closed for replies.

1 reply

Jon Fritz
Community Expert
Community Expert
February 10, 2021

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.

Known Participant
February 11, 2021

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

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

 

Jon Fritz
Community Expert
Community Expert
February 12, 2021

@623764

Thanks for that clarification.

OK, I will reset the preferences file.

Please, how can I backup the file before and how can I restore it, if the reset will not solve the problem?


The instructions they give on that page for CC2014 and older will work for 2019.

That was before Adobe moved away from the manual method of restoring prefs and shows you which folder you need to back up. 
Obviously, you need to be working from within the CC 2019 folder instead of CC2014, but all the paths should still be the same otherwise.