Skip to content

Commit 5f2ce76

Browse files
rochalatgodzik
authored andcommitted
Update getting started docs. (scala#22905)
Getting started now includes correct commands used to setup working on bootstrapped projects [Cherry-picked 4a08030]
1 parent 1f9f1a0 commit 5f2ce76

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/_docs/contributing/setting-up-your-ide.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,15 @@ want to make sure you do two things:
4242
+ val enableBspAllProjects = true,
4343
```
4444

45-
2. Run `sbt publishLocal` to get the needed presentation compiler jars.
45+
2. Run in sbt shell `sbt> scala3-bootstrapped/compile` and then `sbt> scala3-bootstrapped/publishLocalBin`
46+
to get the required presentation compiler jars.
47+
48+
If any step fails due to random errors, try removing `./out/` directory and running `sbt> clean`
49+
50+
This step has to be repeated every time compiler version has been bumped.
51+
52+
53+
4654

4755
By default Metals uses Bloop build server, however you can also use sbt
4856
directly. You can achieve this with the `Metals: Switch Build Server` command

0 commit comments

Comments
 (0)