-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Beautification in progress runs for a long time using PHPCBF as PHP beautifier #893
Comments
The logs say Have you tried other beautifiers, such as for JavaScript? Is it only PHPCBF that takes a long time and others work quickly, as expected? |
+1 have this exact issue. Link to my gist: |
@jamesaspence How would you answer the questions at #893 (comment)? |
@prettydiff I'm able to run javascript beautifier, it finishes quickly and updates my code. JSON also works instantaneously. |
@jamesaspence Thanks |
@prettydiff in case you missed it, also posted my debug.md in my previous comment. |
Same here, 1min for 1 small file, |
So still not fixed? |
Firstly, it appears I incorrectly read the log message! I saw the I apologize for this misdiagnosis. The real issue is with |
That doesn't seem correct - I can run |
@jamesaspence : From your debug.md posted above:
So the message "Time: 1 mins, 0.02 secs; Memory: 4Mb" is generated by What Atom-Beautify does control is the command that is executed, which in this case was:
If there is a particular argument that needs to be added or removed, then this can be done so within Atom-Beautify. The applicable file for |
Description
The beautification process runs for a ling time, aprox 1 minute or more and the file is beautified
Steps to Reproduce
Debug
Atom Beautify - Debugging information
The following debugging information was generated by
Atom Beautify
onTue Apr 05 2016 11:37:57 GMT+0200 (CEST)
.Table Of Contents
Platform: darwin
Versions
Atom Version: 1.6.2
Atom Beautify Version: 0.29.1
Original file to be beautified
Original File Path:
/Users/muresan/work_folder/bhip-shop-wordpress/wp-content/plugins/bhip-shop-plugins/plugins/bhip-dashboard-widget/bhip-dashboard-widget.php
Original File Grammar: PHP
Original File Language: PHP
Language namespace: php
Supported Beautifiers: PHP-CS-Fixer, PHPCBF
Selected Beautifier: PHPCBF
Original File Contents
Package Settings
The raw package settings options
Beautification options
Editor Options:
Options from Atom Editor settings
Config Options:
Options from Atom Beautify package settings
Home Options:
Options from
/Users/muresan/.jsbeautifyrc
{ "_default": {} }
EditorConfig Options:
Options from EditorConfig file
{ "_default": {} }
Project Options:
Options from
.jsbeautifyrc
files starting from directory/Users/muresan/work_folder/bhip-shop-wordpress/wp-content/plugins/bhip-shop-plugins/plugins/bhip-dashboard-widget
and going up to rootPre-Transformed Options:
Combined options before transforming them given a beautifier's specifications
Final Options
Final combined and transformed options that are used
Results
Beautified File Contents:
Original vs. Beautified Diff:
Logs
The text was updated successfully, but these errors were encountered: