Rachel Macfarlane
ace72b77c5
Update trusted extensions flow again
2020-04-05 15:03:17 -07:00
Rachel Macfarlane
917c420302
Improvements to 'manage trusted extensions' flow
2020-04-01 23:13:50 -07:00
Matt Bierner
bd6ad5592f
Check in saveAs cancellation
2020-04-01 17:22:37 -07:00
Rachel Macfarlane
852df3025d
Revert "Issue distinct sessions per extension, remove session when extension is removed from trusted list"
...
This reverts commit 85119afc7b .
2020-03-30 17:03:29 -07:00
Rachel Macfarlane
85119afc7b
Issue distinct sessions per extension, remove session when extension is removed from trusted list
2020-03-30 14:34:42 -07:00
Rob Lourens
d661f7b2d1
Implement cancellation for notebook cell execution
2020-03-30 12:14:10 -05:00
Daniel Imms
3367ea6000
Merge pull request #93505 from microsoft/tyriar/46696_terminal_env
...
Allow extensions to contribute to terminal environments
2020-03-27 17:09:08 -07:00
Rachel Macfarlane
ab91532466
Add 'manage trusted extensions' option to account quickpick, #90385
2020-03-27 15:38:53 -07:00
Daniel Imms
000f8392b3
Only persist collections marked to do so
2020-03-27 09:03:53 -07:00
Daniel Imms
d91532afa8
Load in persisted collections from past sessions on ext host
2020-03-27 07:44:56 -07:00
Daniel Imms
0b68e23c7f
Merge remote-tracking branch 'origin/master' into tyriar/46696_terminal_env
2020-03-27 05:45:27 -07:00
Daniel Imms
edc7100114
Apply multiple extension mutators, share code with ext host
2020-03-26 15:40:03 -07:00
rebornix
71fd93bf00
Cell.source
2020-03-25 19:50:49 -07:00
rebornix
24cac8b437
Edit API in the core
2020-03-25 17:53:27 -07:00
Daniel Imms
ed9e7241b7
Move single ext collection updates across
2020-03-25 11:57:12 -07:00
rebornix
fdf9e6ef07
Cell Editing API draft
2020-03-25 11:08:18 -07:00
Daniel Imms
b2a9d4dd61
Serialize collections on ext host
2020-03-25 07:35:19 -07:00
Daniel Imms
b41b85d224
Start building out env var service
2020-03-25 07:26:11 -07:00
rebornix
e48cd83bd1
honor document default cell editable metadata
2020-03-23 16:58:33 -07:00
rebornix
deddc655bd
Event Dispatcher
2020-03-23 16:00:13 -07:00
rebornix
343fdecf0f
notebook metadata sync between ext and main
2020-03-23 16:00:01 -07:00
Matt Bierner
579dab3196
Update custom editor api
...
For #77131
- Use a class for `CustomDocument` instead of an interface. Extensions can now add their own data to a `CustomDocument` by sublassing
- Renamed `resolveCustomDocument` to `openCustomDocument` and require that extensions return a `CustomDocument`
- Exposed edits on `CustomDocument`
- Made the third parameter of `registerCustomEditorProvider` a generic options bag that takes a `webviewOptions`
2020-03-23 13:10:49 -07:00
Rob Lourens
ff83a6b8a5
Make cell metadata non-optional
2020-03-20 22:20:01 -07:00
Rachel Macfarlane
2b86488f03
Add account context menu, #90385
2020-03-20 09:51:35 -07:00
rebornix
5d18ad4c59
editable metadata
2020-03-19 17:32:16 -07:00
rebornix
56660bef36
messages channel between ext and webview for outputs
2020-03-19 12:48:51 -07:00
Pine Wu
196562bff2
Merge remote-tracking branch 'origin/master' into octref/live-rename
2020-03-18 12:28:47 -07:00
rebornix
5194415bae
Merge remote-tracking branch 'origin/master' into rebornix/notebook
2020-03-18 09:53:43 -07:00
Pine Wu
8870bcdf89
Merge remote-tracking branch 'origin/master' into octref/live-rename
2020-03-17 11:58:44 -07:00
Matt Bierner
7f6f3c28a6
Add cancellation parameter to custom editor resolve methods
...
Adds placeholder cancellation arguments to the custom editor api. These requests are currently never cancelled
2020-03-16 20:15:57 -07:00
rebornix
cdfd6eca84
Merge remote-tracking branch 'origin/master' into rebornix/notebook
2020-03-16 14:08:26 -07:00
Matt Bierner
041a5907b1
Add experimental moveCustomTextEditor hook
...
For #77131
Adds a hook that lets extensions preserve the webview for a custom editor across a rename
2020-03-13 17:49:52 -07:00
Daniel Imms
361f38ecf8
Merge branch 'master' into tyriar/link_handlers
2020-03-13 06:49:01 -07:00
Christof Marti
14b5afc0ec
Add --use-host-proxy ( microsoft/vscode-remote-release#2487 )
2020-03-13 12:42:58 +01:00
Daniel Imms
b66d56602f
Implement terminal link handler API
...
Part of #91606
2020-03-12 18:17:18 -07:00
Matt Bierner
9dae408dc3
Switch webview api back to use delegate model
...
For #77131
Going back the the delegate based model for a few reasons:
- It gives us a better approach to add additional API hooks in the future (such as for rename)
- In practive, the capabilities were almost always the same as the `userData` on the document. It is rather confusing to have both `userData` and the capabilities 'on' the document
2020-03-12 16:54:48 -07:00
Matt Bierner
3ef02fe7b0
Use the UndoRedoService for CustomEditors ( #92408 )
...
* Use the UndoRedoService for CustomEditors
For #90110
Changes custom editors (the ones not based on text) to use the UndoRedoService. This involved:
- Moving edit lifecycle back into the main process again (this is actually the bulk of the changes)
- Removing the `undo`/`redo` methods on `CustomEditorModel`
- Using the undoRedoService to trigger undo/redo
2020-03-12 11:34:40 -07:00
Matt Crouch
1a5565ace0
Merge branch 'master' into scm-resource-context
2020-03-10 22:46:28 +00:00
Pine Wu
c833780356
Clean up API and add stopPattern
2020-03-10 12:38:03 -07:00
Alexandru Dima
84c838d1e3
Scaffold on type rename
2020-03-10 12:33:16 -07:00
Johannes Rieken
c1ec410c8b
create cell uri on the extension host, expose as NotebookCell#uri
2020-03-10 18:06:45 +01:00
Johannes Rieken
52ea4ff1d7
Merge branch 'master' into rebornix/notebook
2020-03-10 10:43:26 +01:00
Matt Bierner
44d4fe895d
Allow using Command in StatusBarItem ( #92046 )
...
Fixes #22353
StatusBarItem is one of the few places in our API where we only allow extensions to give us a command as a `string` instead of as `Command` object. This change updates the API to also allow passing in a `vscode.Command` (which also allows arguments!)
2020-03-09 12:57:33 -07:00
rebornix
285d89e30c
Merge remote-tracking branch 'origin/master' into rebornix/notebook
2020-03-04 16:34:06 -08:00
Matt Bierner
077cd38d26
Add cancellation on CustomEditor.save
...
For #91702
2020-03-04 15:49:10 -08:00
Alex Ross
426d5bfb94
Fix problems with changing local port and restoring
...
Fixes #92008
2020-03-04 16:45:23 +01:00
rebornix
882ae1ec8f
no unverified commit
2020-03-03 16:33:00 -08:00
Johannes Rieken
cddc990d7a
Merge branch 'master' into rebornix/notebook
2020-03-03 12:10:05 +01:00
Alex Dima
c2a604a18c
Add DocumentSemanticTokensProvider.onDidChangeSemanticTokens
2020-03-02 13:45:25 +01:00
Eric Amodio
afacd2bdfe
Fixes #89509 , #91464 , #91628 , #91619
2020-03-01 11:29:54 -05:00