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

Gradle rebuilds everytime project is reopened #219

Open
iancowan-8451 opened this issue Aug 26, 2022 · 2 comments
Open

Gradle rebuilds everytime project is reopened #219

iancowan-8451 opened this issue Aug 26, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@iancowan-8451
Copy link

iancowan-8451 commented Aug 26, 2022

Every time I open a Gradle project everything rebuilds from scratch and this takes about 10-15 minutes for the project (a long amount of time to wait to start working and yes it's a fairly large project). Is there any way to tell coc-java to cache items that have not changed so it doesn't rebuild from scratch everytime?

I actually went back and re-opened it a few times and now it's only taking 2-3 minutes, so does that mean it is caching? Is there any way to make it any faster?

Edit: It also looks like when I save a file, it caches but when I reopen none of the linting works, and nothing rebuilds. Any ideas on this?

@chemzqm chemzqm added the enhancement New feature or request label Aug 27, 2022
@chemzqm
Copy link
Member

chemzqm commented Jan 29, 2023

From coc-java 1.14.0, you can use :CocCommand java.show.server.task.status to check the task status.

@chemzqm
Copy link
Member

chemzqm commented Jan 29, 2023

The build is performed by jdt.ls, configurations starts with java.import.gradle might helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants