I am building a vscode extension, where i needed the content of settings.json file. I tried the below one to get a specific value like colorTheme,
const workSpaceConfig = vscode.workspace.getConfiguration("editor"); console.log(workSpaceConfig.get("fontSize")); // which returns 14 What if want the whole content which is in settings.json, like the below.
Settings.json (Example),
{ "workbench.colorTheme": "Quiet Light", "workbench.iconTheme": "material-icon-theme", "editor.fontSize": 14, "editor.formatOnSave": true, ... }
vscode.workspace.getConfiguration();