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 - JsEmbeddingProvider should be rewritten to the API/SPI
Summary: JsEmbeddingProvider should be rewritten to the API/SPI
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks: 223895
  Show dependency tree
 
Reported: 2012-12-19 11:39 UTC by Martin Fousek
Modified: 2013-02-12 10:00 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.