question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Blade format nor working

See original GitHub issue

Installed the plugin, also running the latest version of VS code.

Im on a blade.php file, on the bottom right there is the “Laravel Blade” file type. But when i type b: nothing shows up besides Emmet Abreviation “<b:></b:>”, and when i press tab it triggers “<b:></b:>”.

Also tried b:extends, and all the others, and nothing.

My preferences file:

{
    "git.ignoreMissingGitWarning": true,
    "workbench.iconTheme": "vscode-icons",
    "explorer.confirmDelete": false,
    "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
    "workbench.colorTheme": "One Dark Pro",
    "emmet.triggerExpansionOnTab": true, // enable tab to expanse emmet tags
    "blade.format.enable": true,         // if you would like to enable blade format

}

If i type only “b”, i get all emmet suggestions, and then i scroll down and i get all Blade Snippet suggestions. But as soon as i type “b:” every suggestion goes away and im only left with Emmet Abreviation “<b:></b:>”. How can i fix this?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:2
  • Comments:10

github_iconTop GitHub Comments

2reactions
Zaen8commented, Aug 8, 2018

Same issue here, for some reason I bypassed it typing the abreviation without the colon. As @pedrofidalgomrs points out the problem appears after using the colon.

For example, bextends and pressing tab works for me.

1reaction
Nernofirecommented, Aug 3, 2018

The exact same issue with me. VC runing on windows 7 x64

Read more comments on GitHub >

github_iconTop Results From Across the Web

blade formatter not work · Issue #61 - GitHub
I've enabled blade format code. "blade.format.enable": true . Then, I restart VS. When I format the document, all of the lines are aligned ......
Read more >
How to Format Laravel Blade Code in Visual Studio Code?
First go to "Visual Studio Code" Settings and search for the option "files.associations" If that option is not available in your settings.
Read more >
How to Format Laravel Blade Codes in Visual Studio Code ?
However, if you install the "Laravel Blade Snippets" extension and then go to User Settings -> Extensions and look for "Blade Configuration". There's...
Read more >
Laravel Blade formatter - Visual Studio Marketplace
Extension for Visual Studio Code - Laravel Blade formatter for VSCode. ... Blade Formatter: format Enabled, Whether it enables or not, true.
Read more >
code reformat not working in blade or html
Just as the title says. The reformat code (or indent code) function is not working for any HTML code. This happens in both...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found