Report a bug!

(DW 2018) Apply source formatting to the php pages, strange behaviour

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?

1 vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Michele shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Anonymous commented  ·   ·  Flag as inappropriate

        can we add some more details ? so in case, please will it be possible to take into account the following points:
        - having a setting per language (css, scss, javascript, html...)
        - having a setting per project (i.e some team works using tab, some others works using space...)
        - currently when a language (HTML) contains other (CSS, JS) that doesn't apply correctly to the embeded language
        - linking the lint, format and coloring will be a real plus

      Feedback and Knowledge Base