Commit Graph

40 Commits

Author SHA1 Message Date
Johannes Rieken
d0cc52143b change IOutputItemDto to use real bytes, add many dedicated dto-types for transporting output (which cannot be bytes), remove metadata2 from renderer 2021-06-10 11:18:46 +02:00
Johannes Rieken
76fe0c90b0 make NotebookEditor#selections writeable, https://github.com/microsoft/vscode/issues/125275 2021-06-07 17:07:46 +02:00
Johannes Rieken
545b931b96 remove dedicated types for notebook and cell metadata 2021-06-01 14:50:53 +02:00
Connor Peet
59abb887f6 notebook: address messaging api changes 2021-05-20 10:54:52 -07:00
Johannes Rieken
e2c9703995 prefix api object with api-prefix, like apiCell 2021-04-21 15:34:44 +02:00
Johannes Rieken
9af75c08c5 remove ability to alter notebook output via WorkspaceEdit or NotebookEditorEdit 2021-04-21 11:42:58 +02:00
Johannes Rieken
11c3ba58af remove NotebookKernelProvider API and its implementation 2021-04-19 16:19:23 +02:00
rebornix
662ea12128 NotebookCellRange is now NotebookRange. 2021-04-15 13:09:37 -07:00
Johannes Rieken
9c0300872e simpler storing of ExtHostNotebookEditor 2021-04-14 18:43:12 +02:00
rebornix
9a00c870b9 remove NotebookEditor#selection. 2021-04-12 14:33:45 -07:00
Johannes Rieken
e200749f88 remove NotebookEditor#onDidDispose 2021-04-09 13:27:29 +02:00
Johannes Rieken
ca980ecfac update notebook editor view column when moving editors, https://github.com/microsoft/vscode/issues/115704 2021-03-31 18:09:39 +02:00
Johannes Rieken
fa48622fdf split mainThreadNotebook up into logical pieces
* notebookDocumentsAndEditors -> owns the truth of the notebooks and editor that extensions know about
* notebookEditor -> everything about editors
* notebookDocuments -> everything about documents
2021-03-31 15:44:31 +02:00
Rob Lourens
7b96cc4c8b Implement Execution API (#116416)
Implement new execution task API
#106744
Fix #105847
2021-03-22 11:27:00 -07:00
Johannes Rieken
fdd57917f3 don't mixin default metadata when "replacing" notebook metadata 2021-03-11 09:16:24 +01:00
Johannes Rieken
230e0fdc9a clean up, some ground work to support viewColumn, $acceptEditorPropertiesChanged must update all state before sending events, remove active notion from notebook editor 2021-03-05 17:22:06 +01: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
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
18c04a5716 make vscode.NotebookCellRange a class 2021-02-15 16:06:48 +01:00
rebornix
0544c1d391 remove legacy typings. 2021-02-08 14:48:26 -08:00
Johannes Rieken
809bbd7b62 move interface to its sole user 2021-02-08 11:35:07 +01:00
Johannes Rieken
6f936f91fb remove need to massage ids onto output items 2021-02-05 16:03:50 +01:00
Johannes Rieken
77bbee524f make extHost only send ITransformedDisplayOutputDto (convert error, text output inside the ext host) 2021-02-05 11:03:33 +01:00
rebornix
66635b8bd6 remove unknown content change in nb text model. 2021-02-02 12:54:11 -08:00
Johannes Rieken
4482c8794f workaround cyclic dependency issue 2020-09-28 09:31:18 +02:00
Johannes Rieken
0065a650b5 add new output to workspace edit 2020-09-28 09:17:05 +02:00
Johannes Rieken
1e7454f72a renames 2020-09-25 18:04:10 +02:00
Johannes Rieken
08695ede81 adopt changes after feedback round one 2020-09-25 18:00:11 +02:00
Johannes Rieken
b297be52ca new proposal for NotebookCellOutput, partial implementation 2020-09-25 11:44:23 +02:00
rebornix
289bce5e1a nb decoration api first cut. 2020-09-16 14:27:04 -07:00
Johannes Rieken
79e1ebbb7f add check no-op changes, https://github.com/microsoft/vscode/issues/105283 2020-09-15 10:22:12 +02:00
Johannes Rieken
06377cfaaa NotebookEditorEdit-api changes, https://github.com/microsoft/vscode/issues/105283 2020-09-14 10:19:06 +02:00
rebornix
2103630537 private outputs slice and unknown change. 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
Johannes Rieken
cfe2bb233e chore - remove ExtHostNotebookEditor#uri and use document.uri instead 2020-09-09 12:24:56 +02:00
Johannes Rieken
82ac7bacf3 chore - extract ExtHostNotebookEditor into its own file 2020-09-09 11:56:54 +02:00