-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get settings schema endpoint (#5080)
## Changes This PR adds `extensionConfiguration/getSettingsSchema` endpoint which generates json schema file useful for validating cody settings and for documentation purposes. ## Test plan 1. Build Jenkins [PR #1972](sourcegraph/jetbrains#1972) with CODY_DIR set to this PR branch. 2. Run action `Open Cody Settings Editor` (you can use `shift shift` to find it) 3. Change some Cody settings. E.g. you can try to disable autocomplete: `"cody.autocomplete.enabled": true` 4. Hit `Ctrl + S` to trigger the config update 5. Try to use autocomplete in some other file and make sure it does not work. 6. Revert your changes and make sure autocomplete is enabled again.
- Loading branch information
Showing
3 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters