vlang / v-analyzer

The @vlang language server, for all your editing needs like go-to-definition, code completion, type hints, and more.
MIT License
92 stars 10 forks source link

fix: store metadata stubs in cache instead of config dir #58

Closed ttytm closed 5 months ago

ttytm commented 5 months ago

Currently, storing the metadata stubs also in the config dir will require removing this metadata dir. Just removing the cache directory when making changes to the metadata is not sufficient. This is a manual step a user should not be required to do.

For example, also during development I ran into the issue of not being able to reproduce the test failure in #53; just removing the cache directory was not enough. This PR should solve the mentioned problems. The metadata directory is < 50KB.

The changes synergize with version aware caching in #57