Madrapps / handlebars-support

IntelliJ IDEA plugin to support Go to Declaration and Auto completion for Handlebars (.hbs)

Home Page:https://plugins.jetbrains.com/plugin/11251-handlebars-support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resolve to proper PsiElement

thsaravana opened this issue · comments

Go through this first: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360001231359-Kotlin-FindUsages-not-working-for-Primary-constructor-for-custom-reference

As you can see, since we resolve to PsiField all the time, we are not fully connecting the Primary Constructor (KtParameter) with the HBS element. So resolve to proper PsiElement.

This should fix the FindUsage for parameters in Primary Constructor