Hi. My question about PsiReference. I try to use it in yaml file, and don't fully understand how it works. It works differently when i use it thought ReferenceInjector and when i use PsiReferenceContributor.
I prepared simple one class example here
Main question is
- key: A1
- key: A2
- key: A3
link: A4 # I want error here
When reference injected across ReferenceInjector reference A4 show error.
When reference injected across PsiReferenceContributor on A4 no errors.
How can I make automation reference injection that will show error on invalid links?