This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Current solution of the JsEmbeddingProvider is not ideal at all. All languages has to create its own translator directly in the JsEmbeddingProvider which is also impossible for third party modules. Also current languages cannot use their support code since the whole embedding is detected w/in JS code. See i.e. issue #223895. There should be created properly TokenHierarchy but it'snot possible since JspUtils are not visible to the JsEmbeddingProvider. So Jsp should register rather some kind of @JsTranslator in its module.