I have tried Wild Web Plugin and it still shows "Semi-colon expected" at the codes that use async.
Wild Web Plugin claims that it handles ES2018 (https://marketplace.eclipse.org/content/wild-web-developer-web-development-eclipse-ide), but it's not true.
I use Generic Editor to make sure that the Wild Web Plugin is applied.
I can use Visual Studio Code for that, but it would be nice to have all inside Eclipse.
Is there any free alternative to do that?
P.D: Versions.
ECLIPSE
Version: 2019-09 R (4.13.0)
Build id: 20190917-1200
WILD WEB
Wild Web Developer - Developer and debug Web and Node applications 0.7.1.201910241910 org.eclipse.wildwebdeveloper.feature.feature.group Eclipse Wild Web Developer project
According to this bug report this is not a problem in Wild Web Developer but a similar and apparently unrelated plugin Eclipse Web Developer Tools. So the claim that Wild Web plugin handles ES2018 is probably true.
For me uninstalling "Eclipse Web JavaScript Developer Tools" (and "Eclipse Web Developer Tools" because it has the first as dependency) fixed the problem. No more "Semi-colon expected" for async.
Alternatively disabling Preferences -> Valdiation -> JavaScript Validation should work and not affect Wild Web Developer (not tested myself).
This can also explain why renaming the file to ".mjs" works. The JavaScript validation from this other plugin only checks ".js" files.