Skip to main content
Impressive_play01AC
Inspiring
November 13, 2017
Answered

Apply source formatting to the php pages, strange behaviour

  • November 13, 2017
  • 2 replies
  • 5166 views

When I try to apply the source formatting to the php pages, the code show indent and spaces not necessary.

Instead if I use the same process on a html page, the source code is formatted correctly.

Is a bug or Dreamweaver (Adobe) consider PHP code in a different way?

PHP page (source formatting wrong):

HTML page (source formatting correct)

This topic has been closed for replies.
Correct answer Kratika Agarwal

I'm not going to speak for everybody but the issues I was aware off seem to be fixed now in the pre release (15073) ...

They were:

1) Non-breaking spaces and line breaks added in PHP code in some instances when using the 'format source code' tool

2) Minor issues with settings in tag libraries not being obeyed when using 'format source code' tool

Thanks ....


Hi All,

We are happy to inform you we have further stabilized the PHP source formatting issues in our latest prerelease drop 15081.

Please give it a try and share your feedback.

Let us know if it fixes your issues.

Please find the prerelease invite link Adobe Prerelease

Thanks

Dreamweaver Team

2 replies

Impressive_play01AC
Inspiring
November 14, 2017
B i r n o u
Community Expert
Community Expert
November 14, 2017

thanks for the heads up... I've added some notes....

pziecina
Legend
November 13, 2017

Actually I prefer the source formatting for html files that you show for php files.

Which just goes to prove that everyone is different, and no matter what they do, they will not please everyone.

Impressive_play01AC
Inspiring
November 13, 2017

Yes, but I'd like an uniform behaviour (always that Dreamweaver is still considered a professional editor).

This post is to understand if these different behaviours are wanted or not by Adobe.

Can anyone in the Technical Staff answer/reply me?

pziecina
Legend
November 13, 2017

pziecina  ha scritto

The 'standard' stock answer has become a, 'if you do not like it use Dw2015'. Which sort of defeats the purpose of paying for newer features, if you must switch versions to use them.

... sounds really bad for the future of this software.

At this point, if your opinions/observations are correct we can cancel the CC subscription and install the old CS6 version if Adobe develops only for its own/personal/internal use, without listening to customer/market needs.


I'm saying nothing.

But, CS6 is a good option if you do not use or like what CC is offering and many people will agree with that statement.

You could keep an eye on -

https://blog.wappler.io