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

Metals does not autodetect bleep builds. #7104

Open
KristianAN opened this issue Jan 10, 2025 · 2 comments
Open

Metals does not autodetect bleep builds. #7104

KristianAN opened this issue Jan 10, 2025 · 2 comments
Labels
bleep improvement Not a bug or a feature, but something general we can improve

Comments

@KristianAN
Copy link

Describe the bug

When opening a bleep project where bleep setup-ide has not been run metals tries to import the first Scala file you open as a scala-cli project. This is not desired behavior.

Expected behavior

When opening a bleep project where setup-ide bloop should run setup-ide before importing, or prompt the user if they want to run setup-ide.

Operating system

Linux

Editor/Extension

Nvim (nvim-metals)

Version of Metals

v1.4.2

Extra context or search terms

No response

@KristianAN
Copy link
Author

If this is something that is ok as a first issue I can give it a go contributing it once I finish up some other stuff in bloop with the SN integration.

@tgodzik
Copy link
Contributor

tgodzik commented Jan 10, 2025

If this is something that is ok as a first issue I can give it a go contributing it once I finish up some other stuff in bloop with the SN integration.

It should be totally ok, all the build tools are specified here https://github.com/scalameta/metals/tree/main/metals/src/main/scala/scala/meta/internal/builds

@tgodzik tgodzik added improvement Not a bug or a feature, but something general we can improve bleep labels Jan 10, 2025
@KristianAN KristianAN changed the title Bloop does not autodetect bleep builds. Metals does not autodetect bleep builds. Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bleep improvement Not a bug or a feature, but something general we can improve
Projects
None yet
Development

No branches or pull requests

2 participants