Is there a command line program to lookup Scaladoc?
Asked Answered
T

5

6

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

Tampon answered 12/11, 2010 at 1:0 Comment(0)
M
1

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.

Mateo answered 12/11, 2010 at 10:34 Comment(1)
I'm thinking more like a command-line script that reuses the static HTML/JS artifacts already on disk, assuming the user has installed the doc bundle. Either way, it'd be nice.Roden
R
2

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. :)

Roden answered 12/11, 2010 at 18:25 Comment(1)
a command line app would be great because it'll allow easy lookup in vim/emacs.Tampon
M
1

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.

Mateo answered 12/11, 2010 at 10:34 Comment(1)
I'm thinking more like a command-line script that reuses the static HTML/JS artifacts already on disk, assuming the user has installed the doc bundle. Either way, it'd be nice.Roden
B
1

vim-scaladoc was released in late 2012.

Bombe answered 31/7, 2013 at 4:23 Comment(0)
E
0

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
European answered 23/5, 2011 at 3:25 Comment(0)
D
0

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

Dodiedodo answered 25/5, 2011 at 14:20 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.