Daniel Imms
e1dba2ac02
Merge remote-tracking branch 'origin/main' into tyriar/getprofilesexthost
2021-05-13 05:16:55 -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
rebornix
a37ee2baf1
Merge branch 'notebook/dev' into main
2021-05-12 14:37:05 -07:00
Johannes Rieken
2f282bbefb
Log which extension creates what controller when, https://github.com/microsoft/vscode/issues/122409#issuecomment-833448914
2021-05-12 19:28:19 +02:00
John Murray
793a123a81
Allow FileSystemProvider to stat a file as readonly ( #73122 ) ( #111237 )
...
* fix #73122 allow FSP to stat a file as readonly
* add enableProposedApi check
* omit existing members of FileStat
* dispose _enableProposedApi
* implement feedback from @bpasero
* add onDidChangeReadonly event so tab title gets '(read-only)' suffix immediately
* push missing changes
* adopt latest API proposal
* fix missing property in mtfs
* tests - add fileservice test for readonly
* more tests
* wire into notebooks
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com >
2021-05-12 09:17:34 +02:00
Matt Bierner
b847eb35e7
Add remote-authority to webview uri
2021-05-11 18:14:13 -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
Matt Bierner
4177014a1c
Revert "Put authority into webview resource uri"
...
This reverts commit 3d978d4dde .
2021-05-10 23:01:26 -07:00
Matt Bierner
3d978d4dde
Put authority into webview resource uri
...
This lets us handle the case where a webview needs to load both local and remote resources
2021-05-10 20:40:07 -07:00
Peng Lyu
ae998a9261
Merge remote-tracking branch 'origin/notebook/dev' into main
2021-05-10 23:44:32 +00:00
Alex Ross
fbe3d1eeb9
Make PortAttributes API a class
...
Part of #115616
2021-05-10 15:47:36 +02:00
Rob Lourens
b987317d1a
Rename onDidChangeNotebookCellExecutionState
2021-05-07 17:00:09 -07:00
Rob Lourens
4a76f0b19a
registerNotebookCellStatusBarItemProvider should use viewType instead of NotebookSelector
...
Fix #122347
2021-05-07 15:23:19 -07: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
d930085326
remove vscode.notebook.createNotebookCellExecutionTask
2021-05-05 09:28:49 +02:00
Daniel Imms
69373b7833
Finalize TerminalOptions.message API
...
Fixes #120368
2021-05-04 06:34:46 -07:00
Connor Peet
514871273b
notebook: convert NotebookKernelPreload to a class
2021-05-03 10:21:47 -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
Connor Peet
37d967e30d
testing: rename testRunTask to testRun
2021-04-26 10:24:19 -07:00
Johannes Rieken
97344537a5
Use affinity over priority
2021-04-22 16:43:36 +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
Jackson Kearl
f547ada6ee
Allow text search providers to give messages ( #121528 )
...
* Allow text search providers to give messages
* Remove console log and messages property
* Render text search provider messages in Search Editor
* Filter out duplicate messages
* Add Info vs Warning messages
* Improve wrapping behaviour of provider message
2021-04-21 20:02:51 -07: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
e2c9703995
prefix api object with api-prefix, like apiCell
2021-04-21 15:34:44 +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
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
Johannes Rieken
93dbc7ac44
remove NotebookControllerOptions and simplify createNotebookController-signature
2021-04-16 15:23:34 +02:00
Johannes Rieken
95932045c7
check that notebook controller are unique per id
2021-04-16 14:22:44 +02:00
Alexandru Dima
bdd072e51b
Add trust prompt
2021-04-16 13:07:24 +02:00
rebornix
662ea12128
NotebookCellRange is now NotebookRange.
2021-04-15 13:09:37 -07:00
Johannes Rieken
bbf148b0c6
merge renderer IPC into notebook controller, remove global renderer IPC
2021-04-15 18:41:56 +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
c9b2c54231
rename NotebookKernel2 to NotebookController
2021-04-14 15:11:56 +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
354c914f67
add NotebookKernelOptions so that createNotebookKernel is simpler
2021-04-08 15:36:45 +02:00
Johannes Rieken
d10367cee8
Merge branch 'notebook/dev' into joh/kernel-push
2021-04-08 10:04:13 +02:00
Daniel Imms
264ca56fe1
Rename initialText to message
...
Part of #120368
2021-04-07 09:20:18 -07:00
Johannes Rieken
72d772b1a1
make execution and interrupt callback instead of commands
2021-04-07 16:35:08 +02:00
Alex Ross
37abf64afd
Add command line regex for port attributes provider
...
Part of #115616
2021-04-07 15:28:25 +02:00
Johannes Rieken
38e4243e2d
add kernel push to proposed API
2021-04-07 12:06:38 +02:00
Johannes Rieken
b47fb7a275
add kernel service and add extension host logic for it
2021-04-06 15:46:01 +02:00