Shuhei Hayashibara
Shuhei Hayashibara
This issue has been fixed at [v0.25.0](https://github.com/shufo/vscode-blade-formatter/releases/tag/v0.25.0) refs: https://github.com/shufo/vscode-blade-formatter/issues/877#issuecomment-3064432970 Please upgrade extension to latest version. And if you want to format attribute value of custom component, then specify option `Component...
@Merdin Also fixed blade-formatter at latest version. Please upgrade. (current latest is 1.43.0)
To avoid this problem, it is recommended to split huge blade files into components. https://github.com/shufo/blade-formatter/issues/616 You can use anonymous component to split large blade file. https://laravel.com/docs/11.x/blade#anonymous-components
Tests has passed but seems benchmark failed. I don't know it's ok to failed. ``` Run python cachegrind.py node test/benchmark2.js > output.txt ==2711== Cachegrind, a high-precision tracing profiler ==2711== Copyright...
@czosel Thank you!
Related: #1004 This will be resolbed in next release.
Released [v1.42.3](https://github.com/shufo/blade-formatter/releases/tag/v1.42.3) with this issue fix.
This will be resolved after 8.4 support in plugin-php merged. https://github.com/prettier/plugin-php/pull/2422
Released [1.42.4](https://github.com/shufo/blade-formatter/releases/tag/v1.42.4) with 8.4 support. From [1.43.0](https://github.com/shufo/blade-formatter/releases/tag/v1.43.0), it will format code as php 8.4 as default.
@leettaylor Thanks for creating the issue and your offer. I think this behaviour should be fixed to allow one space around construct or delete space if it is not necessary....