title: Scaladocs: Reference values of enums
body: <p>In Scala, if I have an Enumeration like this:</p>
  
  <pre><code>package myPackage.letters
  
  object Alphabet extends Enumeration {
    val A: Value = Value("A")
    val B: Value = Value("B")
    val C: Value = Value("C")
  }
  </code></pre>
  
  <p>Now, I want to write a <a href="https://docs.scala-lang.org/style/scaladoc.html" rel="nofollow noreferrer">ScalaDoc</a> for a method in another package and reference the values of my Enum like this:</p>
  
  <pre><code>/**
    * Here, I want to reference my enum:
    * this works: [[myPackage.letters.Alphabet]]
    * this does not: [[myPackage.letters.Alphabet.A]]
    */
  def myMethod = {}
  </code></pre>
  
  <p>Is this maybe an IntelliJ specific problem? Anyway I cannot seem to figure out how to correctly reference enum values or if it is even possible.</p>