tracker.json 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873
  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. "command": "notebook:toggle-render-side-by-side-current",
  169. "rank": 12
  170. },
  171. {
  172. "type": "separator",
  173. "rank": 12
  174. }
  175. ]
  176. },
  177. {
  178. "id": "jp-mainmenu-run",
  179. "items": [
  180. {
  181. "type": "separator",
  182. "rank": 10
  183. },
  184. {
  185. "command": "notebook:run-cell-and-insert-below",
  186. "rank": 10
  187. },
  188. {
  189. "command": "notebook:run-cell",
  190. "rank": 10
  191. },
  192. {
  193. "command": "notebook:run-in-console",
  194. "rank": 10
  195. },
  196. {
  197. "type": "separator",
  198. "rank": 11
  199. },
  200. {
  201. "command": "notebook:run-all-above",
  202. "rank": 11
  203. },
  204. {
  205. "command": "notebook:run-all-below",
  206. "rank": 11
  207. },
  208. {
  209. "type": "separator",
  210. "rank": 12
  211. },
  212. {
  213. "command": "notebook:render-all-markdown",
  214. "rank": 12
  215. },
  216. {
  217. "type": "separator",
  218. "rank": 12
  219. }
  220. ]
  221. },
  222. {
  223. "id": "jp-mainmenu-kernel",
  224. "items": [
  225. {
  226. "command": "notebook:restart-and-run-to-selected",
  227. "rank": 1
  228. }
  229. ]
  230. }
  231. ],
  232. "context": [
  233. {
  234. "type": "separator",
  235. "selector": ".jp-Notebook .jp-Cell",
  236. "rank": 0
  237. },
  238. {
  239. "command": "notebook:cut-cell",
  240. "selector": ".jp-Notebook .jp-Cell",
  241. "rank": 1
  242. },
  243. {
  244. "command": "notebook:copy-cell",
  245. "selector": ".jp-Notebook .jp-Cell",
  246. "rank": 2
  247. },
  248. {
  249. "command": "notebook:paste-cell-below",
  250. "selector": ".jp-Notebook .jp-Cell",
  251. "rank": 3
  252. },
  253. {
  254. "type": "separator",
  255. "selector": ".jp-Notebook .jp-Cell",
  256. "rank": 4
  257. },
  258. {
  259. "command": "notebook:delete-cell",
  260. "selector": ".jp-Notebook .jp-Cell",
  261. "rank": 5
  262. },
  263. {
  264. "type": "separator",
  265. "selector": ".jp-Notebook .jp-Cell",
  266. "rank": 6
  267. },
  268. {
  269. "command": "notebook:split-cell-at-cursor",
  270. "selector": ".jp-Notebook .jp-Cell",
  271. "rank": 7
  272. },
  273. {
  274. "command": "notebook:merge-cells",
  275. "selector": ".jp-Notebook .jp-Cell",
  276. "rank": 8
  277. },
  278. {
  279. "command": "notebook:merge-cell-above",
  280. "selector": ".jp-Notebook .jp-Cell",
  281. "rank": 8
  282. },
  283. {
  284. "command": "notebook:merge-cell-below",
  285. "selector": ".jp-Notebook .jp-Cell",
  286. "rank": 8
  287. },
  288. {
  289. "type": "separator",
  290. "selector": ".jp-Notebook .jp-Cell",
  291. "rank": 9
  292. },
  293. {
  294. "command": "notebook:create-output-view",
  295. "selector": ".jp-Notebook .jp-CodeCell",
  296. "rank": 10
  297. },
  298. {
  299. "type": "separator",
  300. "selector": ".jp-Notebook .jp-CodeCell",
  301. "rank": 11
  302. },
  303. {
  304. "command": "notebook:clear-cell-output",
  305. "selector": ".jp-Notebook .jp-CodeCell",
  306. "rank": 12
  307. },
  308. {
  309. "command": "notebook:clear-all-cell-outputs",
  310. "selector": ".jp-Notebook",
  311. "rank": 13
  312. },
  313. {
  314. "type": "separator",
  315. "selector": ".jp-Notebook",
  316. "rank": 20
  317. },
  318. {
  319. "command": "notebook:enable-output-scrolling",
  320. "selector": ".jp-Notebook",
  321. "rank": 21
  322. },
  323. {
  324. "command": "notebook:disable-output-scrolling",
  325. "selector": ".jp-Notebook",
  326. "rank": 22
  327. },
  328. {
  329. "type": "separator",
  330. "selector": ".jp-Notebook",
  331. "rank": 30
  332. },
  333. {
  334. "command": "notebook:undo-cell-action",
  335. "selector": ".jp-Notebook",
  336. "rank": 31
  337. },
  338. {
  339. "command": "notebook:redo-cell-action",
  340. "selector": ".jp-Notebook",
  341. "rank": 32
  342. },
  343. {
  344. "command": "notebook:restart-kernel",
  345. "selector": ".jp-Notebook",
  346. "rank": 33
  347. },
  348. {
  349. "type": "separator",
  350. "selector": ".jp-Notebook",
  351. "rank": 40
  352. },
  353. {
  354. "command": "notebook:create-console",
  355. "selector": ".jp-Notebook",
  356. "rank": 41
  357. },
  358. {
  359. "command": "notebook:create-subshell-console",
  360. "selector": ".jp-Notebook",
  361. "rank": 42
  362. },
  363. {
  364. "command": "notebook:create-new",
  365. "selector": ".jp-DirListing-content",
  366. "rank": 52,
  367. "args": {
  368. "isContextMenu": true
  369. }
  370. }
  371. ]
  372. },
  373. "jupyter.lab.shortcuts": [
  374. {
  375. "command": "notebook:change-cell-to-code",
  376. "keys": ["Y"],
  377. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  378. },
  379. {
  380. "command": "notebook:change-cell-to-heading-1",
  381. "keys": ["1"],
  382. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  383. },
  384. {
  385. "command": "notebook:change-cell-to-heading-2",
  386. "keys": ["2"],
  387. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  388. },
  389. {
  390. "command": "notebook:change-cell-to-heading-3",
  391. "keys": ["3"],
  392. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  393. },
  394. {
  395. "command": "notebook:change-cell-to-heading-4",
  396. "keys": ["4"],
  397. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  398. },
  399. {
  400. "command": "notebook:change-cell-to-heading-5",
  401. "keys": ["5"],
  402. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  403. },
  404. {
  405. "command": "notebook:change-cell-to-heading-6",
  406. "keys": ["6"],
  407. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  408. },
  409. {
  410. "command": "notebook:change-cell-to-markdown",
  411. "keys": ["M"],
  412. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  413. },
  414. {
  415. "command": "notebook:change-cell-to-raw",
  416. "keys": ["R"],
  417. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  418. },
  419. {
  420. "command": "notebook:copy-cell",
  421. "keys": ["C"],
  422. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  423. },
  424. {
  425. "command": "notebook:cut-cell",
  426. "keys": ["X"],
  427. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  428. },
  429. {
  430. "command": "notebook:delete-cell",
  431. "keys": ["D", "D"],
  432. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  433. },
  434. {
  435. "command": "notebook:enter-command-mode",
  436. "keys": ["Escape"],
  437. "selector": ".jp-Notebook.jp-mod-editMode"
  438. },
  439. {
  440. "command": "notebook:enter-command-mode",
  441. "keys": ["Ctrl M"],
  442. "selector": ".jp-Notebook.jp-mod-editMode"
  443. },
  444. {
  445. "command": "notebook:access-previous-history-entry",
  446. "keys": ["Alt ArrowUp"],
  447. "selector": ".jp-Notebook.jp-mod-editMode"
  448. },
  449. {
  450. "command": "notebook:access-next-history-entry",
  451. "keys": ["Alt ArrowDown"],
  452. "selector": ".jp-Notebook.jp-mod-editMode"
  453. },
  454. {
  455. "command": "notebook:enter-edit-mode",
  456. "keys": ["Enter"],
  457. "selector": ".jp-Notebook.jp-mod-commandMode .jp-Cell:focus"
  458. },
  459. {
  460. "command": "notebook:extend-marked-cells-above",
  461. "keys": ["Shift ArrowUp"],
  462. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  463. },
  464. {
  465. "command": "notebook:extend-marked-cells-above",
  466. "keys": ["Shift K"],
  467. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  468. },
  469. {
  470. "command": "notebook:extend-marked-cells-top",
  471. "keys": ["Shift Home"],
  472. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  473. },
  474. {
  475. "command": "notebook:extend-marked-cells-below",
  476. "keys": ["Shift ArrowDown"],
  477. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  478. },
  479. {
  480. "command": "notebook:extend-marked-cells-bottom",
  481. "keys": ["Shift End"],
  482. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  483. },
  484. {
  485. "command": "notebook:extend-marked-cells-below",
  486. "keys": ["Shift J"],
  487. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  488. },
  489. {
  490. "command": "notebook:insert-cell-above",
  491. "keys": ["A"],
  492. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  493. },
  494. {
  495. "command": "notebook:insert-cell-below",
  496. "keys": ["B"],
  497. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  498. },
  499. {
  500. "command": "notebook:merge-cells",
  501. "keys": ["Shift M"],
  502. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  503. },
  504. {
  505. "command": "notebook:merge-cell-above",
  506. "keys": ["Ctrl Backspace"],
  507. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  508. },
  509. {
  510. "command": "notebook:merge-cell-below",
  511. "keys": ["Ctrl Shift M"],
  512. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  513. },
  514. {
  515. "command": "notebook:move-cursor-down",
  516. "keys": ["ArrowDown"],
  517. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  518. },
  519. {
  520. "command": "notebook:move-cursor-down",
  521. "keys": ["J"],
  522. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  523. },
  524. {
  525. "command": "notebook:move-cursor-up",
  526. "keys": ["ArrowUp"],
  527. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  528. },
  529. {
  530. "command": "notebook:move-cursor-up",
  531. "keys": ["K"],
  532. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  533. },
  534. {
  535. "command": "notebook:move-cursor-heading-above-or-collapse",
  536. "keys": ["ArrowLeft"],
  537. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  538. },
  539. {
  540. "command": "notebook:move-cursor-heading-below-or-expand",
  541. "keys": ["ArrowRight"],
  542. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  543. },
  544. {
  545. "command": "notebook:insert-heading-above",
  546. "keys": ["Shift A"],
  547. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  548. },
  549. {
  550. "command": "notebook:insert-heading-below",
  551. "keys": ["Shift B"],
  552. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  553. },
  554. {
  555. "command": "notebook:collapse-all-headings",
  556. "keys": ["Ctrl Shift ArrowLeft"],
  557. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  558. },
  559. {
  560. "command": "notebook:expand-all-headings",
  561. "keys": ["Ctrl Shift ArrowRight"],
  562. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  563. },
  564. {
  565. "command": "notebook:paste-cell-below",
  566. "keys": ["V"],
  567. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  568. },
  569. {
  570. "command": "notebook:redo-cell-action",
  571. "keys": ["Shift Z"],
  572. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  573. },
  574. {
  575. "command": "notebook:run-cell",
  576. "macKeys": ["Ctrl Enter"],
  577. "keys": [],
  578. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  579. },
  580. {
  581. "command": "notebook:run-cell",
  582. "macKeys": ["Ctrl Enter"],
  583. "keys": [],
  584. "selector": ".jp-Notebook.jp-mod-editMode"
  585. },
  586. {
  587. "command": "notebook:run-cell",
  588. "keys": ["Accel Enter"],
  589. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  590. },
  591. {
  592. "command": "notebook:run-cell",
  593. "keys": ["Accel Enter"],
  594. "selector": ".jp-Notebook.jp-mod-editMode"
  595. },
  596. {
  597. "command": "notebook:run-cell-and-insert-below",
  598. "keys": ["Alt Enter"],
  599. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  600. },
  601. {
  602. "command": "notebook:run-cell-and-insert-below",
  603. "keys": ["Alt Enter"],
  604. "selector": ".jp-Notebook.jp-mod-editMode"
  605. },
  606. {
  607. "command": "notebook:run-in-console",
  608. "keys": [""],
  609. "selector": ".jp-Notebook.jp-mod-editMode"
  610. },
  611. {
  612. "command": "notebook:run-cell-and-select-next",
  613. "keys": ["Shift Enter"],
  614. "selector": ".jp-Notebook.jp-mod-editMode"
  615. },
  616. {
  617. "command": "viewmenu:line-numbering",
  618. "keys": ["Shift L"],
  619. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  620. },
  621. {
  622. "command": "viewmenu:match-brackets",
  623. "keys": [""],
  624. "selector": ".jp-Notebook.jp-mod-commandMode"
  625. },
  626. {
  627. "command": "notebook:select-all",
  628. "keys": ["Accel A"],
  629. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  630. },
  631. {
  632. "command": "notebook:split-cell-at-cursor",
  633. "keys": ["Ctrl Shift -"],
  634. "selector": ".jp-Notebook.jp-mod-editMode"
  635. },
  636. {
  637. "command": "notebook:undo-cell-action",
  638. "keys": ["Z"],
  639. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  640. },
  641. {
  642. "command": "notebook:toggle-render-side-by-side-current",
  643. "keys": ["Shift R"],
  644. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  645. },
  646. {
  647. "command": "notebook:move-cell-up",
  648. "keys": ["Ctrl Shift ArrowUp"],
  649. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  650. },
  651. {
  652. "command": "notebook:move-cell-down",
  653. "keys": ["Ctrl Shift ArrowDown"],
  654. "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
  655. }
  656. ],
  657. "title": "Notebook",
  658. "description": "Notebook settings.",
  659. "definitions": {
  660. "kernelStatusConfig": {
  661. "type": "object",
  662. "additionalProperties": false,
  663. "properties": {
  664. "showOnStatusBar": {
  665. "type": "boolean",
  666. "title": "Show kernel status on toolbar or status bar.",
  667. "description": "If `true`, the kernel status progression will be displayed in the status bar otherwise it will be in the toolbar.",
  668. "default": false
  669. },
  670. "showProgress": {
  671. "type": "boolean",
  672. "title": "Show execution progress.",
  673. "default": true
  674. },
  675. "showJumpToRecentExecutionButton": {
  676. "type": "boolean",
  677. "title": "Show jump to most recently executed/executing cell button",
  678. "description": "If enabled, displays a button that scrolls to the currently executing cell or, if none, the most recently executed cell. scrolls to the currently executing cell or, if none, the most recently executed cell. The button shows when hovering over the kernel execution indicator. Enabling this option automatically enables recording of execution timing metadata.",
  679. "default": false
  680. }
  681. }
  682. }
  683. },
  684. "properties": {
  685. "enableKernelInitNotification": {
  686. "title": "Notify about code execution if kernel is initializing",
  687. "description": "Display notification if code cells are run while kernel is initializing.",
  688. "type": "boolean",
  689. "default": false
  690. },
  691. "codeCellConfig": {
  692. "title": "Code Cell Configuration",
  693. "description": "The configuration for all code cells; it will override the CodeMirror default configuration.",
  694. "type": "object",
  695. "default": {
  696. "lineNumbers": false,
  697. "lineWrap": false
  698. }
  699. },
  700. "defaultCell": {
  701. "title": "Default cell type",
  702. "description": "The default type (markdown, code, or raw) for new cells",
  703. "type": "string",
  704. "enum": ["code", "markdown", "raw"],
  705. "default": "code"
  706. },
  707. "autoStartDefaultKernel": {
  708. "title": "Automatically Start Preferred Kernel",
  709. "description": "Whether to automatically start the preferred kernel.",
  710. "type": "boolean",
  711. "default": false
  712. },
  713. "showInputPlaceholder": {
  714. "title": "Show input placeholder",
  715. "description": "Show placeholder text for standard input fields (requires reload)",
  716. "type": "boolean",
  717. "default": true
  718. },
  719. "inputHistoryScope": {
  720. "type": "string",
  721. "default": "global",
  722. "enum": ["global", "session"],
  723. "title": "Input History Scope",
  724. "description": "Whether the line history for standard input (e.g. the ipdb prompt) should kept separately for different kernel sessions (`session`) or combined (`global`)."
  725. },
  726. "kernelShutdown": {
  727. "title": "Shut down kernel",
  728. "description": "Whether to shut down or not the kernel when closing a notebook.",
  729. "type": "boolean",
  730. "default": false
  731. },
  732. "markdownCellConfig": {
  733. "title": "Markdown Cell Configuration",
  734. "description": "The configuration for all markdown cells; it will override the CodeMirror default configuration.",
  735. "type": "object",
  736. "default": {
  737. "lineNumbers": false,
  738. "matchBrackets": false
  739. }
  740. },
  741. "autoRenderMarkdownCells": {
  742. "title": "Automatically render markdown when cursor leaves markdown cells",
  743. "description": "Whether to render markdown cells when the cursor moves out of them.",
  744. "type": "boolean",
  745. "default": false
  746. },
  747. "rawCellConfig": {
  748. "title": "Raw Cell Configuration",
  749. "description": "The configuration for all raw cells; it will override the CodeMirror default configuration.",
  750. "type": "object",
  751. "default": {
  752. "lineNumbers": false,
  753. "matchBrackets": false
  754. }
  755. },
  756. "scrollPastEnd": {
  757. "title": "Scroll past last cell",
  758. "description": "Whether to be able to scroll so the last cell is at the top of the panel",
  759. "type": "boolean",
  760. "default": true
  761. },
  762. "recordTiming": {
  763. "title": "Recording timing",
  764. "description": "Should timing data be recorded in cell metadata",
  765. "type": "boolean",
  766. "default": false
  767. },
  768. "overscanCount": {
  769. "title": "Number of cells to render outside the viewport",
  770. "description": "In 'full' windowing mode, this is the number of cells above and below the viewport.",
  771. "type": "number",
  772. "default": 1,
  773. "minimum": 1
  774. },
  775. "maxNumberOutputs": {
  776. "title": "The maximum number of output cells to be rendered in the output area.",
  777. "description": "Defines the maximum number of output cells to be rendered in the output area for cells with many outputs. The output area will have a head and the remaining outputs will be trimmed and not displayed unless the user clicks on the information message. Set to 0 to have the complete display.",
  778. "type": "number",
  779. "default": 50
  780. },
  781. "scrollHeadingToTop": {
  782. "title": "Scroll heading to top",
  783. "description": "Whether to scroll heading to the document top when selecting it in the table of contents.",
  784. "type": "boolean",
  785. "default": true
  786. },
  787. "showEditorForReadOnlyMarkdown": {
  788. "title": "Show editor for read-only Markdown cells",
  789. "description": "Should an editor be shown for read-only markdown",
  790. "type": "boolean",
  791. "default": true
  792. },
  793. "kernelStatus": {
  794. "title": "Kernel status icon configuration",
  795. "description": "Defines the position and components of execution progress indicator.",
  796. "$ref": "#/definitions/kernelStatusConfig",
  797. "default": {
  798. "showOnStatusBar": false,
  799. "showProgress": true,
  800. "showJumpToRecentExecutionButton": false
  801. }
  802. },
  803. "documentWideUndoRedo": {
  804. "title": "Enable undo/redo actions at the notebook document level.",
  805. "description": "Enables the undo/redo actions at the notebook document level; aka undoing within a cell may undo the latest notebook change that happen in another cell. This is deprecated and will be removed in 5.0.0.",
  806. "type": "boolean",
  807. "default": false
  808. },
  809. "showHiddenCellsButton": {
  810. "type": "boolean",
  811. "title": "Show hidden cells button if collapsed",
  812. "description": "If set to true, a button is shown below collapsed headings, indicating how many cells are hidden beneath the collapsed heading.",
  813. "default": true
  814. },
  815. "renderingLayout": {
  816. "title": "Rendering Layout",
  817. "description": "Global setting to define the rendering layout in notebooks. 'default' or 'side-by-side' are supported.",
  818. "enum": ["default", "side-by-side"],
  819. "default": "default"
  820. },
  821. "sideBySideLeftMarginOverride": {
  822. "title": "Side-by-side left margin override",
  823. "description": "Side-by-side left margin override.",
  824. "type": "string",
  825. "default": "10px"
  826. },
  827. "sideBySideRightMarginOverride": {
  828. "title": "Side-by-side right margin override",
  829. "description": "Side-by-side right margin override.",
  830. "type": "string",
  831. "default": "10px"
  832. },
  833. "sideBySideOutputRatio": {
  834. "title": "Side-by-side output ratio",
  835. "description": "For the side-by-side rendering, the side-by-side output ratio defines the width of the output vs the input. Set 1 for same size, > 1 for larger output, < 1 for smaller output.",
  836. "type": "number",
  837. "default": 1,
  838. "minimum": 0
  839. },
  840. "windowingMode": {
  841. "title": "Windowing mode",
  842. "description": "- 'defer': Improve loading time - Wait for idle CPU cycles to attach out of viewport cells\n- 'full': Best performance with side effects - Attach to the DOM only cells in viewport\n- 'none': Worst performance without side effects - Attach all cells to the viewport\n- 'contentVisibility': Browser-optimized rendering - Use content-visibility to skip offscreen cells",
  843. "enum": ["defer", "full", "none", "contentVisibility"],
  844. "default": "contentVisibility"
  845. },
  846. "accessKernelHistory": {
  847. "title": "Kernel history access",
  848. "description": "Enable kernel history access from notebook cells. Enabling this allows you to scroll through kernel history from a given notebook cell.",
  849. "type": "boolean",
  850. "default": false
  851. },
  852. "addExtraLineOnCellMerge": {
  853. "title": "Add extra line when merging cells",
  854. "description": "Whether to add an extra blank line between cells when merging them. When enabled, cells are joined with double newlines. When disabled, cells are joined with single newlines.",
  855. "type": "boolean",
  856. "default": true
  857. },
  858. "showMinimap": {
  859. "title": "Show minimap",
  860. "description": "Whether to show the notebook minimap (virtual scrollbar) by default for all notebooks.",
  861. "type": "boolean",
  862. "default": false
  863. },
  864. "useSystemClipboardForCells": {
  865. "title": "Use system clipboard for copy/cut/paste of cells",
  866. "description": "Whether to use the system clipboard for copy/cut/paste of cells. When enabled, cell contents are copied to the system clipboard, allowing copy/cut/paste between different notebook tabs or browser windows.",
  867. "type": "boolean",
  868. "default": false
  869. }
  870. },
  871. "additionalProperties": false,
  872. "type": "object"
  873. }