Commit Graph

544 Commits

Author SHA1 Message Date
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
Matt Bierner
f35758ab21 Rename supportsMultipleEditorsPerResource -> supportsMultipleEditorsPerDocument
For #77131
2020-04-23 17:33:06 -07:00
rebornix
5121bac41d NotebookEditor.selection 2020-04-22 13:44:00 -07:00
Andre Weinand
1451fab698 add dynamic debug config API 2020-04-20 13:26:20 +02:00
Rachel Macfarlane
87287d0275 Code cleanup, remove stuff related to sign in commands 2020-04-16 19:29:56 -07:00
Matt Bierner
5913061e1b Allow a custom editor to opt out of supporting multiple instances for a single resource
#77131
2020-04-16 17:40:20 -07:00
Matt Bierner
5426f5ff70 Add CustomDocumentContentChangeEvent
For #77131

- Rename `onDidEdit` to `onDidChange`
- Allow custom editors to fire a `CustomDocumentContentChangeEvent` that only marks the editor as dirty but does not enable undo/redo. The only way for editor to get out of this dirty state is to either save or revert the file
2020-04-16 17:40:20 -07:00
Johannes Rieken
ab24124841 use map over switch, "more strict" signature, don't send default type, https://github.com/microsoft/vscode/issues/95325 2020-04-16 16:14:12 +02:00
Rachel Macfarlane
061f4967f9 Show sign in entry for all auth providers in accounts menu, fixes #94488 2020-04-13 14:28:07 -07:00
Rachel Macfarlane
335de3b713 Fixes #95020, add extension to trusted list when confirming login 2020-04-11 13:27:24 -07:00
Matt Crouch
7701913031 Merge branch 'master' into scm-resource-context 2020-04-09 21:45:49 +01:00
João Moreno
8ceb90a807 fixes #93493 2020-04-09 15:22:27 +02:00
Matt Crouch
72b0c4787a Merge branch 'master' into scm-resource-context 2020-04-09 07:59:40 +01:00
Matt Bierner
d4ce7148dd New custom editor API proposal
For #77131

Fixes #93963
Fixes #94515
Fixes #94517
Fixes #94527
Fixes #94509
Fixes #94514
Fixes #93996
Fixes #93913

This removes explicit edits from the API and reshapes the API to more closely match VS Code's internal API. The change also tries to better express the lifecycle of backups
2020-04-08 17:53:39 -07:00
Matt Crouch
0f532605ef Merge branch 'master' into scm-resource-context 2020-04-08 23:00:58 +01:00
Christof Marti
060e23075c Fix QuickInput result types (fixes #91877) 2020-04-08 11:40:34 +02:00
Eric Amodio
4ccf3e4ef3 Fixes #94163 2020-04-06 23:58:04 -04:00
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