| Summary: | Object type "Class" of the MooTools framework isn't supported | ||
|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Franz Steinmetz <mail> |
| Component: | General | Assignee: | Project Inbox <jsdt.javascript-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | Nitin Dahyabhai <thatnitind> |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Specific support for a toolkit such as this should come from a plug-in outside of JSDT itself, in keeping with our initial project proposal. |
Build Identifier: I20110613-1736 The popular JavaScript framework MooTools provides the object type "Class", which offers more intuitive OOP handling for JavaScript. If you make use of these object, methods and properties of those classes aren't parsed and thus neither shown in the Outline view nor in code completion. Reproducible: Always Steps to Reproduce: Try this code. The outline only shows the ExampleClass object, but not its methods and properties. var ExampleClass = new Class({ surname : null, firstname : null, initialize : function(surname, firstname) { this.surname = surname; this.firstname = firstname; }, changeName: function(surname, firstname) { this.surname = surname; this.firstname = firstname; } });