Where is the Content Assist of RDT?


#1

this url() said RDT HAS Content Assist. I use RDT 0.6.0, but I never
found
the code completion thing in it.
please tell me, how to find out the Content Assist stuff in RDT? thanks.


#2

I forgot to say, the url is:
http://www-128.ibm.com/developerworks/opensource/library/os-rubyeclipse/


#3

sorry for my duplicated posts.
My ie seems crazy, it automatically post twice.


#4

You aren’t posting twice to the list, you are just seeing Gmail put in
the same thread both your response from your “Sent Mail” and the
response as shown on the list. It is just one of those annoying
features of Gmail.

Ryan


#5

Thank you.
I do find some varibale hits this time.
I’m very new to ruby. So I never tried the rdoc stuff. Can you tell me
how
to use it please? Thanks again~


#6

Yes, it’s really annoying.
I tried to find out how to disable this but I didn’t get any clues.


#7

On Wed, 07 Dec 2005 11:35:25 -0000, Frank P. removed_email_address@domain.invalid
wrote:

this url() said RDT HAS Content Assist. I use RDT 0.6.0, but I never
found
the code completion thing in it.
please tell me, how to find out the Content Assist stuff in RDT? thanks.

In my experience it’s not as comprehensive as with e.g. Java, partly
because Ruby is very dynamic so the information simply isn’t available
until runtime. I’ve found that there’s not really much reason to have it
pop up automatically but on the whole I think it’s a worthwhile trade
for
the flexibility you get from Ruby :wink:

It does do variables quite well I think - hit CTRL-SPACE to see what it
knows about. It only knows about variables in the current script (?). I
only switched to IDEs about a year ago, and when I started with Ruby I
found it hard without autocomplete, which frankly isn’t a place I want
to
be. Doesn’t take long to get back to normal, though :wink:

(Aside, I don’t know if you can get docs working, my Ri is broken I
think,
but to be honest I don’t think you’ll need to - if you’re not sure of
the
name of a method or whatever just guess - most times you’ll be right,
Ruby
is very nice in this respect :))


#8

OK, I tried the ri again, it works for me.