Thank you for this, but even this does not work because if I set something to be "format only and not indented," when I type the closing tag it un-indents itself. Isn't there some way I can set Dreamweaver to just leave the indenting up to me? And NOT move my code around, ever?
The Brackets engine in DW has a separate rule for tabs/indenting that currently can't be changed in the preferences interface.
While Apply Source Formatting will set your tabs to whatever you've defined in the Tag Libraries, the program will continue to plop tabs in when it feels they're necessary while hand-coding.
You can turn that off though, it just takes a little more effort. You can add a small snip of code to the brackets.json file to fix it...
1. Go to C: > Users > your user name > AppData (make sure hidden files are turned on if you don't see this folder) > Roaming > Adobe > Dreamweaver CC 2017 > your language > Configuration > Brackets > brackets.json
2. (make a back-up first so you can go back if you goof) Open the file in something other than DW
3. Add a comma to the last item on the list, then add the following to the end of the file, before the } ...
"smartIndent" : false
(make sure the "i" in Indent is capitalized)
3. Save and open DW
That should nuke the Brackets auto-indentation