Johannes Rieken
3fd09e62b5
send requests per provider so that a hanging provider doesn't block other providers, https://github.com/microsoft/vscode/issues/100524
2020-06-23 11:23:11 +02:00
Connor Peet
a57cb45be8
notebooks: pipe renderer API postmessages to the renderer itself ( #100414 )
...
* notebooks: pipe renderer API postmessages to the renderer itself
Previously the postMessage on acquireNotebookRenderer API was just
a proxy to the global vscode postmessage. Now, it's linked to the
renderer and will cause an optional `onDidReceiveMessage` method on
the renderer to be called.
The message still _also_ goes to the global webview message handling
for advanced use cases, but this change allows the webview<->renderer
communication to be more nicely contained
and separate for most use cases.
* wip
* fixup! pr comments
2020-06-22 09:35:16 -07:00
Daniel Imms
395b228387
Merge remote-tracking branch 'origin/master' into tyriar/link_providers
2020-06-19 05:26:26 -07:00
Daniel Imms
a0558707ec
Handle link on exthost
2020-06-18 05:15:04 -07:00
Alex Dima
39e3340d04
Push not-null assertion further down to usage
2020-06-18 13:18:47 +02:00
rebornix
6c68514534
Fix #100329 . Content providers can contribute to undo/redo stack of a notebook document.
2020-06-17 17:08:09 -07:00
Daniel Imms
2dbf1703b8
Get link providers passing all the way through to the renderer
2020-06-17 12:10:03 -07:00
Alex Ross
1abf21d3d8
Explicitly set task execution way before running task
...
Part of #100361
2020-06-17 13:39:02 +02:00
rebornix
ca7f2683fd
resolve notebook editor with comm object.
2020-06-16 17:21:11 -07:00
rebornix
8ad77ef2b6
mimetype and remove revert.
2020-06-16 14:55:20 -07:00
Daniel Imms
54b6e8fa41
Merge pull request #100011 from microsoft/tyriar/term_errors
...
Refactor terminal launch, improve error handling and add troubleshoot link to notification
2020-06-15 09:33:41 -07:00
Connor Peet
45dbf43a87
Merge branch 'connor4312/identify-cell-outputs'
2020-06-15 09:14:23 -07:00
Daniel Imms
5053f27c39
Merge branch 'master' into tyriar/term_errors
2020-06-14 06:56:51 -07:00
rebornix
98c3065160
Fix #96840 . Support backup/revert from notebook content provider.
2020-06-12 18:00:15 -07:00
Daniel Imms
3581908cce
Merge branch 'master' into tyriar/term_errors
2020-06-12 12:49:56 -07:00
Connor Peet
1d1b452f2f
notebooks: add ID for rich outputs, expose to renderer and webview
...
Some API changes:
- I changed the second param of NotebookOutputRenderer.render to a
`NotebookRenderRequest` since we were up to four parameters already.
- The request contains a unique `outputId`, which is generated when
output is first created or restored (the ID is not stable if a
notebook is closed and reopened)
- I changed the renderer events to `onDidCreateOutput` and
`onWillDestroyOutput` since they're for outputs, not cells.
- Additionally, they're called with objects that contain the output
ID to render.
2020-06-12 12:29:30 -07:00
Daniel Imms
1dd4c04384
Fix launching in ext host/pty terminals
2020-06-12 11:05:45 -07:00
isidor
cc06e19b15
Introduce DebugSessionOptions.noDebug
...
#99743
2020-06-12 17:33:00 +02:00
Alex Dima
1927f9b6e0
Add getters for connection data & events for changes
2020-06-12 13:57:12 +02:00
Alex Dima
1f3ba68676
Move the remote connection data to the IRemoteAuthorityResolverService
2020-06-12 13:57:12 +02:00
Alex Dima
301597857d
Add connectionData to IInitData.remote
2020-06-12 13:57:12 +02:00
Johannes Rieken
b0d056202b
Use canonical uri for openTextDocument api, #93368
2020-05-29 18:16:31 +02:00
Johannes Rieken
5721d63eb6
notebooks - wire up onDidChange event from notebook providers, fyi @rebornix, https://github.com/microsoft/vscode/issues/96403
2020-05-29 13:20:28 +02:00
rebornix
914fa13e26
support renderer and content provider registered in different extension host.
2020-05-26 20:11:49 -07:00
Rachel Macfarlane
4f46398b7e
Send auth provider API calls through renderer when on remote
2020-05-19 17:46:36 -07:00
rebornix
5c928428df
notebookEditor.visible
2020-05-19 17:20:20 -07:00
Peng Lyu
536078737f
Merge pull request #98126 from microsoft/rebornix/documentNEditors
...
Separate notebook document and editor events.
2020-05-19 15:09:52 -07:00
Johannes Rieken
7ab052aec4
first cut of token_at_position api, https://github.com/microsoft/vscode/issues/91555
2020-05-19 16:23:08 +02:00
rebornix
025bd27df7
webview comm based on editor other than document.
2020-05-18 18:13:45 -07:00
rebornix
55ac452768
webview id attached to notebook editor
2020-05-18 16:29:02 -07:00
rebornix
a14736ca5e
introduce visible notebook editors
2020-05-18 15:45:32 -07:00
rebornix
9a384768c3
Fix #97694 .
2020-05-18 10:35:43 -07:00
rebornix
2d6df55ad1
Notebook kernel preloads
2020-05-17 21:12:58 -07:00
Isidor Nikolic
33187ab34e
Merge pull request #97825 from microsoft/isidorn/accessibilityInformation
...
vscode api: introduce accessibilityInformation
2020-05-15 16:41:34 +02:00
rebornix
b9c163faee
asWebUri.
2020-05-14 17:53:33 -07:00
isidor
dc31d5b59e
move accessibilityInformation to existing file and reanme to IAccessibilityInformation
2020-05-14 17:31:05 +02:00
isidor
6e50f24e64
vscode api: introduce accessibilityInformation
2020-05-14 17:25:46 +02:00
rebornix
e3c3ea27e0
Switch kernel info.
2020-05-13 18:26:41 -07:00
rebornix
03acd2250a
Fix #96433
2020-05-13 12:47:39 -07:00
rebornix
a15661000f
adopt notebook kernel
2020-05-13 11:31:06 -07:00
Rachel Macfarlane
d0a3feff23
Add account activity badge and sign in command for auth provider requests
2020-05-12 20:35:03 -07:00
Rachel Macfarlane
4a875e0d7c
Add getSession and hasSessions to authentication namespace
2020-05-11 18:32:36 -07:00
rebornix
4447915b00
saveAs
2020-05-06 12:42:36 -07:00
rebornix
cb7ea6e166
Remove notebook content provider
2020-05-05 18:43:25 -07:00
rebornix
1b5217985b
notebook document creation in UI side
2020-05-05 18:43:25 -07:00
rebornix
0d445385ea
Re #93265 .
2020-05-04 18:27:47 -07:00
Johannes Rieken
ce850e02d5
debt - don't send data that's not needed, make resolve a function not a property
2020-05-04 09:47:19 +02:00
rebornix
0421b831ad
Fix #92794 . allow customize placeholder for input box
2020-04-27 16:13:10 -07:00
Andre Weinand
8ec6ec7dc1
rename "Trigger" to "TriggerKind"; see #88230
2020-04-27 16:07:26 +02:00
Andre Weinand
78b071d803
proposed dynamic launch config API: rename 'scope' to 'trigger'
2020-04-26 19:00:47 +02:00