Is there any way to Auto-Indent in Dreamweaver CS4?

Posted on 2009-04-22
Medium Priority
Last Modified: 2013-12-20
At the following link:


... it is asserted that Dreamweaver CS3's autoindent used to work perfectly, but it's broken in CS4.

Can someone please tell me, Is there any way to autoindent in Dreamweaver CS4?

By using Textpad, a free text editor, I can "clean up" my code by indenting it the way I like.  Then, when I re-open it in Dreamweaver CS4, my line-breaks and tabs are all there, but the word-wrap for a long line still wraps starting at the extreme left-hand edge of the page.

Is this my best solution?  It does seem strange that I have to use a free utility to fix the untidiness created by  Dreamweaver, which cost me hundreds of dollars.

Question by:Dwight Baer
  • 2
LVL 14

Accepted Solution

sam2912 earned 2000 total points
ID: 24211371
Dreamweaver has a menu option, Commands > Apply Source Formatting
LVL 14

Expert Comment

ID: 24211388
Although it doesn't work for JavaScript code... I'm still using http://blog.djh5e.org/wp-content/jsf.html to separately format JavaScript codes.

Author Closing Comment

by:Dwight Baer
ID: 31573379
thank you!

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question