browser.json 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. {
  2. "jupyter.lab.setting-icon": "ui-components:folder",
  3. "jupyter.lab.setting-icon-label": "File Browser",
  4. "jupyter.lab.menus": {
  5. "main": [
  6. {
  7. "id": "jp-mainmenu-file",
  8. "items": [
  9. {
  10. "command": "filebrowser:create-main-launcher",
  11. "rank": 1
  12. },
  13. {
  14. "type": "separator",
  15. "rank": 1
  16. },
  17. {
  18. "command": "filebrowser:open-path",
  19. "rank": 1
  20. },
  21. {
  22. "command": "filebrowser:open-url",
  23. "rank": 1
  24. }
  25. ]
  26. },
  27. {
  28. "id": "jp-mainmenu-view",
  29. "items": [
  30. {
  31. "command": "filebrowser:toggle-hidden-files",
  32. "rank": 9.95
  33. }
  34. ]
  35. },
  36. {
  37. "id": "jp-mainmenu-settings",
  38. "items": [
  39. {
  40. "type": "separator",
  41. "rank": 5
  42. },
  43. {
  44. "command": "filebrowser:toggle-navigate-to-current-directory",
  45. "rank": 5
  46. },
  47. {
  48. "type": "separator",
  49. "rank": 5
  50. }
  51. ]
  52. }
  53. ],
  54. "context": [
  55. {
  56. "type": "separator",
  57. "selector": ".jp-DirListing-content",
  58. "rank": 0
  59. },
  60. {
  61. "command": "filebrowser:open",
  62. "selector": ".jp-DirListing-item[data-isdir]",
  63. "rank": 1
  64. },
  65. {
  66. "type": "separator",
  67. "selector": ".jp-DirListing-item[data-isdir]",
  68. "rank": 4
  69. },
  70. {
  71. "command": "filebrowser:rename",
  72. "selector": ".jp-DirListing-item[data-isdir]",
  73. "rank": 5
  74. },
  75. {
  76. "command": "filebrowser:delete",
  77. "selector": ".jp-DirListing-item[data-isdir]",
  78. "rank": 6
  79. },
  80. {
  81. "command": "filebrowser:cut",
  82. "selector": ".jp-DirListing-item[data-isdir]",
  83. "rank": 7
  84. },
  85. {
  86. "command": "filebrowser:copy",
  87. "selector": ".jp-DirListing-item[data-isdir=\"false\"]",
  88. "rank": 8
  89. },
  90. {
  91. "command": "filebrowser:paste",
  92. "selector": ".jp-DirListing-content",
  93. "rank": 8.5
  94. },
  95. {
  96. "command": "filebrowser:duplicate",
  97. "selector": ".jp-DirListing-item[data-isdir=\"false\"]",
  98. "rank": 9
  99. },
  100. {
  101. "type": "separator",
  102. "selector": ".jp-DirListing-item[data-isdir]",
  103. "rank": 10
  104. },
  105. {
  106. "command": "filebrowser:shutdown",
  107. "selector": ".jp-DirListing-item[data-isdir=\"false\"]",
  108. "rank": 11
  109. },
  110. {
  111. "type": "separator",
  112. "selector": ".jp-DirListing-item[data-isdir]",
  113. "rank": 12
  114. },
  115. {
  116. "command": "filebrowser:copy-path",
  117. "selector": ".jp-DirListing-item[data-isdir]",
  118. "rank": 14
  119. },
  120. {
  121. "command": "filebrowser:toggle-last-modified",
  122. "selector": ".jp-DirListing-header",
  123. "rank": 14
  124. },
  125. {
  126. "command": "filebrowser:share-main",
  127. "selector": ".jp-DirListing-item[data-isdir]",
  128. "rank": 15
  129. },
  130. {
  131. "type": "separator",
  132. "selector": ".jp-DirListing-item[data-isdir]",
  133. "rank": 50
  134. },
  135. {
  136. "command": "filebrowser:create-new-file",
  137. "selector": ".jp-DirListing-content",
  138. "rank": 51
  139. },
  140. {
  141. "command": "filebrowser:create-new-directory",
  142. "selector": ".jp-DirListing-content",
  143. "rank": 55
  144. }
  145. ]
  146. },
  147. "title": "File Browser",
  148. "description": "File Browser settings.",
  149. "jupyter.lab.shortcuts": [
  150. {
  151. "command": "filebrowser:create-main-launcher",
  152. "keys": ["Accel Shift L"],
  153. "selector": "body"
  154. },
  155. {
  156. "command": "filebrowser:toggle-main",
  157. "keys": ["Accel Shift F"],
  158. "selector": "body"
  159. },
  160. {
  161. "command": "filebrowser:go-up",
  162. "keys": ["Backspace"],
  163. "selector": ".jp-DirListing-content .jp-DirListing-itemText"
  164. },
  165. {
  166. "command": "filebrowser:delete",
  167. "keys": ["Delete"],
  168. "selector": ".jp-DirListing-content .jp-DirListing-itemText"
  169. },
  170. {
  171. "command": "filebrowser:cut",
  172. "keys": ["Accel X"],
  173. "selector": ".jp-DirListing-content .jp-DirListing-itemText"
  174. },
  175. {
  176. "command": "filebrowser:copy",
  177. "keys": ["Accel C"],
  178. "selector": ".jp-DirListing-content .jp-DirListing-itemText"
  179. },
  180. {
  181. "command": "filebrowser:paste",
  182. "keys": ["Accel V"],
  183. "selector": ".jp-DirListing-content .jp-DirListing-itemText"
  184. },
  185. {
  186. "command": "filebrowser:rename",
  187. "keys": ["F2"],
  188. "selector": ".jp-DirListing-content .jp-DirListing-itemText"
  189. },
  190. {
  191. "command": "filebrowser:duplicate",
  192. "keys": ["Accel D"],
  193. "selector": ".jp-DirListing-content .jp-DirListing-itemText"
  194. }
  195. ],
  196. "properties": {
  197. "navigateToCurrentDirectory": {
  198. "type": "boolean",
  199. "title": "Navigate to current directory",
  200. "description": "Whether to automatically navigate to a document's current directory",
  201. "default": false
  202. },
  203. "useFuzzyFilter": {
  204. "type": "boolean",
  205. "title": "Filter on file name with a fuzzy search",
  206. "description": "Whether to apply fuzzy algorithm while filtering on file names",
  207. "default": true
  208. },
  209. "showLastModifiedColumn": {
  210. "type": "boolean",
  211. "title": "Show last modified column",
  212. "description": "Whether to show the last modified column",
  213. "default": true
  214. },
  215. "showHiddenFiles": {
  216. "type": "boolean",
  217. "title": "Show hidden files",
  218. "description": "Whether to show hidden files",
  219. "default": false
  220. }
  221. },
  222. "additionalProperties": false,
  223. "type": "object"
  224. }