How to activate ES6 in Visual Studio Code

I’ve been looking for this answer for several weeks. Here is how to do it. Go to File > Preferences > Settings (or press Ctrl + ,) Add the following code in the USER SETTINGS tab “jshint.options”: { “esversion”: 6 } I have JSHint installed, if you don’t, you can install it from Visual Studio Code directly. Sources https://stackoverflow.com/questions/29953293/is-there-a-way-to-turn-on-es6-es7-syntax-support-in-vscode

How to fold / unfold all regions in Visual Studio Code

With JSON files of around 900 lines, this option is very useful to have an organized view. I highly recommend to check the links, there is a lot of things you can do with Visual Studio Code, my version is 1.10.2, and the following shortcuts are working. Ctrl+K Ctrl+0 Fold (collapse) all regions Ctrl+K Ctrl+J Unfold (uncollapse) all regions Sources …