tsv.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "title": "TSV Viewer",
  3. "description": "TSV Viewer settings.",
  4. "jupyter.lab.toolbars": {
  5. "TSVTable": [{ "name": "delimiter", "rank": 10 }]
  6. },
  7. "jupyter.lab.transform": true,
  8. "properties": {
  9. "toolbar": {
  10. "title": "TSV viewer toolbar items",
  11. "description": "Note: To disable a toolbar item,\ncopy it to User Preferences and add the\n\"disabled\" key. The following example will disable the delimiter selector item:\n{\n \"toolbar\": [\n {\n \"name\": \"delimiter\",\n \"disabled\": true\n }\n ]\n}\n\nToolbar description:",
  12. "items": {
  13. "$ref": "#/definitions/toolbarItem"
  14. },
  15. "type": "array",
  16. "default": []
  17. }
  18. },
  19. "additionalProperties": false,
  20. "type": "object",
  21. "definitions": {
  22. "toolbarItem": {
  23. "properties": {
  24. "name": {
  25. "title": "Unique name",
  26. "type": "string"
  27. },
  28. "args": {
  29. "title": "Command arguments",
  30. "type": "object"
  31. },
  32. "command": {
  33. "title": "Command id",
  34. "type": "string",
  35. "default": ""
  36. },
  37. "disabled": {
  38. "title": "Whether the item is ignored or not",
  39. "type": "boolean",
  40. "default": false
  41. },
  42. "icon": {
  43. "title": "Item icon id",
  44. "description": "If defined, it will override the command icon",
  45. "type": "string"
  46. },
  47. "label": {
  48. "title": "Item label",
  49. "description": "If defined, it will override the command label",
  50. "type": "string"
  51. },
  52. "type": {
  53. "title": "Item type",
  54. "type": "string",
  55. "enum": ["command", "spacer"]
  56. },
  57. "rank": {
  58. "title": "Item rank",
  59. "type": "number",
  60. "minimum": 0,
  61. "default": 50
  62. }
  63. },
  64. "required": ["name"],
  65. "additionalProperties": false,
  66. "type": "object"
  67. }
  68. }
  69. }