-
Notifications
You must be signed in to change notification settings - Fork 663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: how to pre install JetBrains editors into VM / container image so that it doesn't have to download every time #13207
Comments
@bpmct AFAIR, Those templates were using the now deprecated JetBrains projector. Additionally, the download happens only on the first connection to a workspace; all subsequent connections should be instant, given they are pinning the IDE versions and the workspace directory is persisted across restarts. |
@roshvin This package is JetBrainsClient. It's being downloaded to the client machine and not the workspace. I am currently unable to reproduce this. For me, this gets downloaded only the first time or if a newer version is available. It's being handled by Gateway automatically. |
Yeah the backend should only be downloaded once per workspace and the client only once per client machine, if not then there could be a bug but I just tried and have not been able to reproduce as of yet. The backend can be pre-installed anywhere, you just have to register it (basically it just creates a symlink in the right spot, you could probably do this manually too). For example, suppose you download and extract the editor to
https://www.jetbrains.com/help/idea/remote-development-a.html#register_backend_IDE I am not sure where the client goes though. |
Also, if you ever want to check what is registered with Gateway without having to launch Gateway, I am not sure there is a better way but this does the trick for me (note the hash might be different for others): $ ~/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56 installed-ides | jq '.data[] | fromjson | .idePath'
"/home/coder/.cache/JetBrains/RemoteDev/dist/5bffcb8389003_PhpStorm-241.15989.66"
"/home/coder/.cache/JetBrains/RemoteDev/dist/CL-233.14475.31"
"/home/coder/.cache/JetBrains/RemoteDev/dist/CL-241.14494.229"
"/home/coder/.cache/JetBrains/RemoteDev/dist/GO-233.14808.20"
"/home/coder/.cache/JetBrains/RemoteDev/dist/IU-233.15026.9"
"/home/coder/.cache/JetBrains/RemoteDev/dist/IU-241.15989.69" |
@bpmct can we close this? I think this was resolved. |
Have we documented it somewhere? |
I don't see any. Adding it to my list.
|
We talk about it a bit here: https://coder.com/docs/ides/gateway#using-an-existing-jetbrains-installation-in-the-workspace But nothing about how to install it, only how to register it once it is already installed. |
@code-asher Thank you. I think the best place to document how to pre-download it can go along with that, too. Do you agree @bpmct? |
Installing a JetBrains IDE can be slow. I believe sharkymark has some v2 templates with IntellIJ pre installed. Can we formalize these docs?
The text was updated successfully, but these errors were encountered: