Skip to content
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

Laravel Blade Beautifier #269

Open
baradhili opened this issue Sep 2, 2020 · 2 comments
Open

Laravel Blade Beautifier #269

baradhili opened this issue Sep 2, 2020 · 2 comments

Comments

@baradhili
Copy link

baradhili commented Sep 2, 2020

Beautifier Details
Name: Laravel Blade format
Link to project/homepage: laravel.org

If this is a new beautifier, please fill out the below
Languages Supported: Laravel Blade (html+php+special blade commands)
How is it run (node, terminal, etc):

If this is to update an existing beautifier, please describe what should be updated

Additional context
Since this was up on atom-beautifier but never got resolved.. dropping it here..

I know Laravel is "not a popular platform" so maybe thats why it never made it 👍 HTML beautifier simply ignores blade commands

eg.

@if (Route::is('settings*'))      @include('partials.adminmenu')

        @endif

becomes

 @if (Route::is('settings*')) @include('partials.adminmenu')
 
 @endif

Should really become

@if (Route::is('settings*')) 
         @include('partials.adminmenu')
@endif
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.59. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@baradhili
Copy link
Author

a good rundown of what is needed is here https://stackoverflow.com/questions/56731020/adjusting-atom-beautify-js-beautify-for-laravel-blade also covers blade comments

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

No branches or pull requests

1 participant