An opinionated Blade file formatter for VSCode. Marketplace page is here.
You can also format by same syntax programmatically with blade-formatter that this extension relies on.
setting | description | default |
---|---|---|
Blade Formatter: format Enabled |
Whether it enables or not | true |
Blade Formatter: format Indent Size |
An indent size | 4 |
Blade Formatter: format Wrap Line Length |
The length of line wrap size | 120 |
Blade Formatter: format Wrap Attributes |
The way to wrap attributes. [auto|force|force-aligned|force-expand-multiline|aligned-multiple|preserve|preserve-aligned] |
auto |
To exclude files from formatting, create .bladeignore
file in the root of your project .bladeignore
uses gitignore syntax
# Ignore email templates
resources/views/email/**
- Add more option for HTML formatting rules
- Add option for PHP formatting rules
- Automate package publishing flow
- Integration test
see CHANGELOG.md
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Shuhei Hayashibara |
SlovenianGooner |
Julio J. Foulquie |
MIT