Highlighted

"apply source formatting" PHP add spaces in arrays text-type index

New Here ,
Mar 13, 2019

Copy link to clipboard

Copied

"apply source formatting" PHP add spaces in arrays text-type index
Fore example:

$array_name["ArrayIndex"] become $array_name[" ArrayIndex "] and it doesn't work anymore...

Can you help me?

Adobe Community Professional
Correct answer by Paul-M | Adobe Community Professional

I can concur with Jon - I did a lot of checking of the 'apply source formatting' tool with the latest prerelease and it appears as though all the issues associated with inline PHP code, plus spaces and line breaks incorrectly being added to PHP code in certain instances, all seems to have been fixed.

Sit tight and wait for the next version/build of Dreamweaver ...

You can have more than one verion of Dreamweaver installed, so, in the meantime as a workaround you could use Dreamweaver CC 2015 for source formatting.

Views

163

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

"apply source formatting" PHP add spaces in arrays text-type index

New Here ,
Mar 13, 2019

Copy link to clipboard

Copied

"apply source formatting" PHP add spaces in arrays text-type index
Fore example:

$array_name["ArrayIndex"] become $array_name[" ArrayIndex "] and it doesn't work anymore...

Can you help me?

Adobe Community Professional
Correct answer by Paul-M | Adobe Community Professional

I can concur with Jon - I did a lot of checking of the 'apply source formatting' tool with the latest prerelease and it appears as though all the issues associated with inline PHP code, plus spaces and line breaks incorrectly being added to PHP code in certain instances, all seems to have been fixed.

Sit tight and wait for the next version/build of Dreamweaver ...

You can have more than one verion of Dreamweaver installed, so, in the meantime as a workaround you could use Dreamweaver CC 2015 for source formatting.

Views

164

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mar 13, 2019 0
Adobe Community Professional ,
Mar 13, 2019

Copy link to clipboard

Copied

That's a known issue and has been fixed in the pre-release that was announced on March 1st.

Applying source formatting inserts bugs in php code.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 13, 2019 1
Adobe Community Professional ,
Mar 13, 2019

Copy link to clipboard

Copied

I can concur with Jon - I did a lot of checking of the 'apply source formatting' tool with the latest prerelease and it appears as though all the issues associated with inline PHP code, plus spaces and line breaks incorrectly being added to PHP code in certain instances, all seems to have been fixed.

Sit tight and wait for the next version/build of Dreamweaver ...

You can have more than one verion of Dreamweaver installed, so, in the meantime as a workaround you could use Dreamweaver CC 2015 for source formatting.


Paul-M, ACP - www.webspectrum.co.uk

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 13, 2019 1
Paul-M LATEST
Adobe Community Professional ,
Apr 03, 2019

Copy link to clipboard

Copied


Paul-M, ACP - www.webspectrum.co.uk

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 03, 2019 0