can support both PsiElEment and PyFunction

已回答

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.

0

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 

0

Okay, thank you. I'll take a closer look at the document first to resolve it 

 

0

bulid.gradle

plugins {
    id 'org.jetbrains.intellij' version '1.17.4'
}
intellij {
    version.set("2024.1.1")
    type.set("IC")
    plugins.set(['java','com.intellij.python'])
}

error ; org.gradle.tooling.BuildException: Cannot find builtin plugin 'com.intellij.python' for IDE: D:\envi\gradle-rep\caches\modules-2\files-2.1\com.jetbrains.intellij.idea\ideaIC\2024.1.1\610065d2e218939d0671358b7be2dd8509c64758\ideaIC-2024.1.1
    

Why is this a problem? If only Java has no problem, then with Python, that's it

 

0

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 

0

请先登录再写评论。