[editor]

View: New views
1 Messages — Rating Filter:   Alert me  

[editor]

by Daniel Sheppard-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have filed http://www.netbeans.org/issues/show_bug.cgi?id=122981 on the following code completion issue.

In the source below | indicates the cursor position.  I ctrl-space to get the completion list and select the constructor.  I then press return on the first argument and type 0 and false for the other 2.  After the last argument I then (in line with the other arguments) press return (rather than ;).  The cursor position is now before rather than after the false keyword and so pressing ; will not append the ; to the end of the line.

class SomeClass {
    public SomeClass create(String text) {
        return new SomeCl|
    }
    private SomeClass(String text, double value, boolean defined) {
    }
}

-----------------------------------------
Email sent from www.virginmedia.com/email
Virus-checked using McAfee(R) Software and scanned for spam
LightInTheBox - Buy quality products at wholesale price!