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 257204 - Support classes and extending classes
Summary: Support classes and extending classes
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Linux
: P1 normal with 2 votes (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks: 242387
  Show dependency tree
 
Reported: 2015-12-18 09:52 UTC by Petr Pisl
Modified: 2016-06-20 14:55 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2015-12-18 09:52:36 UTC
Provide support for writing classes and extending classes to follow ECMA Script 6 spec. Simple example can be find here: https://developer.mozilla.org/cs/docs/Web/JavaScript/Reference/Classes

NB should be able to work with the class declaration, show the declaration in navigator and also support extending classes in code completion, method declaration, navigation etc.
Comment 1 Petr Pisl 2015-12-22 10:51:18 UTC
I have commited some basic support. The parser should understand classes, extending classes, navigator should display them. Mark occurrences should work as well. Still some work should be done.
Comment 2 Petr Pisl 2016-06-20 14:55:05 UTC
Done and the functionality is in trunk.