[VS Code] Consider using JSON for Diagnostics Page
Problem to solve
The current settings diagnostics section of the diagnostics page is using markdown to format text. This includes all the settings regardless of whether or not the setting is a default.
This causes a problem in two cases:
- When enabling the settings diagnostics section in the webide; there needs to be separate logic for rendering the markdown file to ensure that settings not available in the webide are not displayed.
- Any new settings that are added for users will also include an update to the diagnostics section implementation for both the desktop and webide versions.
Proposal
The best solution would be to have a mechanism to know what settings changed and only output those, maybe as a JSON object:
## Configuration
```json
{
"debug": true
}
```
Maybe we could use the inspect method and remove the default values so we would only see what's changed.
This would have the benefit of being agnostic to any changes to the configuration. We would not have to touch the config diagnostic again.
Further details
Links / references
Edited by Kisha Mavryck Richardson