Closed rfrkk closed 6 months ago
HI, Thank you for the notices. The formatting had been a blocking issue so far, but I think I've started to overcome some of them. I think the formatting should be more stable now with the latest commit https://github.com/haidubogdan/netbeans-php-blade-plugin/releases I will address the error2 issue soon.
Trying to render a blade template with @section({{ $content }}) will throw an exception on older version of blade templating : "Parse error: syntax error, unexpected '<'" So I think I can keep the display syntax error until a blade versioning is implemented.
Edit I am on Netbeans 21
Maybe an old issue but with the but with the latest update starting from 2.0.3 the formatting for custom components is also broken.
Not formatted:
After formatting:
It is possible that it is a html embedding issue also. <style>
and <script>
indentation is broken also.
I close this issue as it should be more or less fixed, and now there are more nuanced issues. The coloring should also be fixed for blade code inside component tags.
I will create an active issue regarding indentation for components :
https://github.com/haidubogdan/netbeans-php-blade-plugin/issues/44
erre1. Format of html was running away, bringing more and more spacing. ex1:
.... ex2:
error2. netbeans display syntax error
ex1: @section({{ $content }})