@@ -3,16 +3,15 @@ layout: doc-page
33title : Setting up your IDE 
44--- 
55
6- You can use either Metals with your favorite editor (VS Code, Neovim, Sublime)
7- or [ IntelliJ IDEA for
8- Scala] ( https://www.jetbrains.com/help/idea/discover-intellij-idea-for-scala.html ) 
6+ You can use either Metals with your favorite editor or
7+ [ IntelliJ IDEA for Scala] ( https://www.jetbrains.com/help/idea/discover-intellij-idea-for-scala.html ) 
98to work on the Scala 3 codebase. There are however a few additional
109considerations to take into account.
1110
1211## Bootstrapping Projects  
1312
14- The sbt build for dotty implements bootstrapping within the same build, so each component has 
15- two projects:
13+ The sbt build for dotty implements bootstrapping within the same build, so each
14+ component has  two projects:
1615
1716``` 
1817sbt:scala3> projects 
@@ -32,23 +31,24 @@ Normally this is fine, but if you're working on certain modules like `scaladoc`
3231you'll actually want these modules exported. In order to achieve this you'll
3332want to make sure you do two things:
3433
35- 1 .  You'll want to find and change the following under 
36-      ` commonBootstrappedSettings `  which is found in the
37-      [ ` Build.scala ` ] ( https://github.com/scala/scala3/blob/main/project/Build.scala ) 
38-      file.
34+ 1 .  You'll want to find and change the following above 
35+    ` commonBootstrappedSettings `  which is found in the
36+    [ ` Build.scala ` ] ( https://github.com/scala/scala3/blob/main/project/Build.scala ) 
37+    file.
3938
4039``` diff 
4140
42- -     bspEnabled : = false,
43- +     bspEnabled : = true,
41+ -     val enableBspAllProjects  = false,
42+ +     val enableBspAllProjects  = true,
4443``` 
4544
46- 2 .  Set ` sbt `  as your build server instead of the default, Bloop. You can achieve
47-     this with the ` Metals: Switch Build Server `  command and then choosing sbt. In
48-     VSCode, this looks like this:
45+ 2 .  Run ` sbt publishLocal `  to get the needed presentation compiler jars.
4946
50- ![ bsp-switch] ( https://user-images.githubusercontent.com/777748/241986423-0724ae74-0ebd-42ef-a1b7-4d17678992b4.png ) 
47+ By default Metals uses Bloop build server, however you can also use sbt
48+ directly. You can achieve this with the ` Metals: Switch Build Server `  command
49+ and then choosing sbt. In VSCode, this looks like this:
5150
51+ ![ bsp-switch] ( https://user-images.githubusercontent.com/777748/241986423-0724ae74-0ebd-42ef-a1b7-4d17678992b4.png ) 
5252
5353### IntelliJ  
5454
0 commit comments