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
Johannes Rieken
1b0d4db60c
use $-prefix for IPC functions only
2020-08-12 16:26:49 +02:00
Johannes Rieken
26605048ea
💄 forof over foreach
2020-08-12 16:16:00 +02:00
Johannes Rieken
0da75b92c0
notebooks - use ResourceMap
2020-08-12 16:16:00 +02:00
Johannes Rieken
bae64052f4
unit test for document remove
2020-08-12 09:05:18 +02:00
Johannes Rieken
3fefc6117c
ref count document data on extension host side
2020-08-11 14:24:16 +02:00
Johannes Rieken
0a03053724
Merge branch 'master' into joh/celldocs
2020-08-11 12:23:11 +02:00
rebornix
03467e96ff
re #104262 . Add logging for notebook.
2020-08-10 14:30:58 -07:00
Johannes Rieken
5fe144cf97
Merge branch 'master' into joh/celldocs
2020-08-10 18:24:01 +02:00
rebornix
2d3d5208de
re #102503 . send out save event after notebook content provider handles saving.
2020-08-03 15:12:25 -07:00
rebornix
ccb2e9621f
re #102503 . onDidSaveNotebookDocument
2020-08-03 15:12:25 -07:00
rebornix
83e542bd07
notebook document, is untitled.
2020-08-03 14:58:08 -07:00
Rob Lourens
635b397e2d
let -> const, notebooks
2020-08-03 08:54:14 -07:00
Rob Lourens
eb05e94d5e
Send cell metadata changes to EH, add onDidChangeCellMetadata event
2020-08-01 10:25:12 -07:00
Rob Lourens
057c1f141e
Fix cell cancellation with kernel in provider
2020-07-30 18:02:38 -07:00
rebornix
d586f701ec
kernel provider settings.
2020-07-20 17:17:50 -07:00
Rob Lourens
90363c2f9d
Change cell execution/cancel API
...
Fix #99203
2020-07-20 14:43:20 -07:00
rebornix
49305f21a4
active kernel info on notebook editor.
2020-07-17 12:02:08 -07:00
rebornix
f475511726
kernel change event.
2020-07-17 12:02:08 -07:00
Johannes Rieken
b266658091
remove document that only the notebook did open
2020-07-17 14:52:25 +02:00
Johannes Rieken
00dea1c4ad
create "real" TextDocument when opening a notebook or when adding cells, don't create them again when the renderer makes models
2020-07-17 11:02:08 +02:00
rebornix
847a98f34c
Merge remote-tracking branch 'origin' into rebornix/multi-kernel
2020-07-16 17:26:00 -07:00
rebornix
beb6b4782f
type convert glob
2020-07-16 16:50:37 -07:00
Johannes Rieken
80a3310946
add eol to IMainCellDto, no more attach/dettach text document but use the actual (sync'd) document or a fallback cell document
2020-07-16 12:55:39 +02:00
rebornix
05144a3d4e
new kernel provider works side by side
2020-07-15 17:01:48 -07:00
rebornix
4fc84b3a11
sketch for notebook kernel
2020-07-15 16:18:17 -07:00
Johannes Rieken
43184b2bed
add storageUri and globalStorageUri to ExtensionContext, https://github.com/microsoft/vscode/issues/101857
2020-07-09 12:48:03 +02:00