Commit Graph

255 Commits

Author SHA1 Message Date
Johannes Rieken
68a6f1c30e look up editor by id, slimmer dtos 2021-03-05 17:22:05 +01:00
Johannes Rieken
c024db9f41 NotebookEditorSelectionChangeEvent should contain selection ranges, not cells 2021-03-05 15:41:56 +01:00
Johannes Rieken
997c9f2930 add showNotebookDocument overload or uri 2021-03-05 14:50:47 +01:00
rebornix
ba3bd11ac7 fix kernel cache and add unit test for kernel reg. 2021-02-22 16:56:31 -08:00
rebornix
ed08a14111 selections[0] is primary. 2021-02-22 10:16:57 -08:00
rebornix
c38aa5a341 file cleaning. 2021-02-21 23:13:03 -08:00
rebornix
dea95d3e4f map handles to cellrange in UI. 2021-02-21 22:24:20 -08:00
rebornix
de956ce8bd differenciate selection and focus. 2021-02-21 19:35:26 -08:00
rebornix
e8966ecaa9 notebookeditor.selections 2021-02-19 17:03:33 -08:00
Johannes Rieken
3723081d63 separate vscode.NotebookEditor from ExtHostNotebookEditor 2021-02-19 17:05:25 +01:00
Johannes Rieken
e09a46e017 use document directly, not editor.document, for $acceptDocumentPropertiesChanged, fyi @rebornix 2021-02-19 15:08:43 +01:00
Johannes Rieken
4a74fa81c1 💄 2021-02-19 15:04:17 +01:00
Johannes Rieken
57cd5d4936 🪓 remove unused $acceptDisplayOrder-RPC and everything around it 2021-02-19 15:02:43 +01:00
Johannes Rieken
d240f119d4 strictness (fail fast) in extHostNotebook 2021-02-19 14:54:32 +01:00
Johannes Rieken
93ec7113e1 don't bind notebook document to a provider/extension, do then when calling backup, fixes https://github.com/microsoft/vscode/issues/117035 2021-02-19 14:54:32 +01:00
Johannes Rieken
7e7a71d733 💄 more supportsBackup removal 2021-02-19 14:54:32 +01:00
rebornix
9c77f4d86a add NotebookDocument.save(). 2021-02-18 11:57:49 -08:00
rebornix
e8836805dc remove attachedEditors. 2021-02-18 11:56:18 -08:00
Johannes Rieken
5870204e95 make notebook and cell metadata classes, https://github.com/microsoft/vscode/issues/116333 2021-02-17 14:19:49 +01:00
rebornix
b3f8737839 fix #116808. 2021-02-16 16:40:51 -08:00
Johannes Rieken
974b214334 rename: resolveNotebook is openNotebook 2021-02-16 14:50:57 +01:00
Johannes Rieken
5f48de03e6 use metadata classes for cell and notebook document implementation, https://github.com/microsoft/vscode/issues/116333 2021-02-15 16:54:40 +01:00
Johannes Rieken
3e2aebd790 Revert "use metadata classes inside NotebookCell and NotebookDocument"
This reverts commit 8848ddd9c0.
2021-02-15 16:06:48 +01:00
Johannes Rieken
18c04a5716 make vscode.NotebookCellRange a class 2021-02-15 16:06:48 +01:00
Johannes Rieken
8848ddd9c0 use metadata classes inside NotebookCell and NotebookDocument 2021-02-15 15:29:33 +01:00
Johannes Rieken
196bf678a1 reset dirty state when reverting a notebook, update extension host when dirty state of a notebook (working copy) changes 2021-02-15 11:44:51 +01:00
Johannes Rieken
ccc28e3726 Remove languages property from NotebookData and NotebookDocument 2021-02-11 14:21:40 +01:00
Johannes Rieken
9737b1aad1 move INotebookKernelInfoDto2 to protocol, separate kernel from dto, renames 2021-02-11 11:59:32 +01:00
Johannes Rieken
7d5d5f5e7f wire up supportedLanguages from extension kernel 2021-02-11 09:33:14 +01:00
rebornix
779938d5e4 fix outputs loading 2021-02-08 16:53:47 -08:00
Johannes Rieken
3edc9925e0 NotebookDocument#metadata is readonly 2021-02-08 18:38:17 +01:00
Johannes Rieken
6f936f91fb remove need to massage ids onto output items 2021-02-05 16:03:50 +01:00
Johannes Rieken
c399d039a7 debt - don't expose MainThreadNotebookShape from NotebookEditorDecorationType 2021-02-03 09:30:38 +01:00
rebornix
04abcc0338 yarn watchd does not detect interface change again. 2021-02-02 11:44:47 -08:00
rebornix
5ec17aba95 fix build in exthostnotebook 2021-02-02 11:21:54 -08:00
rebornix
6794401b7c minimal changes 2021-01-26 08:15:15 -08:00
rebornix
86a8818059 multi selection in notebook 2021-01-25 17:29:13 -08:00
rebornix
9f9d1a76d9 support kernel id and extension 2021-01-21 15:57:28 -08:00
Johannes Rieken
0ab259ff27 remove unsued code, fyi @roblourens, https://github.com/microsoft/vscode/issues/106741 2020-11-25 17:02:29 +01:00
rebornix
fd15b93261 remove layer breaker 2020-11-24 11:12:26 -08:00
rebornix
23e7e2fef0 showNotebookDocument. 2020-11-24 10:29:07 -08:00
rebornix
2249f2aba5 fix #108406. openNotebookDocument. 2020-10-09 11:34:55 -07:00
rebornix
42e97f3c0a fix #107003. 2020-09-24 15:10:37 -07:00
rebornix
3093f84222 allow content providers to update content options. 2020-09-21 12:36:58 -07:00
rebornix
ab1f288baa multiple selectors 2020-09-18 14:44:16 -07:00
rebornix
e42a46ab35 Notebook document content options. 2020-09-17 17:13:29 -07:00
rebornix
39bc865422 💄 2020-09-17 10:09:46 -07:00
rebornix
40ebb1a853 content provider registration without static contribution. 2020-09-17 09:50:57 -07:00
rebornix
289bce5e1a nb decoration api first cut. 2020-09-16 14:27:04 -07:00
rebornix
2103630537 private outputs slice and unknown change. 2020-09-10 14:02:16 -07:00