搜索Scala文档## [英] Searching the Scala documentation for #::

查看:139
本文介绍了搜索Scala文档##的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试找到Scala操作符方法#:: 的文档。我相信它在 Stream 类中定义,因为示例我发现使用它。

I am trying to find the documentation for the Scala operator method #::. I believe that it is defined in the Stream class because of an example I found that uses it.

我的问题不是这个方法的特殊虽然我想知道文档的位置),但是如何搜索Scala文档。我尝试在文档页面(2.8.1)左上角的搜索框中输入#:: ,但没有发现。

My question is not particular to this method (although I would like to know where the docs are), but how to search the Scala docs in general. I tried entering #:: in the search box in the upper left of the documentation page (2.8.1), but found nothing.

推荐答案

我建议使用参考索引 - 它专门设计用于寻找任何类型的符号(类,特征,方法,vals,vars),而不管其分层位置与Scaladoc的左侧索引(不显示内部类,特征或对象)形成对照。

I suggest using the Reference Index - it's designed specifically to look for any kind of symbol (class, traits, methods, vals, vars) regardless of it's hierarchical position - contrasting with the Scaladoc's left index which doesn't show inner classes, traits or objects.

不幸的是,它只能在夜间使用。您可以在每晚看到整个事情Scaladoc 。请注意左侧框架中的上方框,索引上方。

Unfortunately it's only available in the nightly. You can see the whole thing at nightly Scaladoc. Notice the upper box in the left frame, above the index.

希望它将与Scala 2.9.0捆绑。

Hope it will be bundled with Scala 2.9.0.

编辑从2.9.0开始,引用索引开始与 Scaladoc 。现在无需去夜间文件。

Edit As of 2.9.0, the reference index started to be bundle with Scaladoc. No need to go to the nightly docs now.

这篇关于搜索Scala文档##的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆