See the reference below. I am creating this issue to track that task. > I'm pretty scaladoc also has logic for pretty-printing extension methods, so we should also try to combine these things at some point in the future. _Originally posted by @smarter in https://github.com/lampepfl/dotty/pull/17528#discussion_r1252366591_