This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 137257 - Completions offers all keywords where it makes no sense
Summary: Completions offers all keywords where it makes no sense
Status: VERIFIED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: schmidtm
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-16 09:57 UTC by martin_adamek
Modified: 2008-10-30 14:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description martin_adamek 2008-06-16 09:57:21 UTC
e.g. in:
class User {
    String name
    |
}
it offers also 'for', 'if' etc., but it makes no sense there. See Java editor for correct behavior.
Comment 1 schmidtm 2008-06-25 13:53:25 UTC
Keyword-completion is done in an approximational fashion based on completion location and surrounding. 
Comment 2 Lukas Jungmann 2008-10-13 18:14:52 UTC
v.