I ran into the same problem and, even worse, could not do anything with double brackets or php tags. My suggestions:
Reboot This has worked so far for me, but this is not a real solution.
External editor . You can try to resolve any violation code in the main text editor. But then again, an annoying workaround.
Autofill options . If you can recreate the problem, you can play with the shutdown options in Tools> Options> Editor> Code Completion. (I would suggest that in PHP). (I will update if / when I am in it again.)
Various IDEs: I love Netbeans, but Laravel support just doesn't exist (yet?).
If you need a PHP framework, Netbeans comes with quite a few. (You can see this under Tools> Options> PHP. You will notice that Laravel is not specified.)
If you need Laravel, you may need a new IDE. This list is right at the top of Google, but it lists Netbeans, mainly due to the addition of code. https://www.dunebook.com/5-best-ide-laravel-ide-with-laravel-ide-helper/
source share