Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Inline Documentation (use Ctrl+Q to open it's pop-up) in IntelliJ IDEA (2016.3.4) is having problems when JavaDoc contains variables, like:

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

Instead of parsing these variables it displays: [Cannot find macro: $coll.]. Scala API parses it correctly and changes $coll into iterable collection.

Is there a way to fix this issue in IntelliJ IDEA?

like image 736
Marek J Avatar asked Feb 24 '17 10:02

Marek J


1 Answers

It's a known bug in IntelliJ IDEA Scala plug-in:

  • SCL-9720 Documentation view unreadable when @define placeholders are used
like image 141
CrazyCoder Avatar answered Nov 23 '22 02:11

CrazyCoder