-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
IntelliJ BSP does not mark out/
and .idea/
folders as excluded (500USD Bounty)
#3015
Comments
How have you checked? Isn't it the responsibility of IntelliJ IDEA to ignore folders itself manages like Is there some way to even tell a BSP client, to ignore some resources? In the end, BSP should be all about what to include in some search, as it explicitly is about sources and resources, and not what to exclude. I'm tempted to say, this isn't an issue in Mill at all. At least, nothing Mill could or should control. |
It's visible in the file tree. Excluded folders are red, e.g. We used to mark mill/idea/src/mill/idea/GenIdeaImpl.scala Lines 715 to 717 in 4a65cea
But I don't see that happening today using mill/idea/src/mill/idea/GenIdeaImpl.scala Lines 456 to 460 in 4a65cea
The
but in both cases when I run the BSP import marks I don't know which system is at fault here, and marking it excluded manually is not a huge hardship. But given we used to be able to make this work, and now it doesn't, I think having an issue here is reasonable |
Looks like there's been prior discussion on this w.r.t. IntelliJ/BSP/SBT, and it should be supported as of about 18 months ago. We might be able to use the same thing for Mill |
out/
and .idea/
folders as excluded out/
and .idea/
folders as excluded (500USD Bounty)
I will try to get it done |
@pawelsadlo we just ned to make sure navigation and jump to sources work in both the build files and application code. The exact layout of the intellij module metadata doesn't really matter |
Yeah, ideally, we would want to use the directory containing the |
From the maintainer Li Haoyi: I'm putting a 500USD bounty on this issue, payable by bank transfer on a merged PR implementing this.
This causes search and indexing to often waste large amounts of time digging through generated files in those folders when I really only care about the source code
Somehow
.bsp/
is marked as excluded but the other two aren'tThe text was updated successfully, but these errors were encountered: