onecentlin / laravel-blade-snippets-vscode

Laravel blade snippets and syntax highlight support for Visual Studio Code
MIT License
137 stars 38 forks source link

Blade format nor working #74

Open fidalgodev opened 6 years ago

fidalgodev commented 6 years ago

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:>", and when i press tab it triggers "</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:>". How can i fix this?

Nernofire commented 6 years ago

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

arifinofficial commented 6 years ago

same issue with me on VSCode version 1.25

sloughrey commented 6 years ago

Same issue here!

Win 10 x64 VSCode version: 1.25.1

sagarpanchal commented 6 years ago

Same issue

Version: 1.25.1
Commit: 1dfc5e557209371715f655691b1235b6b26a06be
Date: 2018-07-11T15:40:20.190Z
Electron: 1.7.12
Chrome: 58.0.3029.110
Node.js: 7.9.0
V8: 5.8.283.38
Architecture: x64
Zaen8 commented 6 years ago

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.

sagarpanchal commented 6 years ago

@Zaen8 that's because you're using laravel-easy-blade-snippets

fidalgodev commented 6 years ago

Im not using that. Using Laravel Blade Snippets

Zaen8 commented 6 years ago

@sagarpanchal I'm not using that extension either. imagen @pedrofidalgomrs Does your snippets work when you press tab without using the colon?

petem46 commented 6 years ago

I was having this issue. Resolved by ensuring I only had the Laravel extensions shown in screenshot above from @Zaen8 Using the colom breaks it - • bextends => @extends('name') • bext => @extends('name') • b:extends => </b:extends> • b:ext => </b:ext>

fidalgodev commented 6 years ago

Yeah, without using the ":" it works fine.. Just use bext and press tab