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 153520 - Baffled code completion for expressions within certain blocks
Summary: Baffled code completion for expressions within certain blocks
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-11-20 10:35 UTC by Martin Krauskopf
Modified: 2011-01-28 20:12 UTC (History)
1 user (show)

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 Krauskopf 2008-11-20 10:35:35 UTC
Following code (| is cursor):

  Thread.new do
    1.|
  end

offers completely wrong completion on the first try (all methods from all classes/modules(?) with 'initialize' method
first) and "new(arg) {}    Thread" as a first item followed by the right list on the second try.

In both, 6.5 and 7.0. I'll try to look at this.
Comment 1 Erno Mononen 2009-07-17 09:17:44 UTC
Still valid.