can support both PsiElEment and PyFunction
Answered
Hello, currently in plugin development, PsiElement can only recognize Java's PsiMethod, and the corresponding Python PyFunction is still not supported. I want to extend the IDEA plugin to recognize multiple languages.
Please sign in to leave a comment.
Hi,
You should add a dependency on the Python plugin. See:
1.17.2 is outdated version of Gradle Plugin, please always use the latest one (1.17.4) or update to https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin.html if possible
Dependency on Java plugin must not use `java` as plugin ID, see https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html#java
Okay, thank you. I'll take a closer look at the document first to resolve it
bulid.gradle
Why is this a problem? If only Java has no problem, then with Python, that's it
You need to specify dependency on Python plugin using version that is compatible with the chosen IntelliJ IDEA Community distribution. Python support is not bundled in IntelliJ IDEA Community. https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html