Custom indentation rules
I develop website on Netbeans IDE. Currently I'm working with Laravel Framework, and I use the Blade template engine which allow to create loop or conditional statement in HTML views without having to jump from HTML to PHP, then to HTML again, ...
However each of Blade's statement aren't recognize as HTML or PHP object, and so Netbeans doesn't make any indentation of them:
@if($isConnected)
<div id="aDiv">...
@else
<div>...
I'd prefer it looks like:
@if($isConnected)
<div id="aDiv">...
@else
<div>...
Is there a way to teach new indentation rules to Netbeans?
链接地址: http://www.djcxy.com/p/25446.html上一篇: Netbeans额外的不必要的代码提示
下一篇: 自定义缩进规则