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

setup-ide ignoring --bsp-directory #2794

Open
JD557 opened this issue Mar 12, 2024 · 0 comments
Open

setup-ide ignoring --bsp-directory #2794

JD557 opened this issue Mar 12, 2024 · 0 comments
Labels
bsp Issues tied to the implementation of BSP (Build Server Protocol) bug Something isn't working IDE

Comments

@JD557
Copy link
Contributor

JD557 commented Mar 12, 2024

Version(s)
1.2.0

Describe the bug

When scala-cli setup-ide fails with:

[error]  scala-cli can not determine where to write its BSP configuration.
Set an explicit BSP directory path via `--bsp-directory`.

Calling it with --bsp-directory doesn't appear to do anything

To Reproduce

  • Create a test.sc script on /tmp/ (for some reason, this seems to make setup-ide fail)
  • Call scala.cli setup-ide test.sc
  • Follow the recommendation to use --bsp-directory and call scala.cli setup-ide --bsp-directory .bsp test.sc

Expected behaviour

The command should run. Instead, it keeps recommending one to use --bsp-directory.

@JD557 JD557 added the bug Something isn't working label Mar 12, 2024
@Gedochao Gedochao added IDE bsp Issues tied to the implementation of BSP (Build Server Protocol) labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bsp Issues tied to the implementation of BSP (Build Server Protocol) bug Something isn't working IDE
Projects
None yet
Development

No branches or pull requests

2 participants