-
Notifications
You must be signed in to change notification settings - Fork 91
feat: add getImportClassContent method to collect import class info #907
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
Conversation
jdtls.ext/com.microsoft.jdtls.ext.core/src/com/microsoft/jdtls/ext/core/ProjectCommand.java
Outdated
Show resolved
Hide resolved
jdtls.ext/com.microsoft.jdtls.ext.core/src/com/microsoft/jdtls/ext/core/ProjectCommand.java
Show resolved
Hide resolved
|
LGTM based on the test result you pasted. |
testforstephen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good start to enable the exp first.
There are more cases to cover for the import, we can optimize them later. for example, In Java, all classes in the same package can access each other by default without explicit imports. Also can support the method with package visible or protected modifier.
|
Thanks @testforstephen for your suggestion, will update the logic for better user experiment. This PR will be merged after the stable release of the Java mod change. |
6baf10b
Testing against some popular java repo
jbang
Mixin
Velocity
java deps cost - execute java command time cost
pack cost - execute context provider to collect and return context whole time cost