vscode-lean4 icon indicating copy to clipboard operation
vscode-lean4 copied to clipboard

RFC: GUI button to download cache for a specific file

Open YaelDillies opened this issue 1 year ago • 3 comments
trafficstars

Proposal

Oftentimes I want to work on a rather low-level file X. lake exe cache get would download me way too many files and take too long, but typing lake exe cache get Mathlib/X.lean (where X is a long file path) is also quite unergonomic.

I suggest we add a pretty visible button on the file window to download cache for the file currently in focus.

Community Feedback

Zulip

Impact

Add :+1: to issues you consider important. If others benefit from the changes in this proposal being added, please ask them to add :+1: to it.

YaelDillies avatar Mar 20 '24 08:03 YaelDillies

If there's a file in focus that doesn't have its current olean up to date, I assume there will be work happening in the background. Won't the background job conflict with what the user tries to do when summoning cache? Or was this issue resolved?

arthurpaulino avatar Mar 20 '24 11:03 arthurpaulino

oleans now get rebuilt only if the user explicitly asks for it. Does this answer your question?

YaelDillies avatar Mar 20 '24 11:03 YaelDillies

Yeap, thanks!

arthurpaulino avatar Mar 20 '24 11:03 arthurpaulino

🏓 This feature would save me 10-15min a day, so I really want it.

YaelDillies avatar Jul 19 '24 06:07 YaelDillies