Dynamicall register toolwindow - Plugin verifier reports internal API usage
Answered
I am registering a toolwindow programmatically but the plugin verifier says it is internal API. What are the alternatives?
inline fun registerToolWindow(id: String, builder: RegisterToolWindowTaskBuilder.() -> Unit): ToolWindow {
val b = RegisterToolWindowTaskBuilder(id)
b.builder()
return registerToolWindow(b.build())
}
Please sign in to leave a comment.
Hi,
This method used to be internal, but was uninternalized in https://github.com/JetBrains/intellij-community/commit/86637e85f8e39f42432896b1fc81c839934445ce
You most likely get error for older IDE versions. If this is the case, please ignore the error.