Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to search for methods in Scaladoc, globally?

Tags:

scala

scaladoc

Is there any possibility that i can search for a method in a class, trait or object via scala doc, globally? Example: I have a method name and I don't know which class it belongs to so i can type it in some scaladoc search and it will show me classes containing a method with the given name. (PS: i would have added the tag scaladoc, but apparently I'm unworthy...)

like image 950
AndreasScheinert Avatar asked Jul 14 '11 21:07

AndreasScheinert


1 Answers

I don't think there is a general, built-in method. So if the scaladoc is online I use my friend Google. For instance to search for a method called left in the scala API, I use the query:

"def left" site:http://www.scala-lang.org/api/current/

If it's on my hard disk I use grep.

like image 125
paradigmatic Avatar answered Nov 02 '22 00:11

paradigmatic