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 227150 - JavaScript version selection missing since 7.3
Summary: JavaScript version selection missing since 7.3
Status: RESOLVED WONTFIX
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Windows 7 x64
: P3 normal with 1 vote (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-07 10:27 UTC by im2curious
Modified: 2016-04-21 11:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description im2curious 2013-03-07 10:27:05 UTC
Prior to 7.3, there used to be a menu at Tools->Options->Miscellaneous->JavaScript, which allowed you to select the JS language version for syntax checking.

This is now missing and I have not found it anywhere else.

I'm trying to edit a Mozilla extension, written in JavaScript 1.8.5, but all of the newer language elements are detected as syntax errors, effectively making NetBeans unusable for my purpose.

Related Issues: #226206 #202928
Comment 1 Petr Pisl 2013-05-16 11:37:22 UTC
We had to change in NB 7.3 the parser from Rhino to Nashorn. Nashorn parser is more strict and don't support Mozilla extensions so far. I can fix it only with an ugly hack.
Comment 2 Petr Pisl 2013-07-10 07:39:50 UTC
I'm not going to solve it in this release.
Comment 3 Petr Hejl 2016-04-21 10:51:41 UTC
Are we ever going to fix this? I guess you can close this, Petr.
Comment 4 Petr Pisl 2016-04-21 11:02:01 UTC
New option is created for a project. The option allow choose between EcmaScript 5.1 and EcmaScript 6.0.