Skip to content

Commit

Permalink
Rider 2023.2 support (#88)
Browse files Browse the repository at this point in the history
* Rider 2023.2 support

* Overload instead

* Changelog

* CR

* Tests
  • Loading branch information
infiniteregrets authored Aug 18, 2023
1 parent 33defc2 commit 4e61ccd
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/+rider.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add support for Rider 2023.2
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package com.metalbear.mirrord.products.rider

import com.intellij.execution.RunManager
import com.intellij.execution.configurations.GeneralCommandLine
import com.intellij.execution.process.ProcessInfo
import com.intellij.execution.process.ProcessListener
import com.intellij.execution.target.createEnvironmentRequest
import com.intellij.execution.wsl.target.WslTargetEnvironmentRequest
Expand Down Expand Up @@ -48,6 +49,15 @@ class RiderPatchCommandLineExtension : PatchCommandLineExtension {
return resolvedPromise(workerRunInfo)
}

fun patchDebugCommandLine(
lifetime: Lifetime,
workerRunInfo: WorkerRunInfo,
processInfo: ProcessInfo?,
project: Project
): Promise<WorkerRunInfo> {
return patchDebugCommandLine(lifetime, workerRunInfo, project)
}

override fun patchRunCommandLine(
commandLine: GeneralCommandLine,
dotNetRuntime: DotNetRuntime,
Expand Down
4 changes: 2 additions & 2 deletions src/test/kotlin/com/metalbear/mirrord/MirrordPluginTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@ internal class MirrordPluginTest {
// wait for the progress bar to disappear - poetry is set up
try {
val progressIcon = progressIcon
waitFor(ofSeconds(30)) {
waitFor(ofSeconds(120)) {
!progressIcon.isShowing
}
} catch (e: Exception) {
waitForProgressFinished(ofSeconds(60))
waitForProgressFinished(ofSeconds(120))
}
}
}
Expand Down
1 change: 1 addition & 0 deletions test-workspace/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4e61ccd

Please sign in to comment.