Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.5.2.Release
-
Fix Version/s: 2.6.0.Release
-
Component/s: Parser
-
Labels:None
-
Environment:eclipse 3.6.2, Windows 7
-
Number of attachments :
Description
Doesn't work or a line like:
panel.add (textField, BorderLayout.
The CENTER, NORTH,EAST,WEST choices don't show
works for:
BorderLayout.
String s = BorderLayout.
String s = 'foo' + BorderLayout.
but fails for:
String s = ('foo' + BorderLayout.
So it looks like the open paren causes it to fail
This is a parser recovery problem. The parser is failing to understand the code without the extra paren and so cannot provide any meaningful content assist.