Commit Graph

998 Commits

Author SHA1 Message Date
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
Connor Peet
e657d42281 debug: expose parent session on DebugSessions
For https://github.com/microsoft/vscode/issues/123403
2021-05-18 11:56:09 -07:00
Alex Dima
32db232a53 Scaffold ghost text 2021-05-17 15:39:26 +02:00
Barbara Valdez
1a78b7359e Add drag and drop controller (#123542) 2021-05-14 02:09:04 -07:00
Daniel Imms
5d95c01ec1 Remove getDefaultShellAndArgs from tasks
Fixes #123732
2021-05-13 06:36:08 -07:00
Daniel Imms
6d70e727d0 Set default profile in exthost from renderer
Fixes #121760
Related microsoft/vscode-python#16175
2021-05-12 17:14:18 -07:00
Daniel Imms
84abba8754 Clean up 2021-05-12 05:37:21 -07:00
Alex Ross
f41b6e6d81 Add active editor to editor tabs and use in variable resolver (#123450) 2021-05-11 01:47:28 -07: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
Rob Lourens
4a76f0b19a registerNotebookCellStatusBarItemProvider should use viewType instead of NotebookSelector
Fix #122347
2021-05-07 15:23:19 -07:00
Johannes Rieken
f9b5f8f624 💄 2021-05-07 14:16:00 +02:00
Johannes Rieken
f5b2c93911 Allow to pass NotebookRegistrationData when registering serializer or content provider, https://github.com/microsoft/vscode/issues/122733 2021-05-06 16:26:57 +02:00
Johannes Rieken
23a6935a25 slim-down NotebookProviderInfo 2021-05-05 11:55:30 +02:00
rebornix
d631beda22 Merge branch 'notebook/dev' into main 2021-05-04 15:31:11 -07:00
Connor Peet
d639345791 notebooks: improve renderer message passing
Fixes https://github.com/microsoft/vscode/issues/122944
2021-05-04 12:35:06 -07:00
Barbara Valdez
39d180d662 Initial implementation of drag and drop api (#122239) 2021-05-04 05:01:46 -07:00
Daniel Imms
c2f8abb4d2 Remove onRequestDefaultShellAndArgs 2021-05-03 23:01:16 -07:00
Matt Bierner
18a986bef5 Fixing array buffer serialization
Fixes #115807
2021-04-30 17:05:07 -07:00
Johannes Rieken
a1e69b746f rename InlineHint to InlayHint, make it InlayHint only and keep OverlayHint as a future, separate feature, remove hover message 2021-04-30 14:51:40 +02:00
Ladislau Szomoru
480f3c0b35 Return undefined if dialog is cancelled (#122234) 2021-04-26 15:28:25 -07:00
Alexandru Dima
e1845803d3 Add telemetry event for failed extension activation 2021-04-26 23:36:36 +02:00
Benjamin Pasero
05e0899ffd working copy - more readonly arrays 2021-04-23 10:59:39 +02:00
Johannes Rieken
5390ec0e7c remove isPreferred as instance property, replace selector with only viewType, allow controller to set a notebook priority instead 2021-04-22 16:13:42 +02:00
rebornix
264ccd16d4 Merge branch 'notebook/dev' into main 2021-04-21 15:15:59 -07:00
SteVen Batten
a9f70f7919 finalize basic workspace trust api 2021-04-21 09:56:35 -07:00
Johannes Rieken
4f9ac638ff extension contributed kernels fall back to all languages when supportedLanguages isn't set, https://github.com/microsoft/vscode/issues/121329 2021-04-21 11:34:48 +02:00
rebornix
e986377a62 move NotebookRange. 2021-04-20 17:11:07 -07:00
Johannes Rieken
b2b45e1005 execute by cell-handle, kernel manager has only execute/cancel cells, also "fix" isNotebookCellData fyi @rebornix 2021-04-20 14:39:19 +02:00
Johannes Rieken
b06388f501 Merge branch 'joh/clean-kernel' into notebook/dev 2021-04-20 11:33:41 +02:00
rebornix
d415fc0d0e adopt notebookSelector in status bar API. 2021-04-19 10:15:26 -07:00
Johannes Rieken
11c3ba58af remove NotebookKernelProvider API and its implementation 2021-04-19 16:19:23 +02:00
Johannes Rieken
f9fec24b45 make INotebookKernel2 extends INotebookKernel 2021-04-19 11:56:18 +02:00
Johannes Rieken
6b9bd78998 add NotebookController#detail 2021-04-19 08:58:01 +02:00
Connor Peet
99075a46ec Merge branch 'connor4312/test-api-refactor-application' into main 2021-04-16 22:53:21 -07:00
Connor Peet
bb3ea733de testing: rework running side to new apis 2021-04-16 16:40:01 -07:00
rebornix
1845b9d2a5 Merge branch 'notebook/dev' into main 2021-04-16 13:39:34 -07:00
Daniel Imms
3ae9ec0051 Adopt requireTrust in terminal 2021-04-16 05:29:28 -07:00
Johannes Rieken
95932045c7 check that notebook controller are unique per id 2021-04-16 14:22:44 +02:00
rebornix
8629b48030 rename transientMetadata to transientCellMetadata. 2021-04-15 17:24:47 -07:00
Johannes Rieken
bbf148b0c6 merge renderer IPC into notebook controller, remove global renderer IPC 2021-04-15 18:41:56 +02:00
Johannes Rieken
b6cee1ca22 add cancellation to NotebookSerializer, https://github.com/microsoft/vscode/issues/121329 2021-04-15 16:21:06 +02:00
Connor Peet
bec017d389 testing: rework discovery side of testing to new apis 2021-04-14 17:10:46 -07:00
Rob Lourens
3e40e14bc4 Cell statusbar API (#121215)
Implement provider-based notebook cell statusbar API
2021-04-14 11:26:23 -07:00
Johannes Rieken
02f0f4a0c8 make createNotebookRendererCommunication independent of controller, make it renderer first 2021-04-14 18:33:14 +02:00
Johannes Rieken
d6ae97cf97 add Kernel2#createNotebookRendererCommunication 2021-04-14 15:09:06 +02:00
rebornix
d13a914bd6 Merge branch 'notebook/dev' into main 2021-04-13 14:12:11 -07:00
SteVen Batten
c5fab4faa3 Boolean Trust State (#121141)
* move to boolean-based trust state

* update api based on feedback
2021-04-13 12:54:52 -07:00
Johannes Rieken
fcd005ce8c fix compile errors, evolve internal API about kernel selection 2021-04-13 14:29:46 +02:00
Johannes Rieken
0788b3fd68 Merge branch 'main' into notebook/dev 2021-04-13 09:17:03 +02:00
Connor Peet
60a7c6a925 notebooks: add initial kernel/renderer constraints
See https://github.com/microsoft/vscode/issues/119899

Backwards compatible, initially. The implementation should be
pretty unsurprising. Some churn from data wiring.

This does the bulk of the work. The only remaining item is caching
the last renderer used for notebooks in the workspace to avoid running
selection again if the user reopens/reloads the window.
2021-04-12 16:30:39 -07:00