Accessing Pycharm/IntelliJ Remote Interpreter/Deployment Settings Programatically

Answered

Hello. I am exploring writing a plugin that needs to be able to create remote interpreter/deployment configurations. I've ran through the plugin creation tutorial and explored the code looking for the classes I would need but have not been successful.

I used this post for direction on setting up my classpath properly: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000002050-Retrieve-Settings-Values-Programmatically. After following the guidance there I can see the classes JetBrains makes available.

Would someone be able to point me in the right direction?

5 comments
Comment actions Permalink

Kyle,

Sorry but I'm not sure what's your exact problem is. Can you please rephrase your question?

0
Comment actions Permalink

Thanks Jakub.

I would like to be able to add an SSH Interpreter programmatically to Pycharm via a plugin (screenshot below):

I would also like to be able to setup port forwarding for the SSH Interpreter so that a web application started at localhost on the remote server can be viewed on my local computer for testing.

My end goal is to be able to setup remote development environments programmatically and connect to them via Pycharm with the plugin doing the connection setup for users.

1
Comment actions Permalink

I am facing the exact same problem, but can't find any help online. TAT

0
Comment actions Permalink

Sorry this got lost. We currently do not have any open API for SSH functionality, so we can't offer ready-made solution.

0
Comment actions Permalink

Thank you for the follow-up Yann.

0

Please sign in to leave a comment.