netbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Lenz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NETBEANS-503) Please support blade template engine for laravel
Date Wed, 28 Nov 2018 16:34:00 GMT

    [ https://issues.apache.org/jira/browse/NETBEANS-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16702112#comment-16702112
] 

Christian Lenz commented on NETBEANS-503:
-----------------------------------------

Unforunately, there is no real core team anymore. We, you, jun, me all of us are the devs.
I wanted to have a look into it too, but I don't know what the unexpected behaviour is I thought
it could be easy with the workaround of searching inside of the name like some others do it
for package.json for example. But I don't know. The workaround was written in the external
ticket which I will add soon.

> Please support blade template engine for laravel
> ------------------------------------------------
>
>                 Key: NETBEANS-503
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-503
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: php - Editor, php - Formatting &amp; Indentation
>    Affects Versions: Next
>            Reporter: Christian Lenz
>            Priority: Major
>         Attachments: blade-phpstorm.png
>
>
> Atm, NetBeans does not support laravel out of the box, therefore, NetBeans does not support
the blade template engine. Blade templates are set to foo.blade.php.
> So therefore, we need a new filetype which has the extension .blade.php and it should
support: PHP, Blade Templates, HTML (Don't know whether jade is needed too or not), CSS, JS.
See the screenshot from PHPStorm, they already supports Blade.
> Yes it should be possible to have PHP inside too. This is an official statement from
the developers:
> *Blade is the simple, yet powerful templating engine provided with Laravel. Unlike other
popular PHP templating engines, Blade does not restrict you from using plain PHP code in your
views. In fact, all Blade views are compiled into plain PHP code and cached until they are
modified, meaning Blade adds essentially zero overhead to your application. Blade view files
use the  .blade.php file extension and are typically stored in the resources/views directory.*
> The folder is not relevant, it should be possible in every folder. So Syntax highlighting,
code completion for each type of the language should be possible in that filetype, like in
a normal HTML file.
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Mime
View raw message