File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
kotlin/com/github/xepozz/testo/references Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 1+ package com.github.xepozz.testo.references
2+
3+ import com.github.xepozz.testo.isTesto
4+ import com.intellij.codeInsight.daemon.ImplicitUsageProvider
5+ import com.intellij.psi.PsiElement
6+
7+ class TestFunctionImplicitUsageProvider : ImplicitUsageProvider {
8+ override fun isImplicitUsage (element : PsiElement ) = element.isTesto()
9+
10+ override fun isImplicitRead (element : PsiElement ) = false
11+
12+ override fun isImplicitWrite (element : PsiElement ) = false
13+ }
Original file line number Diff line number Diff line change 2222
2323 <programRunner
2424 implementation =" com.github.xepozz.testo.tests.run.TestoDebugRunner" />
25-
25+ <implicitUsageProvider
26+ implementation =" com.github.xepozz.testo.references.TestFunctionImplicitUsageProvider" />
2627 </extensions >
2728
2829 <extensions defaultExtensionNs =" com.jetbrains.php" >
You can’t perform that action at this time.
0 commit comments