Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use bsp 1.0.0 and implements its new methods #680

Merged
merged 3 commits into from
Oct 18, 2018
Merged

Conversation

jvican
Copy link
Contributor

@jvican jvican commented Oct 17, 2018

This pull request upgrades to 1.0.0 to implements its new methods, which we didn't implement because Intellij didn't implement us yet. However, as they start to be implemented in IntelliJ and other clients, we add the implementations so that the existing clients, like IntelliJ or Metals, can start benefiting from them.

We miss the following items to be fully implementing BSP 1.0.0:

  • buildTarget/test
  • buildTarget/run
  • buildTarget/scalaTestClasses
  • buildTarget/scalaMainClasses
  • Notifications on build target modification
  • Change of namespace to be compliant with 1.0.0

Alongside these missing items, I'd like to implement request buffering in bloop so that the clients can indiscriminately send request without taking into account whether they finished or not. I suspect this is not going to be easy.

I'm not sure yet how I'm going to organize my work to implement the missing entrypoints, but it's likely I will not do everything in this PR. I'm mostly trying to prioritize for the most important things.

The test suite tests the `utestJVM-test` test suite.
@jvican jvican added build server Any issue or pull request that has to do with hot compilers or BSP. task / test upgrade labels Oct 17, 2018
@jvican jvican changed the title Upgrade to bsp 1.0.0 and implements new BSP methods Upgrade to bsp 1.0.0 and implements its new methods Oct 17, 2018
@jvican jvican changed the title Upgrade to bsp 1.0.0 and implements its new methods Use bsp 1.0.0 and implements its new methods Oct 17, 2018
The implementation of run comes from `Interpreter.run` and is adapted
for the use of BSP.
@olafurpg
Copy link
Contributor

It would be great to implement texDocument/buildTargets if possible, I might be tempted to use that only instead of workspace/buildTargets

@jvican
Copy link
Contributor Author

jvican commented Oct 18, 2018

I think I'm merging this to keep master synced with the latest changes. I'll follow up on the rest of missing items in other PRs.

@jvican jvican merged commit f64a5b8 into master Oct 18, 2018
@tgodzik tgodzik deleted the topic/bsp-1.0.0 branch September 7, 2021 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build server Any issue or pull request that has to do with hot compilers or BSP. task / test upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants