Luis Filipe de Sá Estrella created NETBEANS-55:
--------------------------------------------------
Summary: Incorrect brace matching in Netbeans 8.2
Key: NETBEANS-55
URL: https://issues.apache.org/jira/browse/NETBEANS-55
Project: NetBeans
Issue Type: Bug
Components: php - Formatting & Indentation
Affects Versions: 8.2
Environment: Using netbeans with php support in Laravel environment.
Reporter: Luis Filipe de Sá Estrella
I'm trying to use Netbeans 8.2 to develop a laravel application. I noticed that
there are some inconsistencies on brace/parenthesis matching on certain
situations. For example when I type the last brace in
{quote}Route::get('app/test', function() {){quote}
and press enter I expect
{quote}Route::get('app/test', function() {
}){quote}
but I get
{quote}Route::get('app/test', function() {
){quote}
And when I type the same, but inserting a space between the brace and the
parenthesis, like this
{quote}Route::get('app/test', function() { ){quote}
and when I put the cursor right after the brace and type enter, the result is
{quote}Route::get('app/test', function() {
)
}{quote}
Note where both the ending brace and ending parenthesis are.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)