4
4
5
5
## Usage
6
6
7
- This is a normal sbt project, you can compile code with ` sbt compile ` and run it
8
- with ` sbt run ` , ` sbt console ` will start a Scala 3 REPL.
7
+ This is a normal sbt project. You can compile code with ` sbt compile ` and run it
8
+ with ` sbt run ` . ` sbt console ` will start a Scala 3 REPL.
9
9
10
10
If compiling this example project fails, you probably have a global sbt plugin
11
- that does not work with Scala 3, try to disable all plugins in
11
+ that does not work with Scala 3. You might try disabling plugins in
12
12
` ~/.sbt/1.0/plugins ` and ` ~/.sbt/1.0 ` .
13
13
14
- ### IDE support
15
-
16
- Scala 3 comes built-in with IDE support, to try it out see
17
- [ IDE support for Scala 3] ( http://dotty.epfl.ch/docs/usage/ide-support.html )
18
-
19
14
## Making a new Scala 3 project
20
15
21
16
The fastest way to start a new Scala 3 project is to use one of the following templates:
@@ -40,22 +35,14 @@ You must use sbt 1.5.5 or newer; older versions of sbt are not supported.
40
35
Set up the Scala 3 version:
41
36
42
37
``` scala
43
- scalaVersion := " 3.1.0 "
38
+ scalaVersion := " 3.1.1 "
44
39
```
45
40
46
41
### Getting your project to compile with Scala 3
47
42
48
43
For help with porting an existing Scala 2 project to Scala 3, see the
49
44
[ Scala 3 migration guide] ( https://scalacenter.github.io/scala-3-migration-guide/ ) .
50
45
51
- #### Nightly builds
52
-
53
- If the latest release of Scala 3 is missing a bugfix or feature you need, you may
54
- wish to use a nightly build. Look at the bottom of the list of
55
- [ releases] ( https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/ )
56
- to find the version number for the latest nightly build.
57
-
58
- ## Discuss
46
+ ## Need help?
59
47
60
- Feel free to come chat with us on the
61
- [ Scala 3 gitter] ( http://gitter.im/lampepfl/dotty ) !
48
+ https://www.scala-lang.org/community/ has links.
0 commit comments