Community
Participate
Working Groups
Here's what I typed: LineNumberReader datal = new LineNumberReader(data, 1024); withNextLine: for (String line = datal.readLine(); null != line; line = datal.readLine()) { if(0 == line.length()) continue with At this point, I tried code completion, hoping it would save me from having to type the rest of the label. So I expected "continue withNextLine". Instead, I get if(0 == line.length()) continue WithParam and, at the top of the cu, an additional import org.apache.xalan.xsltc.compiler.WithParam; (I happen to have Xalan in my classpath.)
Label completion isn't currently supported. Post 2.1 maybe
Reopening for consideration in 3.2
Fixed and tests added CompletionParserTest2#test0153() -> test0158() Compl;etionTests#testLabel1() -> testLabel6() Visible labels are proposed when the completion is inside a label reference.
Verified for 3.2 M4 using build I20051212-0010