New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blade format not working #68

Open
tomekno opened this Issue Apr 16, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@tomekno

tomekno commented Apr 16, 2018

Hey,

I have a few problems with formatting the blade:

All blade tags are moved to one line
{{Form :: token ()}} {{Form :: hidden ('xyz', Request :: input ('abc'))}}
or
@foreach () @if ()
...
@endif @Endforeach
or loop for in to lines, example:
@for ($i = 0; $i
< 100; $i++)
How to solve this annoying problem.

@mpryvkin

This comment has been minimized.

mpryvkin commented Apr 22, 2018

@tomekno, had the same problem, very frustrating. Found this hack for Beautify extension, see How to format Laravel Blade templates in Visual Studio Code for more information.

@tomekno

This comment has been minimized.

tomekno commented Sep 20, 2018

This hack not working in my PC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment