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 126058 - Code completion suggests statements that are invalid
Summary: Code completion suggests statements that are invalid
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-28 00:36 UTC by jbeall
Modified: 2011-01-28 20:11 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 jbeall 2008-01-28 00:36:31 UTC
See this thread for a short discussion:
http://www.nabble.com/Code-Completion----needs-improvement%2C-or-am-I-missing-something--to14949804s27022.html#a15116868

Inside my PostsController class, I type "self." and review the list of code hints.  One of them is a method "exit". 
However, if I attempt to call this method, I get:

"private method `exit' called for #PostsController:0x2ea3150"

It looks like code completion is suggesting statements that are not valid?

  -Josh
Comment 1 Martin Krauskopf 2008-03-31 15:03:41 UTC
Still there. We are code-frozen (TM -> Future)
Comment 2 Erno Mononen 2009-07-16 12:37:22 UTC
Will attempt to fix this for 6.8.