Hello,
I’m currently working on my plugin todo-exporter and I need to use some classes from the TODO toolwindow implementation.
The problem is that classes under:
com.intellij.ide.todo.nodes
cannot be imported by my plugin.
Example imports:
import com.intellij.ide.todo.nodes.BaseToDoNode;
import com.intellij.ide.todo.nodes.SummaryNode;
import com.intellij.ide.todo.nodes.ToDoRootNode;
import com.intellij.ide.todo.nodes.TodoTreeHelper;
I tried adding the TODO module to my plugin descriptor:
<content>
<module name="intellij.platform.todo"/>
</content>
but the classes are still unresolved and unavailable from the plugin module.
I am using IntelliJ Platform Gradle Plugin SDK version 2.16.0.
My questions are:
-
Are classes under
com.intellij.ide.todo.nodesintentionally not exposed to third-party plugins? -
Is there an additional dependency/module that must be declared?
-
Is there a supported/public API alternative for interacting with the TODO tree structure?
-
If these APIs are internal-only, what is the recommended approach for plugins that need to reuse TODO tree functionality?
Additional context:
-
Plugin repository: todo-exporter repository
-
Target platform: IntelliJ Platform
-
Gradle IntelliJ Plugin 2.x
-
SDK version: 2.16.0
Thanks.