astral-sh / rye

a Hassle-Free Python Experience
https://rye.astral.sh
MIT License
12.15k stars 427 forks source link

Plugin for Pycharm/IntelliJ #28

Open imbev opened 1 year ago

imbev commented 1 year ago

Integration with Pycharm and other Jetbrains IDEs can make usage of project management tools such as Rye more convenient.

I'd like to suggest the following features in an IntelliJ plugin:

Although I'm inexperienced with creating plugins for IntelliJ, I'd still like to contribute towards this. I've created a repository to serve as a starting point at https://github.com/imbev/rye-pycharm-plugin

koxudaxi commented 1 year ago

I have created the poetry plugin for PyCharm and the plugin was merged to PyCharm/IDEA mainstream.

PyCharm provides the internal API to create the plugin for third-party package managers.

@imbev I wanted to create the plugin for rye when I get time. You can learn how to implement it from the poetry plugin. The plugin needs some secrets to publish it to the store. So, I might create my repo :sweat_smile:

koxudaxi commented 1 year ago

I have created a rye plugin based on the integration of Poetry. https://github.com/koxudaxi/rye-pycharm-plugin

Now, the plugin can create only new projects. It's not practical at the moment, but we will be adding necessary features in the future. new_project

mcarans commented 3 months ago

@koxudaxi @imbev A Rye plugin for PyCharm is a welcome development. I've also created an issue in JetBrains issue tracker: https://youtrack.jetbrains.com/issue/PY-71520/Support-Rye-project-and-package-management