Skip to content

Cannot get children from user library node #196

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

Open
Vigilans opened this issue Oct 17, 2019 · 1 comment
Open

Cannot get children from user library node #196

Vigilans opened this issue Oct 17, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Vigilans
Copy link
Member

Related issue #174

After adding user library(CHECKSTYLE) in Eclipse:

image

The dependency viewer can show the container node, but not the jar files within it:
image

@Vigilans Vigilans added the bug Something isn't working label Oct 17, 2019
@Vigilans
Copy link
Member Author

Vigilans commented Oct 17, 2019

Cause of this behavior:

  • The preferences specified in Eclipse are stored in /{my-eclipse-workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings
  • The preferences used by language server are stored in the temporary workspace folder in workspaceStorage, as follows:
    image

So in fact, vscode-java cannot make use of another workspace's user library settings.

Maybe we should provide a way for a user to specify the user libraries used in workspace.

@Vigilans Vigilans self-assigned this Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant