5 ms·
> Discovered it’s kind of pain in the ass to get a gui based editor like Intellij to work correctly, especially within a VM. Depending on your use-case, that's
by mdaniel 2y ago
> Discovered it’s kind of pain in the ass to get a gui based editor like Intellij to work correctly, especially within a VM.
Depending on your use-case, that's what their Gateway product <https://www.jetbrains.com/remote-development/gateway/ https://www.jetbrains.com/remote-development/gateway/> is designed to solve: it runs (effectively) headless IJ in the VM, so indexing and analysis happens there, and then streams the GUI part over a custom protocol to your local IJ to handle the time-sensitive GUI bits
Currently, to the best of my knowledge, they actually do require ssh, so it won't work over AWS SSM nor kubectl exec or similar, but I have high hopes they're going to fix that glaring bug Any Minute Now ™
see also:
- https://www.jetbrains.com/help/idea/remote.html https://www.jetbrains.com/help/idea/remote.html
- https://jetbrains.github.io/projector-client/mkdocs/latest/ij_user_guide/jetbrains/#use-cases https://jetbrains.github.io/projector-client/mkdocs/latest/i...
- https://github.com/JetBrains/projector-docker#run-jetbrains-ide-in-docker https://github.com/JetBrains/projector-docker#run-jetbrains-...
- xyst 2y agoBut I still need to have the gui app installed correctly with opengl/hardware acceleration enabled , right? My problem isn’t with inconsistent development environments. I have trouble spinning up the IntelliJ ide locally. Thus the need for something more lightweight. Also I have used this in the past and the experience wasn’t the greatest. Tried with a dev server with gateway hosted within intranet. Used an m1 Mac as thin client. Issues with syncing state of client. Significant input lag in a large project. I remember trying to refactor a method in a 500K+ LoC and the UI would hang. Syncing plugins was also an issue at the time. I suspect these issues would likely be exacerbated over internet with tailscale