commands.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "jupyter.lab.setting-icon": "ui-components:text-editor",
  3. "jupyter.lab.setting-icon-label": "CodeMirror",
  4. "title": "CodeMirror",
  5. "description": "Text editor settings for all CodeMirror editors.",
  6. "properties": {
  7. "keyMap": {
  8. "type": "string",
  9. "title": "Key Map",
  10. "description": "Configures the keymap to use",
  11. "default": "default"
  12. },
  13. "theme": {
  14. "type": "string",
  15. "title": "Theme",
  16. "description": "CSS file defining the corresponding\n.cm-s-[name] styles is loaded",
  17. "default": "jupyter"
  18. },
  19. "scrollPastEnd": {
  20. "type": "boolean",
  21. "title": "Scroll behavior",
  22. "description": "Whether to scroll past the end of text document",
  23. "default": true
  24. },
  25. "styleActiveLine": {
  26. "type": ["boolean", "object"],
  27. "title": "Style Active Line",
  28. "description": "Value is boolean, or { nonEmpty: boolean }",
  29. "default": false
  30. },
  31. "styleSelectedText": {
  32. "type": "boolean",
  33. "title": "Style Selected Text",
  34. "description": "Value is boolean",
  35. "default": true
  36. },
  37. "selectionPointer": {
  38. "type": ["boolean", "string"],
  39. "title": "Selection Pointer",
  40. "description": "Value is boolean or string, e.g. 'pointer'",
  41. "default": false
  42. },
  43. "lineWiseCopyCut": {
  44. "type": ["boolean"],
  45. "title": "Ctrl-C",
  46. "description": "When enabled, which is the default, doing copy or cut when there is no selection will copy or cut the whole lines that have cursors on them.",
  47. "default": true
  48. }
  49. },
  50. "type": "object"
  51. }