hanggiadung

Define snippets in JSON schemas

Oct 13th, 2022
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. {
  2. "type": "array",
  3. "title": "Keybindings configuration",
  4. "items": {
  5. "type": "object",
  6. "required": ["key"],
  7. "defaultSnippets": [
  8. {
  9. "label": "New keybinding",
  10. "description": "Binds a key to a command for a given state",
  11. "body": { "key": "$1", "command": "$2", "when": "$3" }
  12. }
  13. ],
  14. "properties": {
  15. "key": {
  16. "type": "string"
  17. }
  18. ...
  19. }
  20. }
  21. }
Tags: JSON
Advertisement
Add Comment
Please, Sign In to add comment