Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I enable ES6+ syntax in WebStorm?

I'm using WebStorm and ES6+ syntax. How can I make WebStorm recognize ES6+?

For example, 'let'.

like image 865
Yan Yang Avatar asked Feb 16 '16 07:02

Yan Yang


1 Answers

You don't need plugins for this. Just make sure to set JavaScript language version (Settings|Languages & Frameworks|JavaScript) to either ECMAScript 6 or JSX harmony

like image 106
lena Avatar answered Sep 20 '22 17:09

lena