We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed4996d commit ba6efbdCopy full SHA for ba6efbd
src/main/kotlin/com/emberjs/hbs/HbsLocalCompletion.kt
@@ -111,6 +111,12 @@ class HbsLocalCompletion : CompletionProvider<CompletionParameters>() {
111
resolve(anything.reference?.resolve(), result)
112
}
113
114
+ if (anything is PsiElement && anything.reference == null) {
115
+ val ref = anything.containingFile.originalFile.findReferenceAt(anything.textOffset)
116
+ resolve((ref as HbsLocalReference?)?.resolveYield(), result)
117
+ resolve(ref?.resolve(), result)
118
+ }
119
+
120
if (refElement is HbParam) {
121
if (refElement.children.find { it is HbParam }?.text == "hash") {
122
val names = refElement.children.filter { it.elementType == HbTokenTypes.HASH }.map { it.children[0].text }
0 commit comments