-
Notifications
You must be signed in to change notification settings - Fork 304
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
VSCode Extension - Source Roots don't work in VSCode extension #598
Comments
Thank you for the bugreport! I've tried to reproduce the problem on my side, but without any success, works fine for me. Please provide the following info so I can use a setup similar to yours:
If possible, please provide a sample multi-root workspace which reproduces the problem (you can replace the actual code by just placeholder classes). I assume the problem is caused by an unexpected sources/workspace layout. Are the source roots configured correctly for just one folder opened (no multi-root)? |
I've already tried to open one of the folders in the workspace on its own, but that didn't change anything. Then I moved the code into a subfolder and it stopped working. So this should be the problem. |
Thank you for the test code! I'm now able to reproduce the problem. Obviously the solution is to open the actual project folder directly containing I'll try to improve the current implementation to find the source roots in nested folders to be consistent with the VS Code Java support. |
Thanks! Yeah |
Fixed in master. |
It's a multi-root workspace fwiw. And the
Java: List All Java Source Paths
command lists all paths properly.Yet it only calls VisualVM with the jdk root:
Any hints at how to find out what's wrong?
The text was updated successfully, but these errors were encountered: