Commit Graph

235 Commits

Author SHA1 Message Date
Johannes Rieken
7bca8a91b4 send correct delta after restarting extension host, https://github.com/microsoft/vscode/issues/115698 2021-02-18 18:09:45 +01:00
Johannes Rieken
2a12fd7202 dispose more things, https://github.com/microsoft/vscode/issues/115698 2021-02-18 17:36:29 +01:00
Johannes Rieken
a246f643ee debt, copy-paste police 2021-02-18 17:27:32 +01:00
Johannes Rieken
31e3a7794d merge NotebookController#reloadNotebook into notebook editor model, remove NotebookServce#resolve and add create and fetchData "primitives", https://github.com/microsoft/vscode/issues/114263 2021-02-18 16:05:54 +01:00
rebornix
83d540c4bf 💄 2021-02-17 08:06:54 -08: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
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
52f633d19c some 💄, some API todos 2021-02-12 19:08:34 +01:00
Johannes Rieken
cc0ccaf1c0 more disposing when dispose main thread notebooks, https://github.com/microsoft/vscode/issues/115698 2021-02-12 14:34:20 +01:00
Johannes Rieken
5a7711ac92 💄 2021-02-12 14:29:06 +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
55d267293b have a clear separation between KernelProvider and Kernel 2021-02-11 09:59:11 +01:00
rebornix
0df177fe39 fix tests. 2021-02-04 18:33:17 -08:00
rebornix
f2b87fd6cd Extensions do not update cell outputs/metadata directly. 2021-02-04 16:35:50 -08:00
rebornix
66635b8bd6 remove unknown content change in nb text model. 2021-02-02 12:54:11 -08:00
rebornix
04abcc0338 yarn watchd does not detect interface change again. 2021-02-02 11:44:47 -08:00
rebornix
b112052169 fix #114171 2021-01-25 14:19:59 -08:00
rebornix
7468a06012 Revert "fix #114171."
This reverts commit e32e353bfd.
2021-01-25 10:45:27 -08:00
rebornix
e32e353bfd fix #114171. 2021-01-14 15:18:16 -08:00
Matt Bierner
f0c758bdcc Support open to side from the 'open editor with' quick pick
Fixes #102124

This should enable open to side for custom editors and for notebooks
2020-12-18 16:58:24 -08:00
Johannes Rieken
aa36c6211b move duplicated code into central place 2020-11-30 14:51:54 +01:00
rebornix
3f0ada11fd core action active editor context should always have a view model. 2020-11-25 14:04:02 -08:00
rebornix
23e7e2fef0 showNotebookDocument. 2020-11-24 10:29:07 -08:00
Johannes Rieken
7ec1a6899c remove transformXYZOutput 2020-11-18 11:24:10 +01:00
rebornix
2249f2aba5 fix #108406. openNotebookDocument. 2020-10-09 11:34:55 -07:00
rebornix
bb7b1ef6b8 Use the same undo redo group for notebook editing 2020-10-05 10:28:40 -07:00
rebornix
677e4bcdc4 fix content provider closure. 2020-09-21 17:32:00 -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
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
9b4bc5ab50 applyEdits. 2020-09-14 14:36:32 -07:00
rebornix
59dcc5c912 notebook document data loss. 2020-09-11 10:57:47 -07:00
rebornix
f88fca5038 applyEdit supports begin/end selections. 2020-09-10 14:03:27 -07:00
rebornix
2103630537 private outputs slice and unknown change. 2020-09-10 14:02:16 -07:00
rebornix
b37c4b08e9 re #105735. batch apply edits. 2020-09-10 14:02:16 -07:00
Johannes Rieken
01f9355f65 debt - simplify metadata edit because we now have CellEditType.DocumentMetadata 2020-09-10 11:48:44 +02:00
rebornix
03960a5aa1 re #105735. no more udpateMetadata api. 2020-09-09 16:45:00 -07:00
rebornix
73a3c9ded3 re #105735. 2020-09-09 16:45:00 -07:00
rebornix
889fe1787b 💄 2020-09-09 14:40:44 -07:00
rebornix
69f26324d4 initialize notebook text model data only through ctor. 2020-09-09 14:40:44 -07:00
rebornix
8bc3145bc5 move dirty state to NotebookEditorModel. 2020-09-09 12:04:21 -07:00
rebornix
eb05b79e9b do not need isUntitled. 2020-09-09 12:04:20 -07:00
Johannes Rieken
e40d854df6 debt - IMainNotebookController#removeNotebookDocument 2020-09-09 20:01:35 +02:00
Johannes Rieken
951dd140b8 add replaceNotebookMetadata (should become replaceMetadata) to NotebookEditorEdit, https://github.com/microsoft/vscode/issues/105283 2020-09-09 10:44:45 +02:00
rebornix
1870a1c47e Merge remote-tracking branch 'origin/master' into rebornix/nbdebt 2020-09-08 14:10:32 -07:00
Johannes Rieken
8b0a7c9582 debt - remove _unInitializedDocuments 2020-09-08 19:56:24 +02:00