-
-
Notifications
You must be signed in to change notification settings - Fork 583
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
Remove Bloop from Project File List #1901
base: master
Are you sure you want to change the base?
Conversation
I haven't used Bloop, so I'm not sure what's the best course of action here. I see it was introduced 5 years ago in Projectile (see #1405). I'm guessing one way to solve this would be to look for both SBT and bloop markers together (if there's also some project-specific Bloop configuration).
Thanks for the kind words! 🙇 |
Alright, I'll look into how to do that, do you know off-hand of any project configs that currently do this? Or will it need to be a new feature? Also, I'm not sure about why those tests are failing, is that maybe something else that's in Master unrelated to my change? |
I've run into this before too, as someone who works on sbt/mill projects it makes sense to remove to me as I'd prefer to have those projects recognised as sbt/mill anyway (a small caveat is that projectile appears to support all project types mentioned at https://scalacenter.github.io/bloop/ except In terms of adding bloop project markers to sbt and friends, I'm not sure it would add much value? That a project is sbt/mill if and only if the project root contains If the bloop project type would be removed, I think the main (breaking?) change would be that sbt/mill projects start being recognised as (projectile-update-project-type
'sbt
:compile "bloop compile root") A possible alternate fix where the |
@LaurenceWarne I'm fine with whatever you suggest on the topic. |
I asked on the bloop discord channel, and it sounds like That way I think we don't have a breaking change, and it should hopefully fix your issue. Though as mentioned before I think there is a good argument for removing the project type completely - but runs the risk of breaking someone somwehere's workflow 😅 (https://xkcd.com/1172/). |
Yeah happy to switch it to that, thanks for helping resolve this |
Bloop file is always present in Home Directory
Hey Bbatsov, love all of your work. I was having an issue with my home directory being indexed on multiple computers, and I couldn't figure out why until I manually went through and checked against all of the
projectile-project-root-files
, since I checked against the obvious suspects and couldn't find it.Anyway, the culprit was a
.bloop
directory in my home directory, so I checked on why this was there. According to the Bloop documentation, this is where the bloop server places its config by default.This was the most obvious solution to me, which is to remove this by default, since mill and sbt projects are already covered.
Before submitting a PR make sure the following things have been done (and denote this
by checking the relevant checkboxes):
eldev test
)M-x checkdoc
warningsThanks!