Zulip Chat Archive

Stream: new members

Topic: my vscode always rebuild mathlib


cybcat (Sep 06 2023 at 16:16):

Hi everyone. I installed lean4 several days ago. When I first used it to prove theorems, vscode build mathlib for a long time. But when I use lean4 today my vscode rebuilt mathlib. How can I avoid this for it is too slow to build.
I tried lake exe cache get but this didn't make anything better.

Kevin Buzzard (Sep 06 2023 at 16:21):

lake exe cache get is the right answer, followed by lake build. If this doesn't work you'll need to give us more details.

Shreyas Srinivas (Sep 16 2023 at 22:05):

Close vscode (pkill everything vscode if required) run cache, let it finish, and then open the project.


Last updated: Dec 20 2023 at 11:08 UTC