[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[IDE] - need a simple IDE which lists methods and variables

Ilias Lazaridis

4/4/2005 5:01:00 PM

I like to try ruby a little bit more.

SciTE is very nice to compare languages.

FreeIDE look very nice, too.

But I like to have the following:

when typing:

talker.

a list should popup, showing me the available methods and variables.

if I scroll to a method, a window should popup, to show me the help-text
of the method.

is this available for SciTE / FreeIDE - possibly as an extension?

If not, what would be the estimated effort to implement this into FreeIDE?

or can you suggest me another free IDE product which has this behaviour?

.

--
http://laz...
20 Answers

Malte Milatz

4/4/2005 5:13:00 PM

0

Ilias Lazaridis:
> when typing:
> talker.
> a list should popup, showing me the available methods and variables.
[...]
> or can you suggest me another free IDE product which has this behaviour?

Not what you're looking for, but: you can do this in irb. Search the
Rubygarden wiki for useful irbrc code, then you can do, e.g.:

talker.m<TAB><TAB>

and you get all instance methods starting with m.

Malte

Yohanes Santoso

4/4/2005 5:34:00 PM

0

Ilias Lazaridis <ilias@lazaridis.com> writes:

> when typing:
> talker.
> a list should popup, showing me the available methods and variables.

This has been discussed recently. Please see ruby-talk:135770

YS.


Rob .

4/4/2005 11:10:00 PM

0

Ilias Lazaridis wrote:
> But I like to have the following:
> when typing:
> talker.
> a list should popup, showing me the available methods and variables.

I'm developing method autocompletion for the jEdit Ruby Editor Plugin,
using the "if it quacks, it waddles" approach. Unfortunately you'll
have to wait a couple of weeks for me to get it finished.

> if I scroll to a method, a window should popup, to show me the help-text
> of the method.

I've added a search documentation feature to the plugin, which does a
search via ri and reports back the results in a dialog. You can get
jEdit and the Ruby Editor Plugin from:
http://www.jedit...

Feedback is welcome.

Cheers,
Rob


Lothar Scholz

4/5/2005 3:33:00 AM

0

Hello Rob,

R> Ilias Lazaridis wrote:
>> But I like to have the following:
>> when typing:
>> talker.
>> a list should popup, showing me the available methods and variables.

R> I'm developing method autocompletion for the jEdit Ruby Editor Plugin,
R> using the "if it quacks, it waddles" approach. Unfortunately you'll
R> have to wait a couple of weeks for me to get it finished.

Read his message again, he wants something like "if it exists, then it
...."


--
Best regards, emailto: scholz at scriptolutions dot com
Lothar Scholz http://www.ru...
CTO Scriptolutions Ruby, PHP, Python IDE 's




Ilias Lazaridis

4/5/2005 12:55:00 PM

0

Yohanes Santoso wrote:
> Ilias Lazaridis <ilias@lazaridis.com> writes:
>
>> when typing: talker. a list should popup, showing me the available
>> methods and variables.
>
> This has been discussed recently.

with a result (specific to my request)?

> Please see ruby-talk:135770

I'm accessing from usenet.

> YS.

.

--
http://laz...

Ilias Lazaridis

4/5/2005 1:02:00 PM

0

Rob . wrote:
> Ilias Lazaridis wrote:
>
>>But I like to have the following:
>>when typing:
>> talker.
>>a list should popup, showing me the available methods and variables.
>
> I'm developing method autocompletion for the jEdit Ruby Editor Plugin,
> using the "if it quacks, it waddles" approach. Unfortunately you'll
> have to wait a couple of weeks for me to get it finished.

ok

>>if I scroll to a method, a window should popup, to show me the help-text
>>of the method.
>
> I've added a search documentation feature to the plugin, which does a
> search via ri and reports back the results in a dialog. You can get
> jEdit and the Ruby Editor Plugin from:
> http://www.jedit...

jedit is written in java.

I would need an IDE written in ruby or C/C++.

> Feedback is welcome.
>
> Cheers,
> Rob

.

--
http://laz...

Nikolai Weibull

4/5/2005 1:07:00 PM

0

Ilias Lazaridis, April 5:

> Yohanes Santoso wrote:

> > Ilias Lazaridis <ilias@lazaridis.com> writes:

> > > when typing: talker. a list should popup, showing me the available
> > > methods and variables.

> > This has been discussed recently.

> with a result (specific to my request)?

See below.

> > Please see ruby-talk:135770

> I'm accessing from usenet.

Look it up at http://www.ruby-talk.org/ruby/ruby-talk/i...,
nikolai

--
Nikolai Weibull: now available free of charge at http:/...!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}


Belorion

4/5/2005 1:27:00 PM

0

> jedit is written in java.
>
> I would need an IDE written in ruby or C/C++.


Why, exactly? If the tool fits, why not use it? I like jEdit better
than any other editor I've ever used, personally.


Ilias Lazaridis

4/5/2005 1:31:00 PM

0

Nikolai Weibull wrote:
> Ilias Lazaridis, April 5:
>
>
>>Yohanes Santoso wrote:
[...]

>>>Please see ruby-talk:135770
>
>>I'm accessing from usenet.
>
> Look it up at http://www.ruby-talk.org/ruby/ruby-talk/i...,
> nikolai

thanks.

http://www.ruby-talk.org/cgi-bin/scat.rb/ruby/ruby-t...

.

--
http://laz...

Rob .

4/5/2005 6:08:00 PM

0

Lothar Scholz wrote:
> Hello Rob,
>
> R> Ilias Lazaridis wrote:
> >> But I like to have the following:
> >> when typing:
> >> talker.
> >> a list should popup, showing me the available methods and variables.
>
> R> I'm developing method autocompletion for the jEdit Ruby Editor Plugin,
> R> using the "if it quacks, it waddles" approach. Unfortunately you'll
> R> have to wait a couple of weeks for me to get it finished.
>
> Read his message again, he wants something like "if it exists, then it
> ...."

I think what I'm developing is close to what Ilias wants ...

Initially I create a cache of available modules/classes/methods. I
infer the possible classes of a variable based on how you've
previously used it, then provide a popup of all methods available on
the inferred set of classes. I have this roughly working at present.
Just need to write the code to keep the cache updated as you edit the
ruby files.

Cheers,
Rob
----
http://www.jedit...
Free Software, Free Society