Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > RDoc, ri and code completion in jEdit

Reply
Thread Tools

RDoc, ri and code completion in jEdit

 
 
Robert McKinnon
Guest
Posts: n/a
 
      02-27-2004
I'm implementing na´ve Ruby code completion for the jEdit editor, using
ri to find classes and methods. I would like to use the ri Tagged
output format, so I have installed the latest ri from sourceforge,
v1.8b.

What version of RDoc is compatible with an ri version that can create
Tagged output?

The RDoc v1.0pr1 that is installed with Ruby 1.8.1 doesn't seem to
generate output understood by ri v1.8b. (For example, the rdoc output
doesn't contain an index file expected by ri v1.8b). I'm running the
command:
rdoc --ri -o /usr/local/lib/ruby/site-ruby/ri

Thanks,
Rob

__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools


 
Reply With Quote
 
 
 
 
Dave Thomas
Guest
Posts: n/a
 
      02-27-2004

On Feb 27, 2004, at 8:56, Robert McKinnon wrote:

> I'm implementing na´ve Ruby code completion for the jEdit editor, using
> ri to find classes and methods. I would like to use the ri Tagged
> output format, so I have installed the latest ri from sourceforge,
> v1.8b.
>
> What version of RDoc is compatible with an ri version that can create
> Tagged output?
>
> The RDoc v1.0pr1 that is installed with Ruby 1.8.1 doesn't seem to
> generate output understood by ri v1.8b. (For example, the rdoc output
> doesn't contain an index file expected by ri v1.8b). I'm running the
> command:


The RDoc that comes with the 1.8.1 and 1.,9 branches includes its own
ri. The one on SourceForge in obsolete, and will be going away once 1.2
becomes dominate.

However, that's good news for you, as you should be able to use the
RiCache stuff to get direct access to the documentation extracted by
RDoc. Have a look at how the new 'ri' works (lib/rdoc/ri/... -- I think
you'll find it's pretty convenient for code completion and so on. The
only one caveat: right now RiCache has a fairly decent start-up time (a
second or so), so you'll want to create one and keep it lying around.


Cheers

Dave




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
jedit - auto code completetion Libertarian Python 1 06-19-2007 05:13 PM
Jedit code formatter? Peter Fitzgibbons Ruby 2 08-02-2005 08:41 PM
[ANN] Ruby Editor Plugin for jEdit 0.6.1 - method completion release II Rob . Ruby 11 05-15-2005 09:05 AM
[ANN] Ruby Editor Plugin for jEdit 0.6 - method completion release Rob . Ruby 20 05-05-2005 07:39 PM
Spelling Completion or Code completion in ASP? ziggs ASP General 2 04-21-2004 02:02 PM



Advertisments