-
Notifications
You must be signed in to change notification settings - Fork 15
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
Syntax highlighting for @event=
attributes not working on Laravel Blade files
#1
Comments
Adding new file types is fairly simple. They're added here. Those entries are textmate scopes. You can see those by adding a keybind to vs codes keybinds.json. {
"key": "ctrl+alt+shift+i",
"command": "editor.action.inspectTMScopes"
} Can use whatever key you want, though that will show the textmate scopes, when used in the desired file, to add to injectTo. You would need to also add the textmate scope here Since it's setup to work on php files it seems to work in The main issue I see with the Laravel Blade Snippets compatibility is the I'm no expert on texmate syntax files, mines based a lot off of vueter's and some vs code docs on it. There may be some improvements on my implementation that could allow me to override the Laravel Blade Snippet scope change. I've tried a few things with no luck so far. Alternative workaround for now would be to use the If you're having issues with I'll keep looking into |
Hey @Sperovita, thanks for looking into that so quickly and thoroughly and sending me all that info. It turns out it was just the So I agree, I'd prefer not to have to change my code to switch to |
@event=
attributes not working on Laravel Blade files
This extension doesn't seem to be working with the Laravel Blade file type for VS Code. I use the extension shown below to highlight the rest of my Blade files, and I was hopingalpinejs-syntax-highlight
would highlight all my AlpineJS attributes as well, but no dice. Is there a way I can add Blade files to its list of recognized file types?Edit: There is an issue with highlighting Alpine code in Blade files – it doesn't seem to work on the
@event=
attribute format.The text was updated successfully, but these errors were encountered: