-
-
Notifications
You must be signed in to change notification settings - Fork 416
Closed
Description
This is a proposal, and if agreed, road map to make BSP 1st class citizen of Mill.
Why?
From an Intellij user perspective the current default way of importing a Mill project in our IDE is to run mill mill.scalalib.GenIdea/idea
and then open the generated project.
That is very much the way SBT started to get into Idea and then benefited of an official support from the Intellij Scala plugin.
Now it seems SBT is going down the path of using BSP exclusively.
The current limitations with this approche are:
- The user needs to first run a mill command to generate the Idea project
- Does not work for other IDEs than Intellij
- The Intellij support burden is on mill's side
How?
List of things that needs to happen before we could even consider this proposal:
- Support cross compiled modules BSP: Not really working when used with
Cross
andCrossScalaModule
#864 - Fix cross compiled modules in Idea BSP: Fix cross modules JetBrains/intellij-scala#534 SCL-17551
- Fix compile and clean BSP: Compile not working #893
- Automatically import Mill projects in Idea (no need to run a mill command first) Automatically import Mill project with BSP JetBrains/intellij-scala#536
- Support for
$file
imports BSP: Import build related deps for IDE support in build.sc files #863 - Move from contrib to scalalib so that there is no need to add
import $ivy.com.lihaoyi::mill-contrib-bsp:$MILL_VERSION
- Any other features
GenIdea
not supported by BSP? (Please comment with your points)
Thanks
olafurpg, DamianReeves, ckipp01, jastice, sequencer and 11 moresake92, Voltir and atty303
Metadata
Metadata
Assignees
Labels
No labels