plugin.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "title": "Document Search",
  3. "description": "Document search plugin.",
  4. "jupyter.lab.setting-icon": "ui-components:search",
  5. "jupyter.lab.setting-icon-label": "Document Search",
  6. "jupyter.lab.menus": {
  7. "main": [
  8. {
  9. "id": "jp-mainmenu-edit",
  10. "items": [
  11. {
  12. "type": "separator",
  13. "rank": 10
  14. },
  15. {
  16. "command": "documentsearch:start",
  17. "rank": 10
  18. },
  19. {
  20. "command": "documentsearch:highlightNext",
  21. "rank": 10
  22. },
  23. {
  24. "command": "documentsearch:highlightPrevious",
  25. "rank": 10
  26. },
  27. {
  28. "type": "separator",
  29. "rank": 10
  30. }
  31. ]
  32. }
  33. ]
  34. },
  35. "jupyter.lab.shortcuts": [
  36. {
  37. "command": "documentsearch:start",
  38. "keys": ["Accel F"],
  39. "selector": ".jp-mod-searchable"
  40. },
  41. {
  42. "command": "documentsearch:highlightNext",
  43. "keys": ["Accel G"],
  44. "selector": ".jp-mod-searchable"
  45. },
  46. {
  47. "command": "documentsearch:highlightPrevious",
  48. "keys": ["Accel Shift G"],
  49. "selector": ".jp-mod-searchable"
  50. },
  51. {
  52. "command": "documentsearch:toggleSearchInSelection",
  53. "keys": ["Alt L"],
  54. "selector": ".jp-mod-search-active"
  55. },
  56. {
  57. "command": "documentsearch:end",
  58. "keys": ["Escape"],
  59. "selector": ".jp-mod-search-active"
  60. }
  61. ],
  62. "properties": {
  63. "searchDebounceTime": {
  64. "title": "Search debounce time (ms)",
  65. "description": "The debounce time in milliseconds applied to the search input field. The already opened input files will not be updated if you change that value",
  66. "type": "number",
  67. "default": 500,
  68. "minimum": 0
  69. },
  70. "autoSearchInSelection": {
  71. "title": "Search in selection automatically",
  72. "description": "When starting search, the 'search in selection' mode will be enabled if `any` text/cell is selected, or when `multiple` lines or cells are selected, or `never`.",
  73. "type": "string",
  74. "enum": ["never", "multiple-selected", "any-selected"],
  75. "default": "never"
  76. }
  77. },
  78. "additionalProperties": false,
  79. "type": "object"
  80. }