-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
I have icons for Coder, VSCode, SSH, etc...
But what I really want is an icon for Jetbrains Gateway.
It looks like we can define the coder_app resource.
resource "coder_app" "intellij" {
agent_id = coder_agent.dev.id
icon = "${data.coder_workspace.me.access_url}/icon/intellij.svg"
slug = "intellij"
display_name = "JetBrains IntelliJ"
command = "projector run"
}What I am less clear on is how to use the Jetbrains-Gateway registered protocol to auto-launch the Gateway client for this workspace.
Per the documentation, a Gateway Link can be used to auto-launch the local application and should look something like this URL, with the query deconstructed for readability.
jetbrains-gateway://${data.coder_workspace.me.access_url}#
idePath={PathToIDEBinaryInWorkspace}
&projectPath={PathToWorkspaceProjectFolder}
&host={CoderServerHost}
&port=22
&user=coder
&type=ssh
&deploy=false
I have been unable to find much documentation on the jetbrains-gateway protocol and I'm thinking we may need to set the type to reference the coder plugin?
MrPeacockNLB, sharkymark and matifali
Metadata
Metadata
Assignees
Labels
No labels