What is the correct way to create link to a method in the same class? Scaladoc documentation doesn't have examples of this.
Consider a class such as:
package controllers
// import ...
class AccountController extends Controller with Secured {
def current = Authenticated() { request =>
// ...
}
/**
* See [[current]] for an endpoint that...
*/
def findAll = Authenticated() { request =>
// ...
}
}
In IntelliJ IDEA's "quick documentation" pop up, all these show up as red:
[[current]]
[[#current]]
[[AccountController.current]]
[[AccountController#current]]
[[controllers.AccountController.current]]
This does show up as blue:
[[controllers.AccountController#current]]
So I suppose this is correct, but is there there no simpler yet correct way?