Rob Lourens
f944a56538
Remove runState from cell internalMetadata. Expose execution state data from service.
...
For #125668
2021-12-29 15:46:36 -08:00
Alex Dima
365a3c23be
Rename mode to language
2021-12-28 10:51:35 +01:00
Alexandru Dima
d209aa2b02
Rename modeId -> languageId
2021-10-22 17:46:59 +02:00
Rob Lourens
b5253894dd
Freeze notebook doc metadata
2021-07-21 12:16:58 -07:00
Rob Lourens
f82e598599
Freeze notebook cell metadata
2021-07-21 09:17:37 -07:00
Matt Bierner
cd08aa0081
Initial work adding NotebookCellData.mime
...
For #126280
For #126417
2021-06-15 15:16:58 -07:00
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
0b6e70302f
remove deprecated API
2021-06-02 09:24:43 +02:00
Johannes Rieken
545b931b96
remove dedicated types for notebook and cell metadata
2021-06-01 14:50:53 +02:00
Johannes Rieken
f2fb2b8cbe
rename viewType to notebookType, https://github.com/microsoft/vscode/issues/122922
2021-05-31 15:55:15 +02:00
Rob Lourens
6737ea008f
Change executionState to state
2021-05-29 11:38:45 -07:00
Johannes Rieken
4202ab071a
rename NotebookCellOutput#outputs to #items
2021-05-28 17:57:50 +02:00
Johannes Rieken
53352a2954
add API to open an untitled notebook, https://github.com/microsoft/vscode/issues/121974
2021-05-19 15:27:23 +02:00
Rob Lourens
dfb8c467ca
Separate extension metadata from execution metadata
...
Fix #123235
2021-05-12 17:26:00 -07:00
Johannes Rieken
0a14a26cd3
rename latestExecutionSummary to executionSummary
2021-05-12 09:34:21 +02:00
Johannes Rieken
7ea5b137ea
rename cell kind Markdown to Markup, https://github.com/microsoft/vscode/issues/105933
2021-05-10 10:56:13 +02:00
Johannes Rieken
b177753668
check that a cell is still "alive" and only iff so start executing it, fixes https://github.com/microsoft/vscode/issues/123269
2021-05-07 14:14:14 +02:00
Johannes Rieken
9313b5897e
perf 💄
2021-05-05 09:15:23 +02:00
Johannes Rieken
e2c9703995
prefix api object with api-prefix, like apiCell
2021-04-21 15:34:44 +02:00
rebornix
662ea12128
NotebookCellRange is now NotebookRange.
2021-04-15 13:09:37 -07:00
Johannes Rieken
c079d216f0
actually remove fileName from the notebook document implementation, https://github.com/microsoft/vscode/issues/121329
2021-04-15 16:25:10 +02:00
Johannes Rieken
6f9917d81f
no more need to dispose ExtHostCell
2021-04-15 13:59:16 +02:00
Matt Bierner
e1f0f8f513
Add override keyword in codebase ( #120755 )
...
For #120675
This uses a script to add the override keyword to places that need it in the codebase
Note that we can't enable the --noImplicitOverride setting yet since there are still around 200 errors that require further attention
2021-04-08 10:05:20 -07:00
Johannes Rieken
fca1144d00
remove NotebookDocument#cells in favor of cellsAt, getCells, and cellCount
2021-04-06 11:50:48 +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
Johannes Rieken
6b5f2532d9
cellCount and cellAt API proposal so that notebook aligns better with text document
2021-03-31 11:41:16 +02:00
Johannes Rieken
5f30215a0f
add NotebookDocument#isClosed
2021-03-26 12:39:00 +01:00
Johannes Rieken
13c6674580
add NotebookDocument#getCells(range?), https://github.com/microsoft/vscode/issues/119602
2021-03-26 12:32:57 +01: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
8fd2402570
:liptstick: deep freeze notebook events before emitting them
2021-03-10 15:48:30 +01:00
Johannes Rieken
637b659e4a
refine NotebookCell API
2021-03-10 14:49:05 +01:00
Johannes Rieken
0f64ef1b65
remove NotebookDocument#contentOptions
2021-03-09 17:44:22 +01:00
Johannes Rieken
9cc276648e
remove onDidChangeCellLanguage-event in favor of the existing document closed/opened event sequence
2021-03-09 15:14:30 +01:00
rebornix
3214b95098
💄
2021-02-22 14:32:35 -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
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
rebornix
9c77f4d86a
add NotebookDocument.save().
2021-02-18 11:57:49 -08:00
Johannes Rieken
1bf78c50fe
add NotebookCellOutput#metadata, also use API type internally and translate dto sooner, fixes https://github.com/microsoft/vscode/issues/116792
2021-02-17 10:36:02 +01:00
rebornix
1267767472
fix #116598 . broadcast output items change.
2021-02-16 14:59:58 -08:00
Johannes Rieken
266e475931
before removing cell documents capture its API objects, after inserting cell documents capture its API objects, fixes https://github.com/microsoft/vscode/issues/116711
2021-02-16 11:09:29 +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
8848ddd9c0
use metadata classes inside NotebookCell and NotebookDocument
2021-02-15 15:29:33 +01:00
Johannes Rieken
7dc11581e4
remove unused event
2021-02-15 15:29:33 +01:00
Johannes Rieken
868fb4c39f
rename CellKind to NotebookCellKind
2021-02-12 10:25:12 +01:00
Johannes Rieken
ccc28e3726
Remove languages property from NotebookData and NotebookDocument
2021-02-11 14:21:40 +01:00
rebornix
fd6997fdc7
new output type shape only.
2021-02-08 17:07:10 -08:00
rebornix
0544c1d391
remove legacy typings.
2021-02-08 14:48:26 -08:00
Johannes Rieken
3edc9925e0
NotebookDocument#metadata is readonly
2021-02-08 18:38:17 +01:00