Allan,
MyEclipse 2017 by itself would not handle this as we haven’t updated to handle this syntax.
With CodeMix, however, I was able to get async
code to validate correctly. First, are you opening the file in the JavaScript :: CodeMix
editor? If yes, the next thing to check is the Validation settings which would show up at the bottom of the JS editor – you should switch to the CodeMix validator. You might need to do a clean build to get markers set by the MyEclipse validator to disappear.
If you still see the error being reported, please tell us exactly what the error message is – including the contents of the Type column (you can copy the error out of the Problems or Markers view and paste it here).
Just FYI, we will be adding this support soon in the MyEclipse 2018 stream, through an in-built CodeMix integration.
Hope this helps.