Skip to content

Commit c4b0be0

Browse files
committed
Merge branch 'main' into eap
2 parents b7a1009 + d416273 commit c4b0be0

File tree

6 files changed

+29
-666
lines changed

6 files changed

+29
-666
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105

106106
# Run Qodana inspections
107107
- name: Qodana - Code Inspection
108-
uses: JetBrains/qodana-action@v2022.3.2
108+
uses: JetBrains/qodana-action@v2022.3.3
109109

110110
# Prepare plugin archive content for creating artifact
111111
- name: Prepare Plugin Artifact

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
## Unreleased
66

7+
### Fixed
8+
- terminal link is now correct when host ends in `/`
9+
710
## 2.1.6-eap.0 - 2023-02-02
811

912
### Fixed

LICENSE

Lines changed: 20 additions & 661 deletions
Large diffs are not rendered by default.

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins {
99
// Groovy support
1010
id("groovy")
1111
// Kotlin support
12-
id("org.jetbrains.kotlin.jvm") version "1.7.22"
12+
id("org.jetbrains.kotlin.jvm") version "1.8.10"
1313
// Gradle IntelliJ Plugin
1414
id("org.jetbrains.intellij") version "1.10.1"
1515
// Gradle Changelog Plugin
@@ -33,7 +33,7 @@ dependencies {
3333
exclude("org.slf4j")
3434
}
3535

36-
testImplementation(platform("org.apache.groovy:groovy-bom:4.0.8"))
36+
testImplementation(platform("org.apache.groovy:groovy-bom:4.0.9"))
3737
testImplementation("org.apache.groovy:groovy")
3838
testImplementation(platform("org.spockframework:spock-bom:2.3-groovy-4.0"))
3939
testImplementation("org.spockframework:spock-core")

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
pluginGroup=com.coder.gateway
44
pluginName=coder-gateway
55
# SemVer format -> https://semver.org
6-
pluginVersion=2.1.6-eap.0
6+
pluginVersion=2.1.7-eap.0
77
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
88
# for insight into build numbers and IntelliJ Platform versions.
99
pluginSinceBuild=223.7571.70

src/main/kotlin/com/coder/gateway/views/steps/CoderLocateRemoteProjectStepView.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import com.coder.gateway.models.WorkspaceAgentModel
77
import com.coder.gateway.sdk.Arch
88
import com.coder.gateway.sdk.CoderRestClientService
99
import com.coder.gateway.sdk.OS
10+
import com.coder.gateway.sdk.withPath
1011
import com.coder.gateway.toWorkspaceParams
1112
import com.coder.gateway.views.LazyBrowserLink
1213
import com.coder.gateway.withProjectPath
@@ -134,7 +135,7 @@ class CoderLocateRemoteProjectStepView(private val disableNextAction: () -> Unit
134135

135136
tfProject.text = if (selectedWorkspace.homeDirectory.isNullOrBlank()) "/home" else selectedWorkspace.homeDirectory
136137
titleLabel.text = CoderGatewayBundle.message("gateway.connector.view.coder.remoteproject.choose.text", selectedWorkspace.name)
137-
terminalLink.url = "${coderClient.coderURL}/@${coderClient.me.username}/${selectedWorkspace.name}/terminal"
138+
terminalLink.url = coderClient.coderURL.withPath("/@${coderClient.me.username}/${selectedWorkspace.name}/terminal").toString()
138139

139140
ideResolvingJob = cs.launch {
140141
try {

0 commit comments

Comments
 (0)