You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
need some help here. my goal is to have syntax auto-suggestion & auto formating works for both php file and blade file.
when I enable "Laravel Blade Snippets", the syntax suggestion function in blade.php suddenly not working.
But when I disable the "Laravel Blade Snippets", the php syntax suggestion is working again for blade.php.
I tried to make it works by reinstall, restart and modify the editor.defaultformater, it seems still unsuccessful.
is that behavior is expected ? are there conflicting with the extensions?
kindly please share your experience how to resolve this issue.
current extensions & vscode in use:
Laravel Blade Snippets v1.25.0 by Winnie Lin
PHP Intelephense v1.6.3 by Ben Mewburn
w3.css.autocomplete v0.0.3 by SuvamRox
vscode v1.54.3
thanks a lot for your supports.
The text was updated successfully, but these errors were encountered:
@edenzul as much as I know, by default VS Code doesn't have a language server for php. There's an extension PHP Intelliphense with powerful server language associated with .php files, but here's the thing...
This "blade" extension defines a new php language with different id instead of extending existing one. So .blade.php files associated with this language to provide syntax highlight, snippets etc - everything from this extension. But files cannot be associated with two languages simultaneously. So you have to switch associated language back and forth to get what you need - blade syntax, snippets, format, or php suggestions
Hi all,
need some help here. my goal is to have syntax auto-suggestion & auto formating works for both php file and blade file.
when I enable "Laravel Blade Snippets", the syntax suggestion function in blade.php suddenly not working.
But when I disable the "Laravel Blade Snippets", the php syntax suggestion is working again for blade.php.
I tried to make it works by reinstall, restart and modify the editor.defaultformater, it seems still unsuccessful.
is that behavior is expected ? are there conflicting with the extensions?
kindly please share your experience how to resolve this issue.
current extensions & vscode in use:
thanks a lot for your supports.
The text was updated successfully, but these errors were encountered: