How to disable Properties key reference for PsiLiteralExpession?
I have implemented a new PsiReferenceProvider for PsiLiteralExpession, but when I invoke code hint for PsiLiteralExpession, code hint for properties key can be also displayed, how to disable properties key reference, and only custom reference should be invoked. Thanks.
Please sign in to leave a comment.
Hello linux_china,
Make your PsiReferences non-soft.
Out of curiosity, what kind of references are you providing?
-tt
I have implemented an iBATIS plugin, and I want to implement code hint for sqlmapClient.insert(""), just like hibernate.
Hello linux_china,
Nice. IBATIS beats regular JDBC bigtime, although the JDBC templates are
getting quite good as well.
Woule be even better if there was an injectable SQL language implementation
available.
Btw, it looks like the hibernate support uses a nice API for references injection:
com.intellij.patterns.impl (Unfortunately not part of OpenAPI)
-tt