ECMAScript 6 gives errors!

I have enabled ECMAScript 6 under File->Default Preferences->Languages & Frameworks->Javascript but I still get errors every time I use let or the arrow (=>).  As far as I've been able to see this is all I should have to do to get rid of these errors.  It is driving me nuts.

0
3 comments
Avatar
Permanently deleted user

I've also tried restarting and invalidating the cache.

0
Avatar
Permanently deleted user

Ok so I tried re-cloning my project and I now don't have the errors.... but when I open the project from my original repository the error still exist.  I have several repositories I would have to re-clone to fix them all which would be very annoying...

0

>I have enabled ECMAScript 6 under File->Default Preferences->Languages & Frameworks->Javascript but I still get errors every time I use let or the arrow (=>)

 

You should have enabled it in your project preferences (WebStorm->Preferences->Languages & Frameworks->Javascript ), not in File->Default Settings->Languages & Frameworks->Javascript 

Changing default settings only affects new projects, current project settings are not changed when modifying defaults

0

Please sign in to leave a comment.