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 & 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to