Aaron Munger and GitHub
f88bce8fe6
get children when node expands ( #201909 )
...
* get children when node expands
* switch to asynchronous tree for more natural lazy loading
* store variables by ID so we can look up the correct instance
2024-01-05 15:44:43 -08:00
Aaron Munger and GitHub
6f7e102f08
pipe variable change event through from extention API ( #198572 )
...
pipe variable change event through
2023-11-17 15:30:35 -08:00
Aaron Munger and Aaron Munger
74d6858c83
naming, formatting
2023-11-17 09:33:33 -08:00
aamunger and Aaron Munger
6f6d0a7e18
display variables provided by extension
2023-11-17 09:33:33 -08:00
aamunger and Aaron Munger
c282c5a98d
implement extension host proxy
2023-11-17 09:33:33 -08:00
Mikhail Bodrov
16577239fe
fix: simplified map+flat
2023-09-25 10:37:55 +03:00
Don Jayamanne and GitHub
ab3354333d
Support for arbitrary notebook kernel execution ( #179258 )
...
For https://github.com/microsoft/vscode-jupyter/issues/13275
* Support for arbitrary notebook kernel execution
2023-04-06 02:21:39 +02:00
Matt Bierner and GitHub
3e5253b143
Remove notebook controller kind API proposal ( #175962 )
...
Fixes #168535
2023-03-16 08:52:09 +11:00
Peng Lyu and GitHub
0620c88ca9
Fix #169304 . Dispose kernel task providers on EH restart. ( #172456 )
2023-01-25 22:25:55 +01:00
Peng Lyu and GitHub
9ccc2b3b30
Support kernel source actions update. ( #171781 )
2023-01-20 02:43:04 +01:00
Peng Lyu and GitHub
8441345825
Support documentation link in kernel picker sources. ( #171559 )
2023-01-17 16:40:22 -08:00
8007c63981
Kernel mru picker preparation ( #166513 )
...
* MRU skeleton
* Kernel Source Provider
* filter
* register provider in exthost
* Misc changes
* Revert to suggestions
* non jupyter controllers
* Add ability to select a kernel
* show extension name in detail.
* 💄
* Move strategies out.
* Back button
* First arg be the notebook document
* 💄
* Update kernel status
* Show progress in MRU
* remove separator header
* Allow selecting 3rd party controllers
* Misc
* Fix spinner
* Add separators in kernel picker
* Update kernel select title.
* Prep for MRU.
Co-authored-by: Don Jayamanne <don.jayamanne@outlook.com >
2022-11-16 15:42:41 -08:00
Peng Lyu and GitHub
069ab7c4af
Present kernel detection progress in kernel picker/status ( #166294 )
...
* Experimental kernel detection task
* Update kernel detection progress
* no need for start/end now.
* Enforce proposed api
2022-11-14 09:34:29 -08:00
Matt Bierner and GitHub
1d45633795
Add DisposableMap helper ( #163006 )
...
Adds `DisposableMap` to help manage the lifecycle of maps of disposable values. This is useful for a few reasons:
- `DisposableMap` is itself disposable, so you can use it with `_register` or add it to a `DisposableStore`
- The implementation of `set` on `DisposableMap` prevents leaking values on override
- The `delete` implementation also makes sure it disposes of the deleted values
2022-10-07 15:28:36 -07:00
Peng Lyu and GitHub
28e52a46fe
Unify Stop/Interrupt in core and jupyter ( #160738 )
...
* Unify Stop/Interrupt in core and jupyter
* ILocalizedString
2022-09-13 10:53:04 -07:00
Peng Lyu and GitHub
eebdf8174b
Organize notebook related services ( #157966 )
2022-08-12 01:44:32 +01:00
Matt Bierner and GitHub
52b6278e73
Add readonly to notebookMessaging types ( #157562 )
2022-08-08 16:01:22 -07:00
Matt Bierner and GitHub
f17b33faf2
Use .?method() in more places ( #152112 )
...
Switches simple patterns like:
```ts
if (some.thing) {
some.thing.method();
}
```
to:
```ts
some.thing?.method()
```
This is more concise and avoids having to repeat the `some.thing` part
2022-06-15 16:28:31 +00:00
Johannes
0656d21d11
auto-fixed prefer-const violation
2022-06-08 17:49:21 +02:00
Peng Lyu and GitHub
12cb993238
Create cell execution beforehand ( #150410 )
2022-05-25 17:30:39 -07:00
rebornix
50d802e75f
💄
2022-05-20 16:40:19 -07:00
rebornix
8d503ffaf4
connection state in another pr
2022-05-20 16:35:46 -07:00
rebornix
bd99c998a1
Remove proxy controller.
2022-05-15 18:56:22 -07:00
rebornix
027b7bf21e
Notebook state only.
2022-05-15 18:24:06 -07:00
rebornix
7e34708dcc
prepare for removing proxy kernel.
2022-05-11 11:46:20 -07:00
rebornix
f20a0f2a10
extract exthost/mainthread proxy kernels.
2022-04-14 11:10:48 -07:00
rebornix
860221a193
two kernel types
2022-04-11 08:05:40 -07:00
Johannes
4633aa5ed5
reduce usage of arrays#flatten util, use native flat instead
2022-03-30 16:14:59 +02:00
Rob Lourens
d8eb6006eb
Put cells in pending mode immediately when the user clicks run. Remove them from the pending state if the controller does not create an execution immediately inside the execute handler.
2022-02-11 15:00:46 -08:00
Alex Dima
0bf3071972
Fix hygiene
2022-02-04 15:49:50 +01:00
Johannes Rieken
4a130c40ed
enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391
2022-02-02 14:35:33 +01:00
Alex Dima
e2541e9263
Move extHostCustomers.ts to workbench/services ( #141003 )
2022-01-31 19:57:21 +01:00
Alex Dima
7c1c530051
Move ILanguageService to editor/languages ( #141174 )
2022-01-31 12:38:00 +01:00
Rob Lourens
07b7831746
NotebookExecutionStateService - createCellExecution returns an execution object. For #125668
2022-01-18 10:14:24 -08:00
Rob Lourens
6ef8167fa8
Merge branch 'roblou/executionService'
2021-12-29 17:11:42 -08:00
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
c8e2fd7bae
Renames
2021-12-29 00:37:35 +01:00
Rob Lourens
25d41d15f9
Split Execution and ExecutionState services
2021-12-28 13:44:18 -08:00
Rob Lourens
33d81fdc8c
Improve NotebookExecutionService and cancel executions when closing the notebook, deleting cells, and changing the kernel
2021-12-28 13:42:01 -08:00
Alex Dima
c71424a61d
Rename some ILanguageService methods
2021-12-08 15:06:49 +01:00
Alex Dima
91b97cec91
Debt: Rename IModeService to ILanguageService
2021-12-08 14:36:18 +01:00
Don Jayamanne and GitHub
48eb908fd6
Categorize kernels in the notebook kernel picker ( #135502 )
...
* Categorize kernels in the notebook kernel picker
* rename property
* address review comments
* more changes
* fix liner
* address review comments
2021-10-25 08:23:43 -07:00
8b6547aa2c
Transfer notebook output as VSBuffer ( #130452 )
...
* Transfer notebook output data as a VSBuffer
This PR transfers notebook output as an VSBuffer instead of as a array of numbers. This significantly reduces the message size as well as the serialize/deserialize times
To accomplish this, I've introduced a new `SerializableObjectWithBuffers` type. This specially marks rpc objects that contain VSBuffers. This is needed as our current RPC implementation can only efficently transfer VSBuffers that appears as top level arguments. The rpcProtocol now can also identify top level `SerializableObjectWithBuffers` arguments and ensure these are serialized more efficently.
This is easier than trying to extract the `VSBuffer` proeprties to top level arguments. It also lets us easily support return types that may contain buffers
* use SerializableObjectWithBuffers when dealing with (old) notebook controllers
Co-authored-by: Johannes Rieken <johannes.rieken@gmail.com >
2021-08-17 09:57:57 -07:00
Rob Lourens
01643e514e
Better cell execution lifecycle
2021-08-11 15:38:08 -07:00
Rob Lourens
cb52f1a50e
NotebookExecutionService should create execution objects
...
Towards #125668
2021-08-11 12:50:30 -07:00
Rob Lourens
99104943f5
Add NotebookExecutionService
...
Towards #125668
2021-08-11 12:50:30 -07:00
rebornix
d26f97a0a2
📓 use viewmodel from test helper directly
2021-06-11 15:13:42 -07:00
Johannes Rieken
3c9e29fa75
move INotebookKernel type into kernel service file
2021-06-10 12:42:05 +02: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
654036f24f
💄 renames
2021-06-09 12:10:53 +02:00