laravel-blade-snippets-vscode icon indicating copy to clipboard operation
laravel-blade-snippets-vscode copied to clipboard

You need to look at how your handling php/html Link Below

Open amc123-glitch opened this issue 7 years ago • 4 comments

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.

#39142

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.

amc123-glitch avatar Dec 11 '17 21:12 amc123-glitch

@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 avatar Jan 14 '18 08:01 godbout

@godbout I found solutions to solve spaces replaced with tabs. However, I'm still searching a way to fix laravel syntax misaligned problem.

onecentlin avatar Jan 14 '18 10:01 onecentlin

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)

andremacola avatar Jan 20 '18 06:01 andremacola

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?

godbout avatar Jan 28 '18 12:01 godbout