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.

Bug 224024

Summary: JsEmbeddingProvider should be rewritten to the API/SPI
Product: javascript Reporter: Martin Fousek <marfous>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 223895    

Description Martin Fousek 2012-12-19 11:39:54 UTC
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.