buildship icon indicating copy to clipboard operation
buildship copied to clipboard

Cache tasks view content

Open donat opened this issue 4 years ago • 2 comments

Currently, when the IDE is starting up, the Tasks view needs to query its content from Gradle. For large projects it can be unbearable. Buildship should cache the content and request a refresh only when the user asks for it.

donat avatar Sep 10 '20 15:09 donat

This new feature is very important for us, especially When I have many tasks.

forgetmetoo avatar Sep 27 '20 01:09 forgetmetoo

With the current behavior I'd rather not have the tasks view at all (I don't use it anyway). But it keeps getting opened no matter how many times I close the view. Refreshing the tasks often triggers dependency downloads (or at least checks, even with org.gradle.cache.cleanup=false) which is problematic with my metered Internet connection. After exceeding the 15GB/month quota everything is greatly throttled, meaning the tasks view refresh can take an hour or more to complete.

sstock avatar Jan 25 '22 20:01 sstock

Or at least make it "non-blocking". Currently if you (accidentally, because you need to or because it randomly decides to) open the tasks view Eclipse will be almost unusable until it finishes (User operation is waiting for "Loading tasks for all Gradle projects" to complete), which may be several minutes with a few non-trivial projects, which makes it very frustrating.

altrisi avatar Mar 05 '23 13:03 altrisi