I am using a large environment that loads several packages. The language server takes several minutes (!!!) every time it loads Unitful from cache. The other packages go just fine!
[ Info: Done loading EasyFit from cache... (took 14.0s)
[ Info: Loading Unitful from cache...
[ Info: Done loading Unitful from cache... (took 460.0s)
...
[ Info: Loading DSP from cache... (3%)
[ Info: Done loading DSP from cache... (took 0.016s) (3%)
Consider deleting the cache file. It’s possible that it got corrupted somehow. If that doesn’t help, let me know what Julia/Unitful versions you’re seeing this on and I’ll try to repro the issue.
You need to delete /.config/Code/User/globalStorage/julialang.language-julia/symbolstorev5/U/Unitful_1986cc42-f94f-5a68-af5c-568840ba703d/ or something similar (not sure what OS you’re on).
Hmm, I don’t see why that would happen. Try deleting the whole cache ~/.config/Code/User/globalStorage/julialang.language-julia/symbolstorev5 (or maybe just move it into a different dir for now).
Edit: And if you have any more info that could be helpful, please post that in
Sorry for my slow responses, when during my working day it s usually complicated to restart the entire vscode session to test. I tried this morning, and deleted the symbolstorev5. It re-downloaded all the cache files, but we are in the same (or worse) situation:
[ Info: Done loading EasyFit from cache... (took 15.0s)
[ Info: Loading Unitful from cache...
[ Info: Done loading Unitful from cache... (took 670.0s)
I am now downloading Julia v1.12.6 and see if this is a fix