haidubogdan / netbeans-php-blade-plugin

Netbeans 18+ module plugin for php blade template files
Apache License 2.0
25 stars 4 forks source link

Custom `@end` prefix tag could have arguments, and if they start witn `end` stops highlight #39

Closed angeljqv closed 8 months ago

angeljqv commented 8 months ago

I have custom blade directives, coincidentally they start with end, and the highlighting of the arguments does not work

image

  @modal(['id'=>'ModalFirmaElectCheck'])

  @endmodal(['cancel' => true])

  @endorse(['save' => true])

  @endpoint('custom_value')
haidubogdan commented 8 months ago

I've added a quick fix for the php highlight and a logic to detect custom directive blocks.

But I think the ticket can be left opened.

https://github.com/haidubogdan/netbeans-php-blade-plugin/releases/tag/nb180-v.2.0.6

haidubogdan commented 8 months ago

I will close the ticket. Starting from v.2.1.21.

You can also disable the hints from Editor -> Hints -> Language Blade

image