Skip to content
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

Support for Python SDKs #43

Open
alecthomas opened this issue Mar 27, 2022 · 2 comments
Open

Support for Python SDKs #43

alecthomas opened this issue Mar 27, 2022 · 2 comments

Comments

@alecthomas
Copy link

Similar to how we support the JDK and Go, it might be good to add native support for Python now that we have stable packages for it.

@Ubehebe
Copy link

Ubehebe commented Mar 29, 2022

Happy Hermit user here -- I just ran into this too. I'd like to learn more about IntelliJ plugin development -- is this something I could reasonably do in a day or two?

@jvmakine
Copy link
Collaborator

@Ubehebe All contributions would be highly appreciated! 😄

I think it should be doable in a couple of days. Every language plugin in IntelliJ seems to handle their SDKs slightly differently, so you would have to see how the Python plugin manages its SDKs. But once that is done, you should be able to use our GoSDK and JDK updates as a template to add it to the plugin.

Basically, you will need a conditional config block like this: https://github.com/cashapp/hermit-ij-plugin/blob/main/src/main/resources/META-INF/plugin.xml#L52 That only gets loaded if the python plugin is present, and then you can add a Python specific handler to Hermit property changes like this: https://github.com/cashapp/hermit-ij-plugin/blob/main/src/main/resources/META-INF/goland.xml#L7

Happy to help if you have any questions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants