Is automatic code formatting possible in Dreamweaver?

Is it possible to automatically format the code in Dreamweaver, as in Visual Studio (ctrl + k + d)

+79
code-formatting html formatting dreamweaver
Jan 27 '10 at 12:44
source share
11 answers

A quick Google search opens up these two possibilities:

  • Commands> Apply Formatting
  • Commands> HTML Cleanup
+97
Jan 27 '10 at 12:51 on
source share

Commands> Apply Source Code Formatting.

It works with pleasure.

+49
Aug 09 2018-11-11T00:
source share

For the 2017 CC publication, this has been moved (after many years of developing the habit). Find it now:

Modify> Code> Apply source code formatting.

It might be wise to set up a keyboard shortcut if that is what you need regularly.

Edit> Keyboard Shortcuts

+7
Nov 21 '16 at 2:47
source share

After me, it works great: - * press the TEAM and click FORMAT APPLICATION SOURCE . - * And click Clear HTML

Thanks PEKA

+6
Aug 11 '13 at 3:09 on
source share

This is the only thing I found for formatting JavaScript in Dreamweaver. Not many options, but it seems to work well.

Dreamweaver JavaScript source code extension: Adobe CFusion

+2
Dec 09 '11 at 3:18 a.m.
source share

to not work if you edit the javascript file inside Dreamweaver even Dreamweaver cs5 is not able to do this.

geeZZ ...

+1
Jul 19 '11 at 4:29
source share

And for JavaScript source code, you can use the Dreamweaver JavaScript source code formatting extension (available on Adobe)

+1
Jun 08 2018-12-12T00:
source share

Auto formatting can be done with

  • Choose View> Code View Options.
  • Click the View Options button enter image description here on the toolbar at the top of the Code or Code Inspector window.

Auto-indentation Automatically indent your text when you press Enter while writing code.

source

+1
Feb 18 '13 at 11:25
source share

Press "edit" → then keyboard shortcuts. Straight from there. Just select a command from the list and click the + button.

You will need to create a duplicate, and then select it again from the list. And finally, set a shortcut on your keyboard!

Now, before saving, click on the shortcut you just created!

0
08 Oct '13 at 17:26
source share

Encoding toolbar (Edit> Toolbars> Encoding) and select "Code Format Settings" to indicate your preferred formatting.

You can also access the formatting option from Commands> Apply Source Formatting or apply it only to the highlighted block of code by selecting the Apply Source Formatting to Selection option.

http://www.hongkiat.com/blog/10-useful-dreamweaver-tips-for-beginners/

0
May 03 '14 at 15:49
source share

ctrl + a → (click) commands-> clear HTML word

0
Jun 24 '15 at 10:51
source share



All Articles