com.intellij.tasks.ui.TaskDialogPanelProvider
In the latest version of IntelliJ I'm trying to build a plugin, but the plugin requires the class com.intellij.tasks.ui.TaskDialogPanelProvider which doesn't seem to be available in the latest version of IntelliJ and I don't see any information about it being removed.
Thanks
Please sign in to leave a comment.
It should be there (see https://github.com/JetBrains/intellij-community/blob/master/plugins/tasks/tasks-api/src/com/intellij/tasks/ui/TaskDialogPanelProvider.java)
Which IDE build do you use to compile against?
https://github.com/rieonke/idea-git-flow/blob/develop/build.gradle
Might be an issue with idea-git-flow plugin gradle script on case-sensitive systems.
Plugin IDs in this case should be "git4idea" and "tasks".
IntelliJ IDEA 2018.2.3 (Ultimate Edition)
Build #IU-182.4323.46, built on September 3, 2018
JRE: 1.8.0_152-release-1248-b8 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.6
So what I did was I created a new plugin project.
Copied the source code into the sources directory and copied the plugin.xml file.
I added the git4idea.jar as a library.
I can't compile because IntelliJ complains that the classes are not available.
import com.intellij.tasks.ui.TaskDialogPanel;
import com.intellij.tasks.ui.TaskDialogPanelProvider;
If I go to the platform-api.jar file, there is no ui package under tasks.
The plugin.xml file complains that the tasks.dialogPanelProvider entry below is not allowed here.
<extensions defaultExtensionNs="com.intellij">
<applicationService serviceInterface="gitflow.Gitflow" serviceImplementation="gitflow.GitflowImpl"/>
<applicationService serviceInterface="gitflow.GitflowState" serviceImplementation="gitflow.GitflowState"/>
<projectConfigurable instance="gitflow.GitflowConfigurable" />
<tasks.dialogPanelProvider implementation="gitflow.ui.GitflowTaskDialogPanelProvider" />
</extensions>
plugin.xml file:
>I added the git4idea.jar as a library.
But you didn't add tasks.jar which is a separate plugin as well.
Thanks so much, that did it.