laravel-blade-snippets-vscode
laravel-blade-snippets-vscode copied to clipboard
You need to look at how your handling php/html Link Below
I have been building blade projects in vscode did not have an issue until a few weeks ago. I made one issue and was basically ignored after a few responses.
Below I have a link of my issue with the vscode team who shows screenshots and instructions on your extensions (as well as all blade extensions) on how to fix the formatting issue.
This is not an auto indent or emmet issue, they have laid out requirements needed for the auto indent formatting that all the blade extensions are not currently following, so I am making this issue in hopes that you can look and figure out how to fix this.
As of right now working in blade with the latest version of the stable and the insider build of vscode is not possible as it has 0 of the functionalities this extension is suppose to do.
@onecentlin any way to help with that? the formatting issues (spaces replaced with tabs and laravel syntax misaligned) make the blade formatting useless. Let me know.
@godbout I found solutions to solve spaces replaced with tabs. However, I'm still searching a way to fix laravel syntax misaligned problem.
Is almost the same as my closed ticket #34178
The problem was fixed in one of the insiders versions and came back after the updates.
The not so quick fix for me is:
Change the current language file to html, back to php language mode (sometimes needed for every open/new file)
Seems that the laravel syntax is almost correct aligned now.
Any to keep the empty lines though? The formatting removes every block made. Also there should be indentation after @if or @foreach. Currently there's none. Any way to help?