Skip to content

Commit 74b7da1

Browse files
committed
Disable the debug actions for Saxon processors.
1 parent b518b70 commit 74b7da1

File tree

1 file changed

+1
-3
lines changed
  • src/plugin-saxon/main/uk/co/reecedunn/intellij/plugin/saxon/query/s9api

1 file changed

+1
-3
lines changed

src/plugin-saxon/main/uk/co/reecedunn/intellij/plugin/saxon/query/s9api/SaxonS9API.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616
package uk.co.reecedunn.intellij.plugin.saxon.query.s9api
1717

18-
import com.intellij.execution.executors.DefaultDebugExecutor
1918
import com.intellij.execution.executors.DefaultRunExecutor
2019
import com.intellij.lang.Language
2120
import com.intellij.navigation.ItemPresentation
@@ -59,9 +58,8 @@ object SaxonS9API : ItemPresentation, QueryProcessorApi {
5958
override fun canExecute(language: Language, executorId: String): Boolean {
6059
val run = executorId == DefaultRunExecutor.EXECUTOR_ID
6160
val profile = executorId == DefaultProfileExecutor.EXECUTOR_ID
62-
val debug = executorId == DefaultDebugExecutor.EXECUTOR_ID
6361
return when (language) {
64-
XQuery, XSLT -> run || profile || debug
62+
XQuery, XSLT -> run || profile
6563
XPath -> run
6664
else -> false
6765
}

0 commit comments

Comments
 (0)