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

BSP: Handle new JvmCompileClasspath request #3086

Merged
merged 3 commits into from
Mar 17, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
.
lefou committed Mar 17, 2024
commit cbeaf30d2ee2c27ffd3fc89937991aab3cdc523a
2 changes: 1 addition & 1 deletion bsp/worker/src/mill/bsp/worker/MillBuildServer.scala
Original file line number Diff line number Diff line change
@@ -138,13 +138,13 @@ private class MillBuildServer(
capabilities.setDependencyModulesProvider(true)
capabilities.setDependencySourcesProvider(true)
capabilities.setInverseSourcesProvider(true)
capabilities.setJvmCompileClasspathProvider(enableJvmCompileClasspathProvider)
capabilities.setJvmRunEnvironmentProvider(true)
capabilities.setJvmTestEnvironmentProvider(true)
capabilities.setOutputPathsProvider(true)
capabilities.setResourcesProvider(true)
capabilities.setRunProvider(new RunProvider(supportedLangs))
capabilities.setTestProvider(new TestProvider(supportedLangs))
capabilities.setJvmCompileClasspathProvider(enableJvmCompileClasspathProvider)

// IJ is currently not able to handle files as source paths, only dirs
// TODO: Rumor has it, that newer version may handle it, so we need to better detect that