Open GeniusBroccoli opened 4 years ago
I just read your issue and tried the php snippet you posted. After solving the syntax problem (missing the number e.g. 5) beautify did its job. When there was the syntax issue, beautify did nothing. See the fixed code here:
<?php for ($i=0;$i<5;$i++){echo "string";echo "string";echo "string";echo "string";echo "string";echo "string";}?>
Since I'm not yet very good at php, don't know if this really was the only problem.
If you still need this and are looking for something to fill the spot that Atom left, I am using Pulsar the successor to Atom... This package is working except for one deprecated error listed in #2605
If you don't need this anymore, can you please close this out so it's not just sitting there? Thanks
Description
Beautify doesn't work with PHP
Input Before Beautification
This is what the code looked like before:
Actual Output
I see progress bar, but nothing changes. Try to use atom-beautify from menu and from command palette.
Steps to Reproduce
I googled this trouble, tried for many instructions, and nothing. Now I have clean install of Win7 x64 and do this:
setx path %path%;"C:\php72\"
C:\php72\php.exe
and in the PHP-CS-Fixer sectionC:\php72\php-cs-fixer-v2.phar
Debug
Sorry, I'm newbie, doesn't connect atom with github yet. Can I'm attach file here? atom-beautify-debug.zip
Checklist
I have:
Atom Beautify: Help Debug Editor
command in Atom and added link fordebug.md
Gist to this issue