Hey Ya'll:

I was just curious if anyone knew if DreamWeaver has a auto indentation function to help clean up my code (and help for future debugging purposes. If not, does anybody know of any tool (freeware preferrably) that can help me out with that. Thanks!

-Ronald Kemker
Webmaster
http://www.orientation.mtu.edu

Dani AI

Generated

asked about DreamWeaver; recommended UltraEdit; wondered about VWD — here are practical, up-to-date options and safe workflows for auto-indenting HTML/CSS/JS without losing server-side bits.

Dreamweaver has a built-in source formatter (use the Code/Commands formatting options and set preferences for tag/attribute indentation). Visual Web Developer / Visual Studio offers a Format Document command (editor shortcut: Ctrl+K, Ctrl+D) that works well for single files. For free or automated tooling, consider project-wide formatters: Prettier for consistent HTML/CSS/JS formatting, and js-beautify for simple HTML/JS beautification. Example CLI runs:

npx prettier --write "**/*.html"
npx js-beautify -r "**/*.html"

Practical tips and cautions: always work under version control or on a copy before a mass-format. Automatic formatters can mangle embedded server-side code (PHP, ASP, template tags) or conditional comments — test on representative files and use language-aware plugins when available. Add a config file (.prettierrc or similar) so the whole team shares rules, and integrate formatting into the workflow (editor "format on save", or a pre-commit hook). If a formatter changes something unwanted, revert, adjust ignore rules (e.g., .prettierignore), then re-run on safe paths. These steps give readable, debuggable markup while keeping templates intact.

Recommended Answers

All 2 Replies

Try ultraedit 32, but i dont know if its free
[ link ]
it help me a lot to organize my code.

Hi,

Does anyone know if there is some kind of auto indent feature in VWD. I know it tries to help with this as you go along but your code can still go out of line when you have been changing many parts. Is there any kind of "format code indentation" button?

Thanks,
Peter.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.