-
Notifications
You must be signed in to change notification settings - Fork 408
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
Refresh with one depth when calling JDTUtils.getFileOrFolder() #1207
Conversation
Signed-off-by: Sheng Chen <[email protected]>
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 issue has big impact on the debug user, because the new package is not synced to jdt so that jdt builder will not generate .class for the Java files under the new package.
Looking forward this fix.
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.
Tests ?
04e174a
to
8551c84
Compare
Signed-off-by: Sheng Chen <[email protected]>
8551c84
to
879f82a
Compare
final int originalMemberNum = ((IFolder) parent).members().length; | ||
|
||
File newPackage = new File(project.getLocation().toString(), "/src/org/eclipse/testGetFileOrFolder"); | ||
newPackage.mkdirs(); |
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.
will the new package be cleaned up after the test done?
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.
test this please |
I tried locally, the newly added test will fail if the refresh depth is |
Thnanks @jdneo ! |
fix #1137
Signed-off-by: Sheng Chen [email protected]