Skip to content

Commit

Permalink
Merge pull request #199 from stollr/doc_default_formatter
Browse files Browse the repository at this point in the history
Added a passage to README how to set default formatter
  • Loading branch information
junstyle authored Dec 6, 2023
2 parents c35498c + c7cd852 commit dc8974c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,17 @@ return (new PhpCsFixer\Config())
;
```

If you have installed other PHP related extensions to VS Code it may happen that
another formatter is used per default. You can force this extension to be used
per default by adding this to your settings:

```JSON
"[php]": {
"editor.defaultFormatter": "junstyle.php-cs-fixer"
}
```


## Auto fix

```text
Expand Down

0 comments on commit dc8974c

Please sign in to comment.