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 700f66e commit e5d7625Copy full SHA for e5d7625
src/main/kotlin/com/emberjs/hbs/HbsLocalCompletion.kt
@@ -111,7 +111,7 @@ class HbsLocalCompletion : CompletionProvider<CompletionParameters>() {
111
resolve(anything.reference?.resolve(), result)
112
}
113
114
- if (anything is PsiElement && anything.reference == null) {
+ if (anything is PsiElement && anything.reference == null && anything.containingFile.viewProvider is GtsFileViewProvider) {
115
val ref = anything.containingFile.originalFile.findReferenceAt(anything.textOffset)
116
resolve((ref as? HbsLocalReference)?.resolveYield(), result)
117
resolve(ref?.resolve(), result)
0 commit comments