Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans/Ruby - extraneous(?) autocomplete info

I'm getting a ton of (what I would call) extraneous autocomplete information in Ruby Netbeans 6.5.1.

For example, if I type the name of a model object and then type a period (whether I'm in a controller or a view), it shows a dizzying dropdown list of thousands of methods, including several hundred different versions of the "new" method (but no documentation - most method signatures are followed by "No comment found").

Has anyone encountered (and solved) this problem, if we agree that this is a problem? Could it be that I simply have access to all of those thousands of methods and so they must be reported by autocomplete?

like image 349
curej Avatar asked Nov 06 '22 21:11

curej


1 Answers

I have exactly the same behavior.

I'm guessing because variables in Ruby are dynamically typed, Netbeans is being a little enthusiastic. Coming from a Java background it is a bit surprising.

It does appear to put the columns in my table at the top of my ActiveRecord objects ... so that's nice!

like image 50
RichH Avatar answered Nov 11 '22 05:11

RichH