[
https://issues.jboss.org/browse/JBIDE-18138?page=com.atlassian.jira.plugi...
]
Victor Rubezhny commented on JBIDE-18138:
-----------------------------------------
I have a solution that implements Alexey's suggestion to add a preference that will
allow to ignore syntax errors on keyword usage and use that preference when the reporting
of syntax error occurs. This solution just doesn't report a syntax error if it's
about the keyword used as an identifier in property or method name in case of 'strict
validation of keywords usage' is disabled.
It looks like a working solution but other (dependent) problems still may occur and we
aren't able to hide them (if any).
The fix can be easily applied to WTP 3.7.0 (master). But WTP 3.6.1 stream is already at
RC4 stage (the next is only GA), so I'm unable to get the approval for such a change
into this stream. It case of appearance of WTP 3.6.2 (SR1) stream the fix probably can be
applied on this stream (but I'm not sure if SR2 is planned on WTP).
The issue is created in bugzilla in order to track this problem: [Bug 443876 - Allow users
to turn off strict validation of JavaScript keywords usage when ECMA5 compliant JavaScript
are used in their
projects|https://bugs.eclipse.org/bugs/show_bug.cgi?id=443876]
Javascript errors when importing Aerogear Quickstarts
-----------------------------------------------------
Key: JBIDE-18138
URL:
https://issues.jboss.org/browse/JBIDE-18138
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: aerogear-hybrid, jsp/jsf/xml/html source editing
Reporter: Burr Sutter
Assignee: Victor Rubezhny
Priority: Critical
Fix For: 4.2.0.CR1
Attachments: error screenshot on CR1.png
Testing of:
https://github.com/aerogear/aerogear-push-quickstarts/tree/master/client/...
https://github.com/aerogear/aerogear-push-quickstarts/tree/master/client/...
Errors:
http://screencast.com/t/hnI0WZFpxz
http://screencast.com/t/fGiVBQdm
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)