pcbowers / alpine-intellisense

IntelliSense for Alpine.js
https://marketplace.visualstudio.com/items?itemName=pcbowers.alpine-intellisense
MIT License
19 stars 1 forks source link

Blade syntax conflict #8

Open Random72IsTaken opened 2 years ago

Random72IsTaken commented 2 years ago

When using [Laravel Blade Snippets] extension, which provides syntax highlighting for Blade files that could contain Alpine.js code, the syntax highlighting for Alpine.js code works flawlessly; except for overriding Laravel's Blade directives highlighting, where it makes them pure white!

Here is the look with Laravel Blade Snippets extension alone: image

And here is how it looks with your extension along (both altogether): image

lorenz-perszyk commented 1 year ago

Hello, I just came across the same problem. The extension overrides the blade syntax highlighting. You can see it in the textmate scope.

Screenshot 2023-04-20 at 16 26 25

Maybe somebody has an idea of how to fix this conflict?

Thank you!

blalmal10a commented 8 months ago

will this ever be fixed?

everything inside @php @endphp tag inside blade lose hilights