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 7c5f80c commit a85a01fCopy full SHA for a85a01f
src/main/kotlin/com/github/tempest/framework/console/run/ConsoleCommandLineMarkerProvider.kt
@@ -1,12 +1,14 @@
1
package com.github.tempest.framework.console.run
2
3
+import com.github.tempest.framework.php.getConsoleCommandName
4
import com.intellij.execution.lineMarker.RunLineMarkerContributor
5
import com.intellij.psi.PsiElement
6
import com.jetbrains.php.lang.psi.elements.Method
7
8
class ConsoleCommandLineMarkerProvider : RunLineMarkerContributor() {
9
override fun getInfo(element: PsiElement) = when {
10
element !is Method -> null
11
+ element.getConsoleCommandName() == null -> null
12
else -> Info(TempestRunTargetAction(element))
13
}
14
0 commit comments