AdaCore / Ada-IntelliJ

Support for Ada and SPARK languages in IntelliJ IDEA
Apache License 2.0
21 stars 8 forks source link

Enabled caching targets of Ada PSI references #42

Closed raja-s closed 5 years ago

raja-s commented 5 years ago

IntelliJ IDEA seems to make a lot of repetitive calls to PsiReference#resolve() which resulted in a lot of unnecessary requests to the server. This PR enables caching reference targets so they can be read directly from cache as long as the PSI tree does not change.