How to access go project in remote vm as a go project in local goland editor ?
Answered
HI ,
I am looking for a way to open go project ( based on go module ) in a remote vm in goland editor of my local machine. I was able to browse the remote files but couldn't import the go module projects residing under folder go as shown below as go projects.
I see that VS Code has option to import remote folders as project , Is it possible / have the same provision in Goland ?
Any pointers much appreciated ? Thank you.
Please sign in to leave a comment.
Hi,
Currently, you can run and build your application on a remote machine: Docker, SSH, WSL2 are supported, please see the Run targets feature.
Anyway, project sources should be on your local machine. Does the way suit your needs?
If you can't download the sources to the local machine, please follow IDEA-226455 and see the current status.
Thank you It doesn't suit my needs, will look forward to IDEA-226455 completion. Any probable date when the feature would be available ? Q2 or Q3 2021
There is no timeline to implement the feature yet. Stay tuned.
B Ghali, can you please help us understand neither Projector nor having the sources local on your machine and use Run Targets does not fit your use case?
@... My problem is that I have like around >50 repos ( golang projects ) which i have already setup in my remote vm and I am trying to avoid repeating the process of setting up them in local.
Regarding run targets i am not looking for running them in local , rather only developing , push the changes to remote as it can't be run standalone and needs to be run as a container in docker-compose ( with vault setup etc ) which i can't do it in local. Thank you