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>

 

Known Participant
February 13, 2021

I can say that Restoring Preferences doesn't affect your site's files, if that's what you're worried about. When you rename the folder to _old as directed, DW simply creates a new one when the program is opened.

 

If you're still unwilling to attempt it, my only advice to you would be to install 2021 and see if that works as expected.


To reset I have to find the file "Adobe Dreamweaver CC 2019 Prefs.plist".

But there is no such file.

Or does that file exist only for specific version of DW but not for all versions?