To create a new project with Scala 3
sbt new scala/scala3.g8and give it a name when asked
$ name [Scala 3 Project Template]: <name>Then
cd <name>
Then with Visual Studio Code, open the new folder, with the name you gave. Run sbt in terminal there and run tasks there, including console for REPL
Visual Studio Code Extensions used -
Scala Syntax
by scala-langScala (sbt)
by Lightbend
Note regarding private[this], which is not mentioned in book currently - private[this] is now dropped but inferred from private