JBCefJSQuery.inject() Supports Only a Single String Parameter — Limits Multi-Argument Use Cases

Currently, the inject() method of JBCefJSQuery in the IntelliJ Platform SDK accepts only a single string parameter. This poses a challenge for plugin developers who need to pass multiple values or structured data from JavaScript to the plugin code.

Since inject() only supports one parameter, developers must serialize data into a JSON string in JavaScript and then parse it on the Java side. While this is workable, it adds complexity, verbosity, and overhead for what is otherwise a simple API use case.

1

请先登录再写评论。