Commit Graph

430 Commits

Author SHA1 Message Date
Matt Bierner
5d6cba5cbc Reworking external opener implementation to allow configured openers to be called directly without a canOpen check
If the user has configured a specific external uri opener, we should always try to use that without first calling `canOpen` to filter down the list of openers.

This change also adds `ExternalUriOpenerEnablement` which allows an opener to mark itself as the preferred opener for a given uri. If only a single preferred opener is returned, it will be used automatically for that uri (although user configuration can override this)
2021-01-14 10:37:00 -08:00
Johannes Rieken
152d0ec8f0 finalize CancellationError API, fixes https://github.com/microsoft/vscode/issues/93686 2021-01-13 11:19:35 +01:00
Matt Bierner
47a135e715 Rework opener api proposal
For #109277

- Add more explicit two phase structure to api
- Make opener pass along label when registered
2021-01-12 16:14:42 -08:00
Rachel Macfarlane
c85297669e Move id, label, and options to authentication provider registration 2021-01-11 10:53:17 -08:00
Wenlu Wang
4331023088 Merge branch 'master' into signaure_arguments_label 2021-01-11 18:15:40 +08:00
Matt Bierner
acda4aed82 Make the external opener a two phase process
This changes makes a few changes to the openers:

- Move the opener prompting from the extension host into the main thread
- Make the external opener process two phases: get openers and then open. This would let us skip the trusted domain validation for extension handled links if we want to in the future
- Add lifecycle to commands used by the uri opener

For #109277
2021-01-07 17:42:12 -08:00
João Moreno
f054767eb4 remove unnecessary line 2021-01-06 14:19:28 +01:00
Rachel Macfarlane
7db413d4c1 Move secrets API to extension context 2021-01-04 22:04:40 -08:00
Rachel Macfarlane
4d8895c7b7 Just kidding, keep proposed onDidChangeAuthenticationProviders API for now 2021-01-04 17:01:25 -08:00
kingwl
f93a2b62ef fix cr issues 2021-01-04 21:15:59 +08:00
kingwl
2db89c75e6 rename to inline hints 2020-12-25 01:15:16 +08:00
kingwl
d24ab0a201 Improve comments and code style 2020-12-24 15:28:27 +08:00
kingwl
3de96fd237 Simplify code 2020-12-23 18:51:15 +08:00
kingwl
9f5cfc246b Add dummy support 2020-12-23 15:07:33 +08:00
Johannes Rieken
ad362089be add proposal of CancellationError, https://github.com/microsoft/vscode/issues/93686 2020-12-16 16:15:32 +01:00
Matt Bierner
6d3c2e6835 Adding proposed external uri opener API
For #109277
2020-12-15 16:26:47 -08:00
Benjamin Pasero
5b33fdd650 API: finalize status bar backgroundColor (#110214) 2020-12-15 17:18:59 +01:00
Johannes Rieken
9ce3f9462d disable proposed API checks on top-level getters 2020-12-09 15:30:52 +01:00
Martin Aeschlimann
20bf09bc66 [linked editing] finalize LinkedEditingRangeProvider. Fixes #109923 2020-12-01 10:43:21 +01:00
Martin Aeschlimann
627ad0b4ee rename OnTypeRename -> LinkedEditing (for #109923) 2020-11-27 16:31:56 +01:00
Johannes Rieken
6795d766a0 remove old logging API proposal, fixes https://github.com/microsoft/vscode/issues/85992 2020-11-27 15:51:19 +01:00
Johannes Rieken
79b6d35bd6 remove TreeItem2 2020-11-27 15:46:54 +01:00
Benjamin Pasero
14d59bef92 Allow status items with error background color (fix #110214) (#111353)
* Allow status items with error background color (fix #110214)

* rename to statusBarItem.errorBackground

* address feedback and add error colors

* address feedback
2020-11-27 10:34:22 +01:00
Johannes Rieken
4ac4cf3dff some more cleanup, enfore proposed API checks, fyi @RMacfarlane 2020-11-26 18:13:51 +01:00
Johannes Rieken
c219b0673c 💄 discover and mark more proposed types 2020-11-26 18:04:46 +01:00
Johannes Rieken
1e6e371d3b :liptsick: sort API types and namespaces, enforce proposed API for types 2020-11-26 17:58:11 +01:00
Alex Ross
b01183bda2 Add extension source to forwarded ports
Part of microsoft/vscode-remote-release#4021
2020-11-26 12:03:26 +01:00
Johannes Rieken
b4912314fc move file decoration API to stable, https://github.com/microsoft/vscode/issues/54938 2020-11-26 10:17:05 +01:00
rebornix
23e7e2fef0 showNotebookDocument. 2020-11-24 10:29:07 -08:00
Connor Peet
d1280418d7 testing: initial api implementation
* wip

* wip

* wip

* wip

* wip

* wip
2020-11-20 08:31:35 -08:00
Johannes Rieken
d04f3178dc proper name for register function: registerFileDecorationProvider, #54938 2020-11-19 08:13:18 +01:00
Martin Aeschlimann
8134d8c9e7 rename to OnTypeRenameRangeProvider. For #109923 2020-11-16 18:07:15 +01:00
Martin Aeschlimann
e69d768e53 adopt feedback for #109923 2020-11-11 15:44:49 +01:00
Alex Dima
14140d2a19 Revert "Merge pull request #109049 from digeff/searchView/context/extensionPoints"
This reverts commit a1bb5ac207, reversing
changes made to 9a08a10708.
2020-11-11 09:46:47 +01:00
digeff
bce86a137e Fixed other context menus using this context 2020-11-02 10:57:41 -08:00
Alex Ross
65dddce20e Fix back quick input button 2020-10-20 17:11:31 +02:00
Rachel Macfarlane
4c0811c9c2 Removing polling from auth extensions, fixes #107480 2020-10-09 16:33:53 -07:00
rebornix
2249f2aba5 fix #108406. openNotebookDocument. 2020-10-09 11:34:55 -07:00
Rachel Macfarlane
dafce599a6 Add getPassword, setPassword, and deletePassword APIs, #95475
Co-authored-by: SteVen Batten <sbatten@microsoft.com>
2020-10-06 14:57:16 -07:00
rebornix
359e12a868 ensure backwards compability. 2020-10-06 10:50:58 -07:00
rebornix
cf695d9a1d Move acitve/visible notebook editors to window namespace. 2020-10-05 16:09:41 -07:00
Johannes Rieken
1e7454f72a renames 2020-09-25 18:04:10 +02:00
Johannes Rieken
08695ede81 adopt changes after feedback round one 2020-09-25 18:00:11 +02:00
Johannes Rieken
611bbad868 Merge branch 'master' into joh/cell-output 2020-09-25 17:44:13 +02:00
Johannes Rieken
8932f62afa adress API feedback https://github.com/microsoft/vscode/issues/54938 2020-09-25 16:13:26 +02:00
Johannes Rieken
b297be52ca new proposal for NotebookCellOutput, partial implementation 2020-09-25 11:44:23 +02:00
Johannes Rieken
9f9ba405e4 remove isFree-check and rely on the renderer throwing errors 2020-09-18 12:21:25 +02:00
Matt Bierner
6b083b455b Finalize the WebviewView Api
Fixes #46585

This new api allows extensions to contribute webviews to the sidebar or panel
2020-09-16 14:59:13 -07:00
rebornix
289bce5e1a nb decoration api first cut. 2020-09-16 14:27:04 -07:00
Alex Ross
10c7db89ee Add color to ThemeIcon (#106491)
Part of #103120
2020-09-16 11:20:52 +02:00