Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save jastice/212227aa5fc29426aeea3b93280bcd8a to your computer and use it in GitHub Desktop.

Select an option

Save jastice/212227aa5fc29426aeea3b93280bcd8a to your computer and use it in GitHub Desktop.
Instructions to try the BSP IntelliJ-Bloop integration out.

Installation instructions

  1. Install bloop 1.0.0-M11 by following the Bloop installation instructions. Then, make sure you start up the bloop server on the background and to generate the configuration files by running bloopInstall on your build tool.
  2. Install IntelliJ EAP 2018.2 and then enable the nigthly version of the Scala Plugin. Instructions here and picture here: intellij-eap
  3. Reboot IntelliJ. After the Scala nightly is released, open a normal project in IntelliJ and look for the IntelliJ action "Enable bsp" (usually with Ctrl-Shift-A). The search box will show the full action name: "Enable experimental bsp support". Click on it.
  4. Close the project you're in and import the project. This time, when IntelliJ shows you the available options for the import, the bsp option will show up in the list. Proceed, IntelliJ will then load the project.

bloop-install

@manodupont
Copy link

Do we need to always bloopInstall for every new dependency ?!?

@Bunyod
Copy link

Bunyod commented Jun 28, 2019

IntelliJ does not run bloopInstall whenever it detects a change in sbt build files like Metals does.
https://scalacenter.github.io/bloop/docs/ides/intellij#manual-bloop-export-project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment