This PR adds extensionConfiguration/getSettingsSchema endpoint which generates json schema file useful for validating cody settings and for documentation purposes.
Test plan
Build Jenkins PR #1972 with CODY_DIR set to this PR branch.
Run action Open Cody Settings Editor (you can use shift shift to find it)
Change some Cody settings. E.g. you can try to disable autocomplete:
"cody.autocomplete.enabled": true
Hit Ctrl + S to trigger the config update
Try to use autocomplete in some other file and make sure it does not work.
Revert your changes and make sure autocomplete is enabled again.
Changes
This PR adds
extensionConfiguration/getSettingsSchema
endpoint which generates json schema file useful for validating cody settings and for documentation purposes.Test plan
Open Cody Settings Editor
(you can useshift shift
to find it)"cody.autocomplete.enabled": true
Ctrl + S
to trigger the config update