Level Navigation: 0 | Current Level: 1 | 2 | 3 | 4 | 5 | 6 |
Learn what settings files are, understand JSON format, and master the basic syntax rules for creating configuration files.
A settings file is a special file that controls how a program behaves. Many tools like VSCode, web servers, and apps use configuration files to let users customize behavior without changing the program itself.
In VSCode, the settings file is written in a format called JSON.
JSON stands for JavaScript Object Notation. Itβs a structured way to store data as key-value pairs.
{
"catName": "Ginger",
"age": 1,
"isAdopted": true,
"weight": 4
}
"projectName": "My App"
β String: use double quotes."version": 1
β Number: do not use quotes."isPublic": true
β Boolean: do not use quotes."maxUsers": 100
β Number: do not use quotes.true
/false
) β no quotes.After you read this page, move on to the next lesson.
Level Navigation: 0 | Current Level: 1 | 2 | 3 | 4 | 5 | 6 |