BSP support
note
If you come across problems with importing a BSP project, check whether you have the latest version of the sbt, Bloop, or Mill server downloaded.
Thanks for your feedback!
The Build Server Protocol (BSP) defines a standard way for the build tool such as sbt or Mill to interact with IDEs, letting you import your project, run compilation and other tasks, get error messages and progress updates directly in the IDE.
The Scala plugin for IntelliJ IDEA supports BSP as a client.
On the welcome screen, press CtrlShift0A and search for the Project from Existing Sources action.
Alternatively, go to File | New | Project from Existing Sources in the main menu.
note
If you already have an existing sbt project, you can follow the same procedure to convert your project to a BSP one.
In the dialog that opens, select a directory that contains your sbt project.
On the page that opens, select the BSP option and click Next.
Click Finish.
IntelliJ IDEA opens the project, configures the BSP server, and loads all the necessary dependencies. The BSP tool window displays the imported project and its dependencies.
On the status bar there is the BSP Connection icon that you can click and disable the connection either just one project or for all BSP connections.
note
If you come across problems with importing a BSP project, check whether you have the latest version of the sbt, Bloop, or Mill server downloaded.
Thanks for your feedback!
Our website uses some cookies and records your IP address for the purposes of accessibility, security, and managing your access to the telecommunication network. You can disable data collection and cookies by changing your browser settings, but it may affect how this website functions. Learn more.
With your consent, JetBrains may also use cookies and your IP address to collect individual statistics and provide you with personalized offers and ads subject to the Privacy Notice and the Terms of Use. JetBrains may use third-party services for this purpose. You can adjust or withdraw your consent at any time by visiting the Opt-Out page.