Is there a command line program to lookup Scaladoc

2019-04-28 05:45发布

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

5条回答
时光不老,我们不散
2楼-- · 2019-04-28 06:17

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

查看更多
Animai°情兽
3楼-- · 2019-04-28 06:17

vim-scaladoc was released in late 2012.

查看更多
混吃等死
4楼-- · 2019-04-28 06:18

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.

查看更多
走好不送
5楼-- · 2019-04-28 06:21

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

查看更多
祖国的老花朵
6楼-- · 2019-04-28 06:28

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
查看更多
登录 后发表回答