JavaScript parsing errors might occur
[Symptom]
The literal format of reserved words and regular expressions might not be handled correctly in the JavaScript syntactic analysis and result in an error.
[Action]
Disable the JavaScript syntactic analysis is not executed, according to the procedure below:
If disabling the JavaScript validator:
In the Project Explorer, select the target project.
From the context menu, select [Properties] to open the [Properties] dialog box.
In the left trees view of the [Properties] dialog box, select [Builders].
In the [Builders] page, unselect [JavaScript Validator].
If disabling JavaScript syntax validation:
In the Project Explorer, select the target project.
From the context menu, select [Properties] to display the [Properties] dialog box. Or, from the workbench menu, select [Window] > [Preferences], to display the [Preferences] dialog box.
In the [Properties] page, or, the left tree of the [Preferences] page, select [Validation].
In the [Validation] page, clear [Build] of [JavaScript Syntax Validation].
Point
To delete a problem from the Problem view, before disabling JavaScript syntactic analysis, in a state where build is not performed automatically, project clean must be executed.
Note
When the JSP editor enters a JSP tag in JavaScript code between <script> - </script> tags, a JavaScript syntax error may be displayed in the Problems View.
JSP tags are dynamically converted when JSP is executed. However, because JSP tags cannot be converted when the editor performs a JavaScript syntax check, they may appear to be syntax errors.
If this applies, perform the build or execution operation as is. Even though a syntax error is detected, the build or execution operation can be performed.