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

Avoid running document lifecycle in a workspace runnable unless it is necessary #2641

Merged

Conversation

testforstephen
Copy link
Contributor

This is a follow-up of #2637 (comment). When the operation doesn't update the resource tree, don't need a workspace runnable.

When initializing an unmanaged folder or a single external file, we can still wrap it in a workspace runnable since they need to modify the default project or the invisible project. For other operations, don't need to run them in workspace runnable.

@testforstephen testforstephen merged commit daa965d into eclipse-jdtls:master May 9, 2023
6 checks passed
@testforstephen testforstephen deleted the jinbo_lifecycle branch May 9, 2023 07:53
@testforstephen testforstephen added this to the End May 2023 milestone May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants