plugin.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "jupyter.lab.setting-icon": "ui-components:text-editor",
  3. "jupyter.lab.setting-icon-label": "CodeMirror",
  4. "jupyter.lab.shortcuts": [
  5. {
  6. "command": "codemirror:delete-line",
  7. "keys": ["Accel D"],
  8. "selector": ".cm-content"
  9. },
  10. {
  11. "command": "codemirror:delete-line",
  12. "keys": ["Accel Shift K"],
  13. "selector": ".cm-content"
  14. },
  15. {
  16. "command": "codemirror:toggle-block-comment",
  17. "keys": ["Alt A"],
  18. "selector": ".cm-content"
  19. },
  20. {
  21. "command": "codemirror:toggle-comment",
  22. "keys": ["Accel /"],
  23. "selector": ".cm-content"
  24. },
  25. {
  26. "command": "codemirror:select-next-occurrence",
  27. "keys": ["Accel Shift D"],
  28. "selector": ".cm-content"
  29. }
  30. ],
  31. "jupyter.lab.menus": {
  32. "main": [
  33. {
  34. "id": "jp-mainmenu-view",
  35. "items": [
  36. {
  37. "type": "submenu",
  38. "rank": 10,
  39. "submenu": {
  40. "id": "jp-mainmenu-codefold",
  41. "label": "Code Folding",
  42. "items": [
  43. {
  44. "command": "codemirror:fold-current",
  45. "rank": 1
  46. },
  47. {
  48. "command": "codemirror:unfold-current",
  49. "rank": 2
  50. },
  51. {
  52. "command": "codemirror:fold-subregions",
  53. "rank": 3
  54. },
  55. {
  56. "command": "codemirror:unfold-subregions",
  57. "rank": 4
  58. },
  59. {
  60. "command": "codemirror:fold-all",
  61. "rank": 5
  62. },
  63. {
  64. "command": "codemirror:unfold-all",
  65. "rank": 6
  66. }
  67. ]
  68. }
  69. }
  70. ]
  71. }
  72. ]
  73. },
  74. "title": "CodeMirror",
  75. "description": "Text editor settings for all CodeMirror editors.",
  76. "properties": {
  77. "defaultConfig": {
  78. "default": {},
  79. "title": "Default editor configuration",
  80. "description": "Base configuration used by all CodeMirror editors.",
  81. "type": "object"
  82. }
  83. },
  84. "type": "object"
  85. }