Skip to content

Commit 4a08030

Browse files
authored
Update getting started docs. (#22905)
Getting started now includes correct commands used to setup working on bootstrapped projects
1 parent d0e9062 commit 4a08030

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Diff for: docs/_docs/contributing/setting-up-your-ide.md

+9-1
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)