Make webstorm default es6 for javascript
How can I make webstorm set es6 as the javascript language default for any new projects imported via github?
I rarely have a project now that uses es5 and since I often import many new projects from github with no .idea settings this would save me some time.
Solution 1:
To set the default language level for JavaScript, go to
File > *DEFAULT Settings* > Languages and Frameworks > JavaScript
.
Solution 2:
Go to File | Settings | Languages and Frameworks | JavaScript
and here change option JavaScript language version
to ECMAScript 6
.
Also will be useful JetBrains screencast.