I’m quite skeptical about approaches of the kind “Let’s add some convoluted magic to make it easier for beginners!”
Transparency is simplicity. If you are going to have stack traces and build tool documentation referring to main methods, then the easiest is to make it obvious what that is.
object HelloWorld {
__ def main(args: String*): Unit = {__
** println(“Hello, World!”)**
** }**
}