File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
src/main/kotlin/com/emberjs/utils Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import com.intellij.application.options.CodeStyle
25
25
import com.intellij.framework.detection.impl.FrameworkDetectionManager
26
26
import com.intellij.injected.editor.VirtualFileWindow
27
27
import com.intellij.lang.Language
28
+ import com.intellij.lang.ecmascript6.psi.ES6ExportDefaultAssignment
28
29
import com.intellij.lang.ecmascript6.psi.ES6ExportSpecifierAlias
29
30
import com.intellij.lang.ecmascript6.psi.ES6ImportExportDeclaration
30
31
import com.intellij.lang.ecmascript6.psi.ES6ImportSpecifier
@@ -347,6 +348,10 @@ class EmberUtils {
347
348
return followReferences(element.parent.reference?.resolve())
348
349
}
349
350
351
+ if (element is ES6ExportDefaultAssignment ) {
352
+ return element.namedElement
353
+ }
354
+
350
355
if (element is ES6ImportedBinding ) {
351
356
val res = element.multiResolve(true ).firstOrNull()
352
357
if (res != null && res.element != null ) {
You can’t perform that action at this time.
0 commit comments