Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cant write or delete two open curly brackets {{ in netbeans

I am using the PHP framework Laravel, which is the best PHP Framework, however If I try to write two {{ then it does not work, netbeans won't let me!

How can I write {{ in netbeans?

I just notice that I can also not delete them If I copy paste them in! I can't even undo to remove it.

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

UPDATE #1:

After closing and reopening the file, it works again? I think I experienced a strange bug.

UPDATE #2:

Today the same bug happened and closing and reopening did not helped

UPDATE #3:

It is a bug: https://netbeans.org/bugzilla/show_bug.cgi?id=268719

like image 871
Black Avatar asked Feb 25 '17 16:02

Black


1 Answers

I encounter this problem too, seems to be a bug on the NetBeans 8.2 as it never happened on my previous NetBeans versions.

A work around on this would be to

  1. open a single curly brace first e.g href="{foo/bar"
  2. close with two curly braces e.g href="{foo/bar}}"
  3. Then go back and add the second opening brace. e.g href="{{foo/bar}}"

Hope it works for you and hope the bug get's fixed asap.

like image 119
Houdini Avatar answered Oct 19 '22 18:10

Houdini