ECMAScript 6 support in PhpStorm 2016

前端 未结 2 1203
萌比男神i
萌比男神i 2020-12-17 09:28

I recently pulled in the latest Laravel 5.3. In the gulp.js file, there is the newer ES6 arrow function syntax:

elixir(mix => {
    mix.sass(         


        
相关标签:
2条回答
  • 2020-12-17 09:42

    Go to Settings > Languages & Frameworks > JavaScript

    Then change JavaScript language version to ECMAScript 6

    0 讨论(0)
  • MacOs: Menu > PhpStorm> Preferences > Languages & Frameworks > JavaScript and change JavaScript language version to ECMAScript 6

    0 讨论(0)
提交回复
热议问题