fd93c54ae3
## Summary of the Pull Request Currently when configuring the action ```json { "command": { "action": "closeTabsAfter" } } ``` we get a schema error in VSCode: `Matches multiple schemas when only one must validate.`. The problem is that it matches both `closeTabsAfter` and `closeTab`, since the schema uses regex patterns to match instead of plain strings. I swapped the usage of `"pattern"` with `"const"` for all actions. ## PR Checklist * [ ] Closes #xxx * [x] CLA signed * [ ] Tests added/passed * [ ] Documentation updated * [x] Schema updated * [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan ## Detailed Description of the Pull Request / Additional comments ## Validation Steps Performed I checked and this action configuration no longer errors. |
||
---|---|---|
.. | ||
AddASetting.md | ||
Json-Utility-API.md | ||
profiles.schema.json | ||
SettingsSchema.md | ||
Unittesting-CppWinRT-Xaml.md |