List.head() 的内联文档显示 'Cannot find macro'

Inline Documentation displays 'Cannot find macro' for List.head()

IntelliJ IDEA (2016.3.4) 中的内联文档(使用 Ctrl+Q 打开它的弹出窗口)在 JavaDoc 包含变量时出现问题,例如:

/** Selects the first element of this $coll.
 *  $orderDependent
 *  @return  the first element of this $coll.
 *  @throws NoSuchElementException if the $coll is empty.
 */

它没有解析这些变量,而是显示:[Cannot find macro: $coll.]。 Scala API 正确解析并将 $coll 更改为 iterable collection.

有没有办法在 IntelliJ IDEA 中解决这个问题?

这是 IntelliJ IDEA Scala 插件中的一个已知错误:

  • SCL-9720 使用 @define 占位符时文档视图不可读