tommy chheng
tommy chheng

Reputation: 9218

Is there a command line program to lookup Scaladoc?

Ruby has a program called ri where you can type in 'ri Array' and get its manpage. Is there something like that for scaladoc?

Upvotes: 6

Views: 974

Answers (5)

noahlz
noahlz

Reputation: 10311

vim-scaladoc was released in late 2012.

Upvotes: 1

Randall Schulz
Randall Schulz

Reputation: 26486

Stefan Zeiger's Extradoc would probably be a good basis for this and other documentation tools.

Upvotes: 0

user unknown
user unknown

Reputation: 36229

With a command-line browser like elinks, and just one directory which matches scaladoc, you can use:

#!/bin/bash
for link in $(locate scaladoc | grep $1); do elinks $link ; done

Upvotes: 0

Alex Cruise
Alex Cruise

Reputation: 7979

Now that the Scaladoc web "app" is being enhanced with indexes for fast in-browser search, this kind of thing should become much easier, especially now that there's always a JS interpreter in JDK6. I'd suggest filing an enhancement request. :)

Upvotes: 2

Daniel C. Sobral
Daniel C. Sobral

Reputation: 297165

Not that I know of, but it would be cool. I don't think it would be too hard to do it, given that scaladoc (I heard) is supposed to be kind of pluggable.

Upvotes: 1

Related Questions