plugin.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. {
  2. "jupyter.lab.setting-icon": "ui-components:terminal",
  3. "jupyter.lab.setting-icon-label": "Terminal",
  4. "jupyter.lab.menus": {
  5. "context": [
  6. {
  7. "command": "terminal:refresh",
  8. "selector": ".jp-Terminal",
  9. "rank": 1
  10. }
  11. ]
  12. },
  13. "title": "Terminal",
  14. "description": "Terminal settings.",
  15. "definitions": {
  16. "fontFamily": {
  17. "type": "string"
  18. },
  19. "fontSize": {
  20. "type": "integer",
  21. "minimum": 9,
  22. "maximum": 72
  23. },
  24. "lineHeight": {
  25. "type": "number",
  26. "minimum": 1.0
  27. },
  28. "theme": {
  29. "enum": ["dark", "light", "inherit"]
  30. },
  31. "scrollback": {
  32. "type": "number"
  33. },
  34. "pasteWithCtrlV": {
  35. "type": "boolean"
  36. },
  37. "macOptionIsMeta": {
  38. "type": "boolean"
  39. }
  40. },
  41. "properties": {
  42. "fontFamily": {
  43. "title": "Font family",
  44. "description": "The font family used to render text.",
  45. "$ref": "#/definitions/fontFamily",
  46. "default": "monospace"
  47. },
  48. "fontSize": {
  49. "title": "Font size",
  50. "description": "The font size used to render text.",
  51. "$ref": "#/definitions/fontSize",
  52. "default": 13
  53. },
  54. "lineHeight": {
  55. "title": "Line height",
  56. "description": "The line height used to render text.",
  57. "$ref": "#/definitions/lineHeight",
  58. "default": 1.0
  59. },
  60. "theme": {
  61. "title": "Theme",
  62. "description": "The theme for the terminal.",
  63. "$ref": "#/definitions/theme",
  64. "default": "inherit"
  65. },
  66. "screenReaderMode": {
  67. "title": "Screen Reader Mode",
  68. "description": "Add accessibility elements for use with screen readers.",
  69. "type": "boolean",
  70. "default": false
  71. },
  72. "scrollback": {
  73. "title": "Scrollback Buffer",
  74. "description": "The amount of scrollback beyond initial viewport",
  75. "$ref": "#/definitions/lineHeight",
  76. "default": 1000
  77. },
  78. "shutdownOnClose": {
  79. "title": "Shut down on close",
  80. "description": "Shut down the session when closing the terminal.",
  81. "type": "boolean",
  82. "default": false
  83. },
  84. "closeOnExit": {
  85. "title": "Close on exit",
  86. "description": "Close the widget when exiting the terminal.",
  87. "type": "boolean",
  88. "default": true
  89. },
  90. "pasteWithCtrlV": {
  91. "title": "Paste with Ctrl+V",
  92. "description": "Enable pasting with Ctrl+V. This can be disabled to use Ctrl+V in the vi editor, for instance. This setting has no effect on macOS, where Cmd+V is available",
  93. "type": "boolean",
  94. "default": true
  95. },
  96. "macOptionIsMeta": {
  97. "title": "Treat option as meta key on macOS",
  98. "description": "Option key on macOS can be used as meta key. This enables to use shortcuts such as option + f to move cursor forward one word",
  99. "type": "boolean",
  100. "default": false
  101. }
  102. },
  103. "additionalProperties": false,
  104. "type": "object"
  105. }