nodeclipse Enide, delete keyword issue

691 Views Asked by At

enter image description here

how come there appears to be a syntax error on "delete"? the same thing happens when I make HTTP delete requests explicitly. Is there something wrong with my Enide installation? This must be a known problem.

the same issue appears here:

enter image description here

2

There are 2 best solutions below

0
On BEST ANSWER

This is issue #70 EcmaScript 5 support (Express server.delete - Syntax error on token ".")

Nodeclipse uses JSDT Editor, that does not support EcmaScript 5
https://bugs.eclipse.org/bugs/show_bug.cgi?id=223131

Nodeclipse also has non-default TextEditor-based Editor.

Implementing EcmaScript 5 or general JavaScript Editor is huge task that Nodeclipse needs more resources to approach.

0
On

I did a quick fix for this problem, disabled "Strict validation of JavaScript keywords usage".

Now I am able to code again. :)