Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@

## Unreleased

## 1.18.0 - 2024-05-21
- Updated plugin compatibility for IntelliJ 2025.1

## 1.17.0
- Support for IntelliJ 2024.1

## 1.12.0 - 2023-06-16
- Changelog update - `v1.11.0` by @github-actions in https://github.com/eirikb/AvaJavaScriptTestRunnerRunConfigurationGenerator/pull/107
- 108 plugin doesnt properly support tests with trailing spaces by @eirikb in https://github.com/eirikb/AvaJavaScriptTestRunnerRunConfigurationGenerator/pull/109
- Bump verifyIdeVersions and platformVersion by @eirikb in https://github.com/eirikb/AvaJavaScriptTestRunnerRunConfigurationGenerator/pull/110
- Changelog update - `v1.11.0` by @github-actions in https://github.com/eirikb/AvaJavaScriptTestRunnerRunConfigurationGenerator/pull/107
- 108 plugin doesnt properly support tests with trailing spaces by @eirikb in https://github.com/eirikb/AvaJavaScriptTestRunnerRunConfigurationGenerator/pull/109
- Bump verifyIdeVersions and platformVersion by @eirikb in https://github.com/eirikb/AvaJavaScriptTestRunnerRunConfigurationGenerator/pull/110
- Version bump by @eirikb in https://github.com/eirikb/AvaJavaScriptTestRunnerRunConfigurationGenerator/pull/111

## 1.11.0 - 2023-04-13
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html
pluginGroup=no.eirikb.avatest
pluginName=AvaJavaScriptTestRunnerRunConfigurationGenerator
pluginVersion=1.17.0
pluginVersion=1.18.0
pluginSinceBuild=233
pluginUntilBuild=243.*
pluginUntilBuild=251.*
# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
# See https://jb.gg/intellij-platform-builds-list for available build versions
pluginVerifierIdeVersions=2024.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import com.intellij.lang.javascript.psi.JSLiteralExpression
import com.intellij.notification.Notification
import com.intellij.notification.NotificationType
import com.intellij.notification.Notifications
import com.intellij.openapi.actionSystem.ActionUpdateThread
import com.intellij.openapi.actionSystem.AnAction
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.actionSystem.CommonDataKeys
Expand Down Expand Up @@ -58,6 +59,9 @@ fun getRunArguments(relPath: String, testName: String?): String {
}

class AvaJavaScriptTestRunnerRunConfigurationGenerator : AnAction() {
override fun getActionUpdateThread(): ActionUpdateThread {
return ActionUpdateThread.BGT
}
companion object {
fun performAction(e: AnActionEvent, debug: Boolean = false, offset: Int? = null) {
val project = e.project
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import com.intellij.icons.AllIcons.RunConfigurations.TestState
import com.intellij.lang.javascript.psi.JSCallExpression
import com.intellij.lang.javascript.psi.JSExpression
import com.intellij.lang.javascript.psi.JSLiteralExpression
import com.intellij.openapi.actionSystem.ActionUpdateThread
import com.intellij.openapi.actionSystem.AnAction
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.psi.PsiElement
Expand Down Expand Up @@ -56,4 +57,8 @@ class AvaRunContributor : RunLineMarkerContributor() {
}

abstract class RunAction(prefix: String, testName: String, icon: Icon) :
AnAction("$prefix '$testName'", "$prefix '$testName'", icon)
AnAction("$prefix '$testName'", "$prefix '$testName'", icon) {
override fun getActionUpdateThread(): ActionUpdateThread {
return ActionUpdateThread.BGT
}
}
Loading