You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Christian Lenz (JIRA)" <ji...@apache.org> on 2017/09/14 09:27:00 UTC

[jira] [Commented] (NETBEANS-55) Incorrect brace matching in Netbeans 8.2

    [ https://issues.apache.org/jira/browse/NETBEANS-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16165996#comment-16165996 ] 

Christian Lenz commented on NETBEANS-55:
----------------------------------------

I think the closing bracket should come up immediately, there is no reason, in my opinion, to wait for another action. What you will open, you have to close it, earlier or later. So I would prefer to, when you open a brace, the closing should come immediately.

> 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)