-
Notifications
You must be signed in to change notification settings - Fork 23
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
Blade template syntax highlighting #9
Comments
@jtakakura Do you support this? @web-engineer I've looked at the source code of the plugin. Probably, That plugin just provides support for |
I'd be happy to help with this if I can, would really complete the package since netbeans is pretty dreadful for editing blade files presently and getting insight at that level would be awesome! |
It would be great if you are able to add this. It is pretty frustrating editing blade templates using NetBeans right now. Thanks! |
@tmysik This is the issue I was talking about in the email |
Thank you for your email, I'm currently on leave and will be back on Tuesday 28th April. If your in urgent need of assistance please telephone the office on 01392 253304. Many thanks |
I see one major problem here - Blade files are stored as PHP files, at least that is my undestanding based on [1]. This is "wrong" since the Blade content apparently is NOT a PHP file (much better would be to use a new file extension, Thanks. |
@tmysik Can't we somehow tell NetBeans that everything with .blade.php should be processed as an extension that is different from .php? |
I am not sure but it might work, maybe. |
Perhaps, if we use MIMEResolver[1], it will be resolved.(Sorry if I'm wrong) But I think that we have to learn many things if we implement this feature. e.g. how to use lexer and parser (jflex, antlr, e.t.c.). Need many time for it. |
Yes, using MIME resolver with "high" (in fact, low) position will do that. But still, there will be troubles with the PHP + embedding IMO. |
@tmysik Thanks for your comment 😄 |
NetBeans or this plugin needs full laravel support. That mean *.blade.php file extension should treated as a new mimetype like text/laravel+php+html or smth like that. Like we have it for twig. And Syntax highlighting for the blade syntax. Any other features can be found here: https://blog.jetbrains.com/phpstorm/2014/08/blade-template-engine-support-in-phpstorm-8-eap/ This is really missing. |
Hi all, |
@haidubogdan great news. Just let us know, what we can do here to help you :). I will just test it as soon as I can. |
Question for you - are there plans to support blade syntax highlighting with this plugin, this was the main reason why I looked to a plugin for laravel support assuming this would be a significant area of improvement.
I notice laravel4-blade was started to cover this but it doesn't look like the author got very far with their efforts.
The text was updated successfully, but these errors were encountered: