rebornix
73a3c9ded3
re #105735 .
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
Johannes Rieken
6e35aa3ceb
chore - extract extHostNotebookDocument for the NotebookDocument and NotebookCell types and friends
2020-09-09 11:38:20 +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
f48b0f4672
fix integration tests.
2020-09-08 14:18:34 -07:00
rebornix
1870a1c47e
Merge remote-tracking branch 'origin/master' into rebornix/nbdebt
2020-09-08 14:10:32 -07:00
rebornix
ed377f963f
no uninitialized documents.
2020-09-08 11:20:27 -07:00
Johannes Rieken
e429fc386e
remove NotebookDocument#displayOrder , fixes https://github.com/microsoft/vscode/issues/106305
2020-09-08 20:10:28 +02:00
Johannes Rieken
8b0a7c9582
debt - remove _unInitializedDocuments
2020-09-08 19:56:24 +02:00
rebornix
8ebad589d5
deprecate onDidChangeCells
2020-09-08 08:36:06 -07:00
Johannes Rieken
1c3d3ae3ac
notebooks - don't allow anyone to call unregisterNotebookProvider, add names to TODO-tags
2020-09-08 15:44:29 +02:00
Johannes Rieken
ed9c404bf9
cleanup notebook argument processor, remove INotebookTextModel#handle and use uri instead, https://github.com/microsoft/vscode/issues/105735
2020-09-07 11:52:50 +02:00
rebornix
759ead4d71
remove onDidChangeMetadata.
2020-09-03 21:22:18 -07:00
rebornix
11158cc1d1
re #105735 . selections as NotebookEditor properties.
2020-09-03 20:28:28 -07:00
rebornix
8343b9b425
💄
2020-08-31 16:55:08 -07:00
rebornix
23faaa293b
add details to notebook kernel.
2020-08-31 12:07:11 -07:00
rebornix
c887ae1b6d
remove legacy registerKernel
2020-08-31 12:00:21 -07:00
rebornix
2518d2c44d
update kernel per document.
2020-08-31 11:49:19 -07:00
rebornix
774e868b25
fix #105376 .
2020-08-31 11:41:58 -07:00
rebornix
f56b64cffb
do not trigger outputs change when there is no real change.
2020-08-28 13:55:52 -07:00
rebornix
d3a5dd9d4b
re #102503 . reveal range
2020-08-28 13:23:28 -07:00
rebornix
637d782c7b
re #102503 . visible range change events.
2020-08-28 12:06:21 -07:00
Johannes Rieken
807eb37826
make sure replaceOutput updates the extension host side, update tests https://github.com/microsoft/vscode/issues/105283
2020-08-28 17:59:10 +02:00
Johannes Rieken
a3f414cf5a
add some integration tests for notebook editing, https://github.com/microsoft/vscode/issues/105283
2020-08-28 17:59:10 +02:00
rebornix
1d7ff4c718
emit notebook editor selection change.
2020-08-27 17:10:26 -07:00
rebornix
b2693bb7ed
remove legacy kernel on content provider
2020-08-27 12:01:25 -07:00
Johannes Rieken
470966b066
add model version to notebook edits when possible, https://github.com/microsoft/vscode/issues/105283
2020-08-27 11:58:01 +02:00
Johannes Rieken
fdf5b95a51
replace ICellInsertEdit, ICellDeleteEdit with ICellReplaceEdit, https://github.com/microsoft/vscode/issues/105283
2020-08-27 11:25:41 +02:00
Johannes Rieken
0eb11e8f0c
align names, https://github.com/microsoft/vscode/issues/105283
2020-08-27 10:47:13 +02:00
Johannes Rieken
860a68747f
WorkspaceEdit#replaceCells|CellOutput|CellMetadata, https://github.com/microsoft/vscode/issues/105283
2020-08-27 10:25:17 +02:00
Rob Lourens
b58f4549b2
Implement notebook cell status bar item contributions
...
Fix #104958
2020-08-26 17:07:10 -07:00
rebornix
32f29cfdca
transient outputs.
2020-08-26 10:51:46 -07:00
rebornix
e88c040df7
ignore transient metadata in diff editor.
2020-08-26 10:16:22 -07:00
rebornix
7c986e94f4
transient metadata
2020-08-26 10:16:22 -07:00
rebornix
bd4e3c30a7
diff view and fix compile
2020-08-25 13:05:28 -07:00
Rob Lourens
3ab605c4de
Fix notebook argument processor for cells
2020-08-24 17:15:16 -07:00
Johannes Rieken
2951e1f3d1
add NotebookEditorCellEdit#replaceMetadata,
...
https://github.com/microsoft/vscode/issues/105283
2020-08-24 16:35:24 +02:00
Johannes Rieken
ac4de7bbb3
add NotebookEditorCellEdit#replaceOutputs, https://github.com/microsoft/vscode/issues/105283
2020-08-24 15:19:21 +02:00
Johannes Rieken
834a380d93
add replaceCells to notebook edit builder, also refactor cell source to only be a string, not an array
2020-08-24 11:33:05 +02:00
Johannes Rieken
cd18e7ec38
debt - make ExtHostNotebookDocument not implement vscode.NotebookDocument but expose the API object via strict getter
2020-08-24 10:11:45 +02:00
Johannes Rieken
984b654c8b
debt - remove unused function
2020-08-24 09:14:41 +02:00
Connor Peet
d20e086afc
Merge branch 'connor4312/rm-old-renderer-api'
2020-08-21 09:12:08 -07:00
Johannes Rieken
3462e29ea0
strict notebook cell api, https://github.com/microsoft/vscode/issues/104606
...
Let a `vscode.NotebookCell` only be what's spec'd in the API not more. Make things froozen and readonly when possible
2020-08-21 12:08:51 +02:00
Johannes Rieken
7b33afc932
💄
2020-08-21 10:10:30 +02:00
Johannes Rieken
0a7d9859ed
tackle https://github.com/microsoft/vscode/issues/104606
2020-08-21 10:06:26 +02:00
Connor Peet
24b712d7c2
notebooks: remove impure renderer API
...
This removes the initial notebook renderer API and keeps the 'pure'
renderer API described in #102644 and hacked-in previously.
Remaining work in this area, in no particular order:
- Add messaging context to postMessage as requested by Don (API proposal TBA)
- Cleanups around how state is managed internally in the backLayerWebView
- Deprecate the renderer `viewType` in favor of calling it the `id` or `rendererId`
Q: I kept around some of the "transform" functions since the mime type
picking happens there, not sure if there's a better place for this
to happen now, or whether these methods should simply be renamed.
2020-08-19 15:47:02 -07:00
Johannes Rieken
442e27637d
clean up for https://github.com/microsoft/vscode/issues/101282
2020-08-17 10:54:04 +02:00
rebornix
25499ff969
fix #101871 .
2020-08-13 16:57:47 -07:00
Johannes Rieken
aabb4e3aa3
add TextDocument#notebook api proposal, https://github.com/microsoft/vscode/issues/100890
2020-08-13 11:42:58 +02:00