You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Jas Gawera (Jira)" <ji...@apache.org> on 2019/08/21 15:40:00 UTC

[jira] [Created] (NETBEANS-3012) Opening brace popup doesn't always show statement associated with opening brace

Jas Gawera created NETBEANS-3012:
------------------------------------

             Summary: Opening brace popup doesn't always show statement associated with opening brace
                 Key: NETBEANS-3012
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3012
             Project: NetBeans
          Issue Type: Improvement
          Components: editor - Hints &amp; Annotations
            Reporter: Jas Gawera


When positioning the cursor on a closing curly brace of a method
{code:java}
}{code}
If the corresponding opening statement is off the screen Netbeans will show the corresponding opening brace with its associated statement even if they are on separate lines

e.g.
{code:java}
void myLongMethod()
{{code}
Very useful

However, for "if/while/for" statements (and maybe others) Netbeans only shows the opening brace
{code:java}
{
{code}
This gives no useful information about what the braces are for.

If the opening statement and brace are on the same line, they are shown in the popup
{code:java}
if (someCondition) {{code}
This should work for both styles of code format

 

 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists