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.
Summary: | Linked javascripts snipets are not included to the javascript parser | ||
---|---|---|---|
Product: | obsolete | Reporter: | Lukasz Grela <lgrela> |
Component: | languages | Assignee: | issues@obsolete <issues> |
Status: | NEW --- | ||
Severity: | blocker | CC: | jjancura, mfukala |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Lukasz Grela
2007-03-26 12:27:58 UTC
changing status whiteboard The problem is now that Schliemann doesn't provide any API which I could use to specify what external sources should be included into the parser input. It could be solved by a special callback from NBS file, something like AST { library:org.netbeans.modules.html.editor.HTML.processLibraries; } the code would get the root ASTNode and would parse the linked files and add their ASTNodes into the AST tree of the edited file. Or, it would be probably enought just to provide list of included files by an SPI so the client would implement something like this: public interface LibraryQuery { public String[] getLibraryNames(); } and S. would parse them together with the edited document. Reassigning to languages/engine. Yes. Context for CC (and all other features) is current file. => Feature We are thinking about this feature for nb6.0... |