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?
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 s
...Copy link to clipboard
Copied
That's a known issue and has been fixed in the pre-release that was announced on March 1st.
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.
Copy link to clipboard
Copied
I noticed today there's a new build of Dreamweaver available via the Creative Cloud app, as far as I can see it includes the fixes for PHP formatting ...