eclipse-wildwebdeveloper / wildwebdeveloper

Simple and productive Web Development Tools in the Eclipse IDE
https://projects.eclipse.org/projects/tools.wildwebdeveloper
Eclipse Public License 2.0
189 stars 70 forks source link

Javascript syntax errors reported (only in Eclipse) #1619

Open C4J opened 2 months ago

C4J commented 2 months ago

I am using Eclipse Enterprise Edition on MacOS (Apple Silicon)

Version: 2024-06 (4.32.0) Build id: 20240606-1231 Wild Web Developer HTML, CSS, JSON, Yaml, JavaScript, TypeScript, Node tools 1.3.6.202405280856

I'm not a Javascript Guru so I openly admit I could have made mistakes in my Javascript - however I have an issue where Eclipse is telling me there are problems in most of my .js files. The same scripts when validated in other Editors or online JS validator websites tell me everything is fine.

2024-07-03_11-53-51

I've tried adding in the suggestions but the error messages still remain.

I think it maybe related to my use of "async function" but I would really like to resolve this without disabling validation completely.

Any insight would be most appreciated.

Dave

C4J commented 2 months ago

I have seen this report but I'm not able to apply the workaround. See my comment at the bottom.

Issue 485