Is there a way to configure Python module automatically on import from gradle?
Answered
Is there a way to configure Python module automatically on import from gradle?
Please sign in to leave a comment.
Not yet, please vote for https://youtrack.jetbrains.com/issue/IDEA-164082.
It this yet supported? Are there any updates? Any new threads that are relevant? Any workarounds? Currently the best workaround I have is to manually add the python facet to the module in the Project Structure window. But this gets reset after every single Gradle import, so I have to redo it constantly.
Mjgroth It is still not supported. But as far as I know, the original issue seems only to apply to the import of the Gradle project for the first time.
If you configure the Python facet in Gradle, reimporting the same project or loading the new change of Gradle won't reset it. So in general you don't need to read the Python facet constantly.
Do you see the reset problem even if you are just reimporting the Gradle in a project?
Lejia Chen
Thanks for your clarification. My experience does not match the expectation you have, so I submitted an issue on youtrack