tracker.json 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767
  1. {
  2. "jupyter.lab.setting-icon": "ui-components:notebook",
  3. "jupyter.lab.setting-icon-label": "Notebook",
  4. "jupyter.lab.menus": {
  5. "main": [
  6. {
  7. "id": "jp-mainmenu-file",
  8. "items": [
  9. {
  10. "type": "submenu",
  11. "submenu": {
  12. "id": "jp-mainmenu-file-new",
  13. "items": [
  14. {
  15. "command": "notebook:create-new",
  16. "rank": 10
  17. }
  18. ]
  19. }
  20. }
  21. ]
  22. },
  23. {
  24. "id": "jp-mainmenu-edit",
  25. "items": [
  26. {
  27. "type": "separator",
  28. "rank": 4
  29. },
  30. {
  31. "command": "notebook:undo-cell-action",
  32. "rank": 4
  33. },
  34. {
  35. "command": "notebook:redo-cell-action",
  36. "rank": 4
  37. },
  38. {
  39. "type": "separator",
  40. "rank": 5
  41. },
  42. {
  43. "command": "notebook:cut-cell",
  44. "rank": 5
  45. },
  46. {
  47. "command": "notebook:copy-cell",
  48. "rank": 5
  49. },
  50. {
  51. "command": "notebook:paste-cell-below",
  52. "rank": 5
  53. },
  54. {
  55. "command": "notebook:paste-cell-above",
  56. "rank": 5
  57. },
  58. {
  59. "command": "notebook:paste-and-replace-cell",
  60. "rank": 5
  61. },
  62. {
  63. "type": "separator",
  64. "rank": 6
  65. },
  66. {
  67. "command": "notebook:delete-cell",
  68. "rank": 6
  69. },
  70. {
  71. "type": "separator",
  72. "rank": 7
  73. },
  74. {
  75. "command": "notebook:select-all",
  76. "rank": 7
  77. },
  78. {
  79. "command": "notebook:deselect-all",
  80. "rank": 7
  81. },
  82. {
  83. "type": "separator",
  84. "rank": 8
  85. },
  86. {
  87. "command": "notebook:move-cell-up",
  88. "rank": 8
  89. },
  90. {
  91. "command": "notebook:move-cell-down",
  92. "rank": 8
  93. },
  94. {
  95. "type": "separator",
  96. "rank": 9
  97. },
  98. {
  99. "command": "notebook:split-cell-at-cursor",
  100. "rank": 9
  101. },
  102. {
  103. "command": "notebook:merge-cells",
  104. "rank": 9
  105. },
  106. {
  107. "command": "notebook:merge-cell-above",
  108. "rank": 9
  109. },
  110. {
  111. "command": "notebook:merge-cell-below",
  112. "rank": 9
  113. },
  114. {
  115. "type": "separator",
  116. "rank": 9
  117. }
  118. ]
  119. },
  120. {
  121. "id": "jp-mainmenu-view",
  122. "items": [
  123. {
  124. "type": "separator",
  125. "rank": 10
  126. },
  127. {
  128. "command": "notebook:hide-cell-code",
  129. "rank": 10
  130. },
  131. {
  132. "command": "notebook:hide-cell-outputs",
  133. "rank": 10
  134. },
  135. {
  136. "command": "notebook:hide-all-cell-code",
  137. "rank": 10
  138. },
  139. {
  140. "command": "notebook:hide-all-cell-outputs",
  141. "rank": 10
  142. },
  143. {
  144. "type": "separator",
  145. "rank": 10
  146. },
  147. {
  148. "command": "notebook:show-cell-code",
  149. "rank": 11
  150. },
  151. {
  152. "command": "notebook:show-cell-outputs",
  153. "rank": 11
  154. },
  155. {
  156. "command": "notebook:show-all-cell-code",
  157. "rank": 11
  158. },
  159. {
  160. "command": "notebook:show-all-cell-outputs",
  161. "rank": 11
  162. },
  163. {
  164. "type": "separator",
  165. "rank": 11
  166. }
  167. ]
  168. },
  169. {
  170. "id": "jp-mainmenu-run",
  171. "items": [
  172. {
  173. "type": "separator",
  174. "rank": 10
  175. },
  176. {
  177. "command": "notebook:run-cell-and-insert-below",
  178. "rank": 10
  179. },
  180. {
  181. "command": "notebook:run-cell",
  182. "rank": 10
  183. },
  184. {
  185. "command": "notebook:run-in-console",
  186. "rank": 10
  187. },
  188. {
  189. "type": "separator",
  190. "rank": 11
  191. },
  192. {
  193. "command": "notebook:run-all-above",
  194. "rank": 11
  195. },
  196. {
  197. "command": "notebook:run-all-below",
  198. "rank": 11
  199. },
  200. {
  201. "type": "separator",
  202. "rank": 12
  203. },
  204. {
  205. "command": "notebook:render-all-markdown",
  206. "rank": 12
  207. },
  208. {
  209. "type": "separator",
  210. "rank": 12
  211. }
  212. ]
  213. },
  214. {
  215. "id": "jp-mainmenu-kernel",
  216. "items": [
  217. {
  218. "command": "notebook:restart-and-run-to-selected",
  219. "rank": 1
  220. }
  221. ]
  222. }
  223. ],
  224. "context": [
  225. {
  226. "type": "separator",
  227. "selector": ".jp-Notebook .jp-Cell",
  228. "rank": 0
  229. },
  230. {
  231. "command": "notebook:cut-cell",
  232. "selector": ".jp-Notebook .jp-Cell",
  233. "rank": 1
  234. },
  235. {
  236. "command": "notebook:copy-cell",
  237. "selector": ".jp-Notebook .jp-Cell",
  238. "rank": 2
  239. },
  240. {
  241. "command": "notebook:paste-cell-below",
  242. "selector": ".jp-Notebook .jp-Cell",
  243. "rank": 3
  244. },
  245. {
  246. "type": "separator",
  247. "selector": ".jp-Notebook .jp-Cell",
  248. "rank": 4
  249. },
  250. {
  251. "command": "notebook:delete-cell",
  252. "selector": ".jp-Notebook .jp-Cell",
  253. "rank": 5
  254. },
  255. {
  256. "type": "separator",
  257. "selector": ".jp-Notebook .jp-Cell",
  258. "rank": 6
  259. },
  260. {
  261. "command": "notebook:split-cell-at-cursor",
  262. "selector": ".jp-Notebook .jp-Cell",
  263. "rank": 7
  264. },
  265. {
  266. "command": "notebook:merge-cells",
  267. "selector": ".jp-Notebook .jp-Cell",
  268. "rank": 8
  269. },
  270. {
  271. "command": "notebook:merge-cell-above",
  272. "selector": ".jp-Notebook .jp-Cell",
  273. "rank": 8
  274. },
  275. {
  276. "command": "notebook:merge-cell-below",
  277. "selector": ".jp-Notebook .jp-Cell",
  278. "rank": 8
  279. },
  280. {
  281. "type": "separator",
  282. "selector": ".jp-Notebook .jp-Cell",
  283. "rank": 9
  284. },
  285. {
  286. "command": "notebook:create-output-view",
  287. "selector": ".jp-Notebook .jp-CodeCell",
  288. "rank": 10
  289. },
  290. {
  291. "type": "separator",
  292. "selector": ".jp-Notebook .jp-CodeCell",
  293. "rank": 11
  294. },
  295. {
  296. "command": "notebook:clear-cell-output",
  297. "selector": ".jp-Notebook .jp-CodeCell",
  298. "rank": 12
  299. },
  300. {
  301. "command": "notebook:clear-all-cell-outputs",
  302. "selector": ".jp-Notebook",
  303. "rank": 0
  304. },
  305. {
  306. "type": "separator",
  307. "selector": ".jp-Notebook",
  308. "rank": 1
  309. },
  310. {
  311. "command": "notebook:enable-output-scrolling",
  312. "selector": ".jp-Notebook",
  313. "rank": 2
  314. },
  315. {
  316. "command": "notebook:disable-output-scrolling",
  317. "selector": ".jp-Notebook",
  318. "rank": 3
  319. },
  320. {
  321. "type": "separator",
  322. "selector": ".jp-Notebook",
  323. "rank": 4
  324. },
  325. {
  326. "command": "notebook:undo-cell-action",
  327. "selector": ".jp-Notebook",
  328. "rank": 5
  329. },
  330. {
  331. "command": "notebook:redo-cell-action",
  332. "selector": ".jp-Notebook",
  333. "rank": 6
  334. },
  335. {
  336. "command": "notebook:restart-kernel",
  337. "selector": ".jp-Notebook",
  338. "rank": 7
  339. },
  340. {
  341. "type": "separator",
  342. "selector": ".jp-Notebook",
  343. "rank": 8
  344. },
  345. {
  346. "command": "notebook:create-console",
  347. "selector": ".jp-Notebook",
  348. "rank": 9
  349. }
  350. ]
  351. },
  352. "jupyter.lab.shortcuts": [
  353. {
  354. "command": "notebook:change-cell-to-code",
  355. "keys": ["Y"],
  356. "selector": ".jp-Notebook:focus"
  357. },
  358. {
  359. "command": "notebook:change-cell-to-heading-1",
  360. "keys": ["1"],
  361. "selector": ".jp-Notebook:focus"
  362. },
  363. {
  364. "command": "notebook:change-cell-to-heading-2",
  365. "keys": ["2"],
  366. "selector": ".jp-Notebook:focus"
  367. },
  368. {
  369. "command": "notebook:change-cell-to-heading-3",
  370. "keys": ["3"],
  371. "selector": ".jp-Notebook:focus"
  372. },
  373. {
  374. "command": "notebook:change-cell-to-heading-4",
  375. "keys": ["4"],
  376. "selector": ".jp-Notebook:focus"
  377. },
  378. {
  379. "command": "notebook:change-cell-to-heading-5",
  380. "keys": ["5"],
  381. "selector": ".jp-Notebook:focus"
  382. },
  383. {
  384. "command": "notebook:change-cell-to-heading-6",
  385. "keys": ["6"],
  386. "selector": ".jp-Notebook:focus"
  387. },
  388. {
  389. "command": "notebook:change-cell-to-markdown",
  390. "keys": ["M"],
  391. "selector": ".jp-Notebook:focus"
  392. },
  393. {
  394. "command": "notebook:change-cell-to-raw",
  395. "keys": ["R"],
  396. "selector": ".jp-Notebook:focus"
  397. },
  398. {
  399. "command": "notebook:copy-cell",
  400. "keys": ["C"],
  401. "selector": ".jp-Notebook:focus"
  402. },
  403. {
  404. "command": "notebook:cut-cell",
  405. "keys": ["X"],
  406. "selector": ".jp-Notebook:focus"
  407. },
  408. {
  409. "command": "notebook:delete-cell",
  410. "keys": ["D", "D"],
  411. "selector": ".jp-Notebook:focus"
  412. },
  413. {
  414. "command": "notebook:enter-command-mode",
  415. "keys": ["Escape"],
  416. "selector": ".jp-Notebook.jp-mod-editMode"
  417. },
  418. {
  419. "command": "notebook:enter-command-mode",
  420. "keys": ["Ctrl M"],
  421. "selector": ".jp-Notebook.jp-mod-editMode"
  422. },
  423. {
  424. "command": "notebook:enter-edit-mode",
  425. "keys": ["Enter"],
  426. "selector": ".jp-Notebook:focus"
  427. },
  428. {
  429. "command": "notebook:extend-marked-cells-above",
  430. "keys": ["Shift ArrowUp"],
  431. "selector": ".jp-Notebook:focus"
  432. },
  433. {
  434. "command": "notebook:extend-marked-cells-above",
  435. "keys": ["Shift K"],
  436. "selector": ".jp-Notebook:focus"
  437. },
  438. {
  439. "command": "notebook:extend-marked-cells-top",
  440. "keys": ["Shift Home"],
  441. "selector": ".jp-Notebook:focus"
  442. },
  443. {
  444. "command": "notebook:extend-marked-cells-below",
  445. "keys": ["Shift ArrowDown"],
  446. "selector": ".jp-Notebook:focus"
  447. },
  448. {
  449. "command": "notebook:extend-marked-cells-bottom",
  450. "keys": ["Shift End"],
  451. "selector": ".jp-Notebook:focus"
  452. },
  453. {
  454. "command": "notebook:extend-marked-cells-below",
  455. "keys": ["Shift J"],
  456. "selector": ".jp-Notebook:focus"
  457. },
  458. {
  459. "command": "notebook:insert-cell-above",
  460. "keys": ["A"],
  461. "selector": ".jp-Notebook:focus"
  462. },
  463. {
  464. "command": "notebook:insert-cell-below",
  465. "keys": ["B"],
  466. "selector": ".jp-Notebook:focus"
  467. },
  468. {
  469. "command": "notebook:merge-cells",
  470. "keys": ["Shift M"],
  471. "selector": ".jp-Notebook:focus"
  472. },
  473. {
  474. "command": "notebook:merge-cell-above",
  475. "keys": ["Ctrl Backspace"],
  476. "selector": ".jp-Notebook:focus"
  477. },
  478. {
  479. "command": "notebook:merge-cell-below",
  480. "keys": ["Ctrl Shift M"],
  481. "selector": ".jp-Notebook:focus"
  482. },
  483. {
  484. "command": "notebook:move-cursor-down",
  485. "keys": ["ArrowDown"],
  486. "selector": ".jp-Notebook:focus"
  487. },
  488. {
  489. "command": "notebook:move-cursor-down",
  490. "keys": ["J"],
  491. "selector": ".jp-Notebook:focus"
  492. },
  493. {
  494. "command": "notebook:move-cursor-up",
  495. "keys": ["ArrowUp"],
  496. "selector": ".jp-Notebook:focus"
  497. },
  498. {
  499. "command": "notebook:move-cursor-up",
  500. "keys": ["K"],
  501. "selector": ".jp-Notebook:focus"
  502. },
  503. {
  504. "command": "notebook:paste-cell-below",
  505. "keys": ["V"],
  506. "selector": ".jp-Notebook:focus"
  507. },
  508. {
  509. "command": "notebook:redo-cell-action",
  510. "keys": ["Shift Z"],
  511. "selector": ".jp-Notebook:focus"
  512. },
  513. {
  514. "command": "notebook:run-cell",
  515. "keys": ["Ctrl Enter"],
  516. "selector": ".jp-Notebook:focus"
  517. },
  518. {
  519. "command": "notebook:run-cell",
  520. "keys": ["Ctrl Enter"],
  521. "selector": ".jp-Notebook.jp-mod-editMode"
  522. },
  523. {
  524. "command": "notebook:run-cell-and-insert-below",
  525. "keys": ["Alt Enter"],
  526. "selector": ".jp-Notebook:focus"
  527. },
  528. {
  529. "command": "notebook:run-cell-and-insert-below",
  530. "keys": ["Alt Enter"],
  531. "selector": ".jp-Notebook.jp-mod-editMode"
  532. },
  533. {
  534. "command": "notebook:run-in-console",
  535. "keys": [""],
  536. "selector": ".jp-Notebook.jp-mod-editMode"
  537. },
  538. {
  539. "command": "notebook:run-cell-and-select-next",
  540. "keys": ["Shift Enter"],
  541. "selector": ".jp-Notebook.jp-mod-editMode"
  542. },
  543. {
  544. "command": "viewmenu:line-numbering",
  545. "keys": [""],
  546. "selector": ".jp-Notebook.jp-mod-commandMode"
  547. },
  548. {
  549. "command": "viewmenu:match-brackets",
  550. "keys": [""],
  551. "selector": ".jp-Notebook.jp-mod-commandMode"
  552. },
  553. {
  554. "command": "notebook:select-all",
  555. "keys": ["Accel A"],
  556. "selector": ".jp-Notebook:focus"
  557. },
  558. {
  559. "command": "notebook:split-cell-at-cursor",
  560. "keys": ["Ctrl Shift -"],
  561. "selector": ".jp-Notebook.jp-mod-editMode"
  562. },
  563. {
  564. "command": "notebook:toggle-all-cell-line-numbers",
  565. "keys": ["Shift L"],
  566. "selector": ".jp-Notebook:focus"
  567. },
  568. {
  569. "command": "notebook:toggle-cell-line-numbers",
  570. "keys": ["L"],
  571. "selector": ".jp-Notebook:focus"
  572. },
  573. {
  574. "command": "notebook:undo-cell-action",
  575. "keys": ["Z"],
  576. "selector": ".jp-Notebook:focus"
  577. }
  578. ],
  579. "title": "Notebook",
  580. "description": "Notebook settings.",
  581. "definitions": {
  582. "editorConfig": {
  583. "properties": {
  584. "autoClosingBrackets": {
  585. "type": "boolean"
  586. },
  587. "cursorBlinkRate": {
  588. "type": "number",
  589. "title": "Cursor blinking rate",
  590. "description": "Half-period in milliseconds used for cursor blinking. The default blink rate is 530ms. By setting this to zero, blinking can be disabled. A negative value hides the cursor entirely."
  591. },
  592. "fontFamily": {
  593. "type": ["string", "null"]
  594. },
  595. "fontSize": {
  596. "type": ["integer", "null"],
  597. "minimum": 1,
  598. "maximum": 100
  599. },
  600. "lineHeight": {
  601. "type": ["number", "null"]
  602. },
  603. "lineNumbers": {
  604. "type": "boolean"
  605. },
  606. "lineWrap": {
  607. "type": "string",
  608. "enum": ["off", "on", "wordWrapColumn", "bounded"]
  609. },
  610. "matchBrackets": {
  611. "type": "boolean"
  612. },
  613. "readOnly": {
  614. "type": "boolean"
  615. },
  616. "insertSpaces": {
  617. "type": "boolean"
  618. },
  619. "tabSize": {
  620. "type": "number"
  621. },
  622. "wordWrapColumn": {
  623. "type": "integer"
  624. },
  625. "rulers": {
  626. "type": "array",
  627. "items": {
  628. "type": "number"
  629. }
  630. },
  631. "codeFolding": {
  632. "type": "boolean"
  633. },
  634. "lineWiseCopyCut": {
  635. "type": "boolean"
  636. }
  637. },
  638. "additionalProperties": false,
  639. "type": "object"
  640. }
  641. },
  642. "properties": {
  643. "codeCellConfig": {
  644. "title": "Code Cell Configuration",
  645. "description": "The configuration for all code cells.",
  646. "$ref": "#/definitions/editorConfig",
  647. "default": {
  648. "autoClosingBrackets": false,
  649. "cursorBlinkRate": 530,
  650. "fontFamily": null,
  651. "fontSize": null,
  652. "lineHeight": null,
  653. "lineNumbers": false,
  654. "lineWrap": "off",
  655. "matchBrackets": true,
  656. "readOnly": false,
  657. "insertSpaces": true,
  658. "tabSize": 4,
  659. "wordWrapColumn": 80,
  660. "rulers": [],
  661. "codeFolding": false,
  662. "lineWiseCopyCut": true
  663. }
  664. },
  665. "defaultCell": {
  666. "title": "Default cell type",
  667. "description": "The default type (markdown, code, or raw) for new cells",
  668. "type": "string",
  669. "enum": ["code", "markdown", "raw"],
  670. "default": "code"
  671. },
  672. "kernelShutdown": {
  673. "title": "Shut down kernel",
  674. "description": "Whether to shut down or not the kernel when closing a notebook.",
  675. "type": "boolean",
  676. "default": false
  677. },
  678. "markdownCellConfig": {
  679. "title": "Markdown Cell Configuration",
  680. "description": "The configuration for all markdown cells.",
  681. "$ref": "#/definitions/editorConfig",
  682. "default": {
  683. "autoClosingBrackets": false,
  684. "cursorBlinkRate": 530,
  685. "fontFamily": null,
  686. "fontSize": null,
  687. "lineHeight": null,
  688. "lineNumbers": false,
  689. "lineWrap": "on",
  690. "matchBrackets": false,
  691. "readOnly": false,
  692. "insertSpaces": true,
  693. "tabSize": 4,
  694. "wordWrapColumn": 80,
  695. "rulers": [],
  696. "codeFolding": false,
  697. "lineWiseCopyCut": true
  698. }
  699. },
  700. "rawCellConfig": {
  701. "title": "Raw Cell Configuration",
  702. "description": "The configuration for all raw cells.",
  703. "$ref": "#/definitions/editorConfig",
  704. "default": {
  705. "autoClosingBrackets": false,
  706. "cursorBlinkRate": 530,
  707. "fontFamily": null,
  708. "fontSize": null,
  709. "lineHeight": null,
  710. "lineNumbers": false,
  711. "lineWrap": "on",
  712. "matchBrackets": false,
  713. "readOnly": false,
  714. "insertSpaces": true,
  715. "tabSize": 4,
  716. "wordWrapColumn": 80,
  717. "rulers": [],
  718. "codeFolding": false,
  719. "lineWiseCopyCut": true
  720. }
  721. },
  722. "scrollPastEnd": {
  723. "title": "Scroll past last cell",
  724. "description": "Whether to be able to scroll so the last cell is at the top of the panel",
  725. "type": "boolean",
  726. "default": true
  727. },
  728. "recordTiming": {
  729. "title": "Recording timing",
  730. "description": "Should timing data be recorded in cell metadata",
  731. "type": "boolean",
  732. "default": false
  733. },
  734. "numberCellsToRenderDirectly": {
  735. "title": "Number of cells to render directly",
  736. "description": "Define the number of cells to render directly when virtual notebook intersection observer is available",
  737. "type": "number",
  738. "default": 20
  739. },
  740. "renderCellOnIdle": {
  741. "title": "Render cell on browser idle time",
  742. "description": "Defines if the placeholder cells should be rendered when the browser is idle",
  743. "type": "boolean",
  744. "default": true
  745. },
  746. "observedTopMargin": {
  747. "title": "Observed top margin",
  748. "description": "Defines the observed top margin for the virtual notebook, set a positive number of pixels to render cells above the visible view",
  749. "type": "string",
  750. "default": "1000px"
  751. },
  752. "observedBottomMargin": {
  753. "title": "Observed bottom margin",
  754. "description": "Defines the observed bottom margin for the virtual notebook, set a positive number of pixels to render cells below the visible view",
  755. "type": "string",
  756. "default": "1000px"
  757. },
  758. "maxNumberOutputs": {
  759. "title": "The maximum number of output cells to to be rendered in the output area. Set to 0 to have the complete display.",
  760. "description": "Defines the maximum number of output cells to to to be rendered in the output area for cells with many outputs. The output area will have a head and a tail, and the outputs between will be trimmed and not displayed unless the user clicks on the information message.",
  761. "type": "number",
  762. "default": 50
  763. }
  764. },
  765. "additionalProperties": false,
  766. "type": "object"
  767. }