Cannot write or delete two open curly braces {{in netbeans

I use the PHP Laravel framework, which is the best PHP Framework, however if I try to write two {{then this will not work, netbeans will not let me!

How to write {{ in netbeans?

I just notice that I also cannot delete them. If I copy paste them! I can’t even cancel it.

I am using the latest version of netbeans (8.2).

UPDATE # 1:

After closing and reopening the file, does it work again? I think I experienced a strange mistake.

UPDATE # 2:

An error occurred today, and closing and reopening did not help

UPDATE # 3:

This is a mistake: https://netbeans.org/bugzilla/show_bug.cgi?id=268719

+6
source share
3 answers

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/

+1
source

I also run into this problem, it seems to be a bug in NetBeans 8.2, as it never occurred in my previous versions of NetBeans.

Work on it will be

  • open one curly brace first, for example href = "{foo / bar"
  • close with two curly braces, for example href = "{foo / bar}}"
  • Then go back and add a second opening bracket. for example href = "{{foo / bar}}"

Hope this works for you and hope the bug is fixed as soon as possible.

0
source

Try disabling the JS and AngularJS newbie plugins and restarting.

I had the same problem and I found this solution on the error tracker .

edit: Follow the screenshots provided to disable the plugins. I could not figure out how to change the language of my Netbeans to English, so I hope the screenshots are easy to follow.

Step-by-step screenshots

-one
source

Source: https://habr.com/ru/post/1015272/


All Articles