tags:

views:

434

answers:

9

Is there a Ruby IDE for windows that supports auto completion for user defined classes (like textmate does)?

class MyClass
    attr_accessor :name, :age
    def initialize(name, age)
        @name, @age = name, age
    end
end

mc = MyClass.new
mc....

The last line should list [name, age]

+1  A: 

I believe this question may help you out.

statenjason
Not really sure how that answers his question.
musicfreak
A few options to look at.
statenjason
+6  A: 

Netbeans does this to my knowledge.

John T
Another reason why NetBeans is better than Eclipse. I think RadRails does it, but after Aptana got their hands on it, RadRails went from really nice to a piece of garbage.
Thomas Owens
+2  A: 

Aptana Rad Rails

Netbeans

RubyMine => you have to pay for this one

jgarcia
A: 

I know for sure that Komodo IDE (commercial) and Komodo Edit (free) both do this.

musicfreak
A: 

I would preffer Aptana Studio (based on Eclipse).

Aptana Homepage There is a long Feature list, much more Functions than Netbeans and other IDE's (Features)

ArneRie
+1  A: 

Basically, all of them.

Really, I haven't seen any IDE that doesn't do this. In fact, that's the whole point of an IDE, isn't it?

Jörg W Mittag
+1  A: 

I switched from Aptana to Netbeans because the code completion on Aptana wasn't very complete and kept crashing, particularly during demos (~6 months ago). Netbeans seemed to have an advantage here (i.e., the code completion worked and didn't crash) but since switching I've found that I'm using the code completion less and less. Netbeans Ruby Edition is also much much faster than Aptana (I'm not a Netbeans fanatic; I use Eclipse for Java dev over Netbeans).

Apart from some ugly flashing progress bars, the latest Netbeans 3.7 has delivered small but useful improvements to the Rails developer (like browsing the platform's gems, linking to failed test lines, etc).

hopeless
A: 

after trying to use Aptana (Eclipse Helios w/ plugin) for debugging i gave up, it was too slow and cumbersome. netbeans (version 6.9) is much better IMHO, somehow it doesn't get much good press but i find it much faster and easier to use for debugging. (i guess i am not really used to eclipse, but i find the 'perspective' concept not very intuitive) The only downside of netbeans is that it doesn't contain a 'direct' window like eclipse while debugging, a shell where you can run live commands against the program in the debugger.

for code completion, i use a the watir-webdriver gem, which encapsulates the watir elements in other objects, ie netbeans can't figure it out anymore, but i didn't have much hope for the code completion to work in complex situations to begin with.

friso
A: 

Redcar. It is under active development. I have used it on Ubuntu in the past. Just noticed that they have started supporting Mac and Windows too.

codesilo