Wednesday, January 29, 2020

How to open VS Code user settings as JSON

When I was reading about Prettier and ESLint and how to set up in VS Code I realized I can open VS Code User's settings/preferences as both: UI and JSON. I really didn't know how to do it. I mean, I used to use as UI only. Today, if you are like me, I will teach you how to open as JSON and put your configuration required.

Open you VS Code
If you are using Windows...
Press CTRL + Shift + P
Search for "Settings"
Click con Workbench>Settings Editor
Choose json option in dropdownlist

Then, check "Controls whether to use the split JSON editor when editing settings a JSON"





And voilà!

Happy formatting :)