Dynamicall register toolwindow - Plugin verifier reports internal API usage
已回答
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())}
请先登录再写评论。
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.