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

Working directory is incorrect when testing via IntelliJ #4

Open
olafurpg opened this issue Dec 19, 2019 · 0 comments
Open

Working directory is incorrect when testing via IntelliJ #4

olafurpg opened this issue Dec 19, 2019 · 0 comments

Comments

@olafurpg
Copy link
Owner

Reproduce: https://github.com/olafurpg/intellij-bsp-pants/tree/working-directory

Run

./setup-bsp.sh
cd ../intellji-bsp/src/src

Testing with Bloop in terminal

Works as expected with fix from scalameta/metals#1209 (requires changing the version of metals in setup-bsp.sh)

bloop test src/test/scala/foo:foo
Compiling src/test/scala/foo:foo (1 Scala source)
Compiled src/test/scala/foo:foo (255ms)
MySuite:
Working directory: /Users/lgeirsson/dev/intellij-bsp-pants

Testing with IntelliJ via BSP project

Screenshot 2019-12-19 at 17 33 52

It may be that we need to add more information to the BSP spec in order to fix this issue 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant