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.
module Alpha class Beta class Gamma end class Delta end end end def test_case_name assert_kind_of(Alpha::Beta::G) end If you hit ctrl-space after the G in Alpha::Beta::G, you get Gamma offered - that's correct. But now hit escape, and backspace to get just Alpha::Beta. Hit ctrl-space. Type '::G' and you get 'no suggestions' where it should offer 'Gamma'. (I've been having problems with code completion on nested classes, this is the smallest repro case I could find.) build 4873 Product Version: NetBeans Ruby IDE 20071027034933 Java: 1.6.0_03; Java HotSpot(TM) Server VM 1.6.0_03-b05 System: Linux version 2.6.18-8.1.15.el5xen running on i386; UTF-8; en_US (nbrubyide) Userdir: /home/james/.nbrubyide/dev
The problem here was that for performance reasons I'm not showing classes as parameter suggestions inside method calls (unless it's something like the include method, or, you've started typing an uppercase letter). However, this did not handle the scenario where you've already entered a class name (Alpha::Beta::) but no part of the actual class name. Fixed: IDE:------------------------------------------------- IDE: [10/28/07 12:11 PM] Committing started Checking in CodeCompleter.java; /cvs/ruby/editing/src/org/netbeans/modules/ruby/CodeCompleter.java,v <-- CodeCompleter.java new revision: 1.32; previous revision: 1.31 done IDE: [10/28/07 12:11 PM] Committing finished