Skip to content
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

Messing with wordpress code #5

Closed
dawidadach opened this issue Jul 6, 2015 · 1 comment
Closed

Messing with wordpress code #5

dawidadach opened this issue Jul 6, 2015 · 1 comment
Labels

Comments

@dawidadach
Copy link

Hi, I really apprecatie your extension however when try to using this to develop wordpress theme after hiting Control Shift L its messing up with function i.e.

Before:
'primary'); ?>

After:
'primary'); ?>

So its adding extra space in "array" word.

@Hirse Hirse added the library label Jul 7, 2015
@Hirse
Copy link
Owner

Hirse commented Jul 7, 2015

Yes, I have read about this kind of issue before.
The reason for this is that the library I am using doesn't support PHP. I was under the impression that they at least fixed breaking PHP, but apparently that is not the case. Please open an issue with them regarding the actual formatting.

Regarding this extension, I can only advise you to not use it for .php files at the moment and deactivate Beautify-on-Save for those by adding this to the brackets.json:

{
    "language": {
        "php": {
            "hirse.beautify.onSave": false
        }
    }
}

@Hirse Hirse closed this as completed Jul 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants