Netbeans Php blade editor using Antlr Lexer and Parser.
[]() []()
The plugin is not uploaded on netbeans site as it is still in experimental version.
Check for relase versions at : https://github.com/haidubogdan/netbeans-php-blade-plugin/tags
For more information refer yourself to: http://platform.netbeans.org/tutorials/nbm-google.html
Custom directives
Project -> Properties -> Laravel Blade -> Custom Directives
Just add the php file where you added the custom directive implementation as in https://laravel.com/docs/10.x/blade#extending-blade.
Views folder
If you use blade templates outside of the generic laravel framework or have custom templates folders you can configure them for a project.
This will help the yield and view path completion
Global declaration finder for views paths
Possiblity to go to declaration finder for string parameters inside render
, make
, view
methods.
Reformat and indentation
Experimental formatting and indenting
blade components
Limited completion and declaration finder
[!WARNING] .
brace matcher
completion
formatting
ex: a basic html file
<table>
<tr>
<th>Col</th>
</tr>
<tr>
<td><a href="https://github.com/haidubogdan/netbeans-php-blade-plugin/blob/main/">{cursor}</a></td>
</tr>
</table>
after enter from cursor position
<table>
<tr>
<th>Col</th>
</tr>
<tr>
<td><a href="https://github.com/haidubogdan/netbeans-php-blade-plugin/blob/main/">
</a></td>
</tr>
</table>
php code validation
The plugin is implemented using ANTLR lexer and parser. I migrated from Jflex and jcup tools due to scalability reason. Antlr plugin was introduced with Netbeans 18.
Some features are not implemented in this plugin version :