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

Get the project from the linked folder uri #1630

Merged
merged 1 commit into from
Dec 14, 2020

Conversation

jdneo
Copy link
Contributor

@jdneo jdneo commented Dec 11, 2020

Root cause is that the found container may be an IFolder(linked folder for invisible project) instead of an IJavaElement, then calling JavaCore.create() will get a null result

fix redhat-developer/vscode-java#1735

Signed-off-by: Sheng Chen sheche@microsoft.com

Signed-off-by: Sheng Chen <sheche@microsoft.com>
@jdneo
Copy link
Contributor Author

jdneo commented Dec 11, 2020

test this please

1 similar comment
@testforstephen
Copy link
Contributor

test this please

@testforstephen testforstephen added this to the Mid December 2020 milestone Dec 14, 2020
@testforstephen testforstephen merged commit a772f0c into eclipse-jdtls:master Dec 14, 2020
@jdneo jdneo deleted the cs/linked-uri branch December 15, 2020 01:51
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

Successfully merging this pull request may close these issues.

Open a Java file from unmanaged folder, the status bar didn't show language level info
2 participants