plugin.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. {
  2. "jupyter.lab.setting-icon": "ui-components:textEditor",
  3. "jupyter.lab.setting-icon-label": "Editor",
  4. "title": "Text Editor",
  5. "description": "Text editor settings.",
  6. "definitions": {
  7. "editorConfig": {
  8. "properties": {
  9. "autoClosingBrackets": {
  10. "type": "boolean"
  11. },
  12. "fontFamily": {
  13. "type": ["string", "null"]
  14. },
  15. "fontSize": {
  16. "type": ["integer", "null"],
  17. "minimum": 1,
  18. "maximum": 100
  19. },
  20. "lineHeight": {
  21. "type": ["number", "null"]
  22. },
  23. "lineNumbers": {
  24. "type": "boolean"
  25. },
  26. "lineWrap": {
  27. "type": "string",
  28. "enum": ["off", "on", "wordWrapColumn", "bounded"]
  29. },
  30. "matchBrackets": {
  31. "type": "boolean"
  32. },
  33. "readOnly": {
  34. "type": "boolean"
  35. },
  36. "insertSpaces": {
  37. "type": "boolean"
  38. },
  39. "tabSize": {
  40. "type": "number"
  41. },
  42. "wordWrapColumn": {
  43. "type": "integer"
  44. },
  45. "rulers": {
  46. "type": "array",
  47. "items": {
  48. "type": "number"
  49. }
  50. },
  51. "codeFolding": {
  52. "type": "boolean"
  53. }
  54. },
  55. "additionalProperties": false,
  56. "type": "object"
  57. }
  58. },
  59. "properties": {
  60. "editorConfig": {
  61. "title": "Editor Configuration",
  62. "description": "The configuration for all text editors.\nIf `fontFamily`, `fontSize` or `lineHeight` are `null`,\nvalues from current theme are used.",
  63. "$ref": "#/definitions/editorConfig",
  64. "default": {
  65. "autoClosingBrackets": true,
  66. "fontFamily": null,
  67. "fontSize": null,
  68. "lineHeight": null,
  69. "lineNumbers": true,
  70. "lineWrap": "on",
  71. "matchBrackets": true,
  72. "readOnly": false,
  73. "insertSpaces": true,
  74. "tabSize": 4,
  75. "wordWrapColumn": 80,
  76. "rulers": [],
  77. "codeFolding": false
  78. }
  79. }
  80. },
  81. "additionalProperties": false,
  82. "type": "object"
  83. }