Is there a way to turn on ES6/ES7 syntax support in vscode?

前端 未结 7 1115
既然无缘
既然无缘 2020-12-02 14:51

Edit 3: Starting in version 0.4.0, ES6 syntax can be turned on by adding a jsconfig.json file to the project folder with the following contents:

7条回答
  •  误落风尘
    2020-12-02 15:35

    Otherwise you can use ESLint to highlight ES7 error (using babel parser or others): VSCode Linter ES6 ES7 Babel linter

提交回复
热议问题