Skip to content

Condition of using vscode-phpcbf on vscode-insiders #24

@contactjavas

Description

@contactjavas

General Info

OS: Windows 10
Node: 10.8.0
NPM: 6.1.0
VSCode: Insiders build

Simple Description

I have read #21, and i think i should open separate issue.

So, vscode-phpcbf extension works well before 15 August 2018 and start to not working anymore after that. I did some trial and here is my conclusion:

When does it not work?

  • When i set "phpcbf.standard": "phpcs.xml" or "phpcbf.standard": "./phpcs.xml"
  • Even if i change the standard to a rule name, it still doesn't format on save even though i set
    "phpcbf.onsave": true and "editor.formatOnSave": true

When does it work?

(Glad, i can still use this extension)

  • Since i use WordPress, my setting is set to "phpcbf.standard": "WordPress". This works, but only if i use Shift Alt F (Format document) command. Simply saving the document won't format it automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions