Commit Graph

897 Commits

Author SHA1 Message Date
Matt Bierner
0227681492 Add new external uri opener service
This workbench service handles opening external uris. Unlike the core OpenerService, it also has logic for configuring a default opener and prompting if multiple openers are availble for a given uri
2021-01-12 12:41:15 -08:00
Daniel Imms
0a19f7702a Rename ackId to charCount 2021-01-12 11:36:21 -08:00
Daniel Imms
bf52d50a0a Remove ackId from data events going to client 2021-01-12 11:27:51 -08:00
Daniel Imms
6430ee1efc Basic flow control for ext host processes
Part of #113827
2021-01-12 09:39:45 -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
Matt Bierner
e2c305f3a3 Allow registering additional external uri openers
This change moves the extension uri opener contribution point to instead use the internal `IExternalOpener` api instead of the more generic `IOpener` api. This is required since external uri openers should see the resolved uri that has gone through port forwarding, not the raw uri that the user clicked on
2021-01-07 11:41:07 -08:00
Daniel Imms
16452c54f3 Merge pull request #113938 from microsoft/alex/terminal-exthost-improvements
Avoid timeouts in mirroring terminals to the extension host
2021-01-07 09:29:17 -08:00
Alex Ross
a7cf03de2d Add elevation message to ports UI (#113990)
This change allows remote extension to handle elevation if they want.
Fixes microsoft/vscode-remote-release#3922
2021-01-07 16:21:06 +01:00
Alexandru Dima
3d8888779d Fixes #112446: Avoid timeouts in mirroring terminals to the extension host by assigning a temporary UUID to terminals created on the extension host side 2021-01-07 00:13:42 +01:00
Connor Peet
2c5c0a3be1 testing: fix loading indicators, add progress during initial test discovery 2021-01-05 13:02:58 -08:00
Rachel Macfarlane
7db413d4c1 Move secrets API to extension context 2021-01-04 22:04:40 -08:00
Alex Ross
5b75a42575 Cancellation proposal for resolveTreeItem 2020-12-29 11:47:25 +01:00
Alex Ross
4804bbcdff Tunnel factory can return undefined (#113232)
Fixes microsoft/vscode-internalbacklog#1680
2020-12-28 09:54:08 +01:00
kingwl
2697a42ee7 add range WIP 2020-12-25 01:37:42 +08:00
kingwl
2db89c75e6 rename to inline hints 2020-12-25 01:15:16 +08:00
Alex Ross
0b1892f877 Start candidate finding later (#113377)
And filter out the renderer.
Fixes #4185, #4110
2020-12-24 11:51:47 +01: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
Alex Ross
9c2a1dc473 Don't restore ports that are already detected
Part of microsoft/vscode-remote-release#4112
2020-12-22 14:41:11 +01:00
kingwl
8476ff1a9d WIP 2020-12-22 18:34:34 +08:00
Johannes Rieken
af42aa5bff show diaglog when extensions participate in file operations, have "don't show again" option and command to reset choice, add logging 2020-12-17 12:06:47 +01:00
Connor Peet
cf94178b89 testing: improved test explorer, cancellation 2020-12-16 17:13:35 -08:00
Matt Bierner
423076ab49 Pass schemes to main thread 2020-12-16 15:32:08 -08:00
Matt Bierner
6d3c2e6835 Adding proposed external uri opener API
For #109277
2020-12-15 16:26:47 -08:00
Alexandru Dima
fbe4aa28ff Collect and deliver perf marks from extension hosts (#112552) 2020-12-15 21:48:14 +01:00
Johannes Rieken
0a2cb7630f apply workspace edit from onWill-handler from within renderer, https://github.com/microsoft/vscode/issues/111878 2020-12-11 12:08:46 +01:00
Martin Aeschlimann
627ad0b4ee rename OnTypeRename -> LinkedEditing (for #109923) 2020-11-27 16:31:56 +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
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
0ab259ff27 remove unsued code, fyi @roblourens, https://github.com/microsoft/vscode/issues/106741 2020-11-25 17:02:29 +01:00
rebornix
23e7e2fef0 showNotebookDocument. 2020-11-24 10:29:07 -08:00
Alex Ross
950c942b7c TunnelCreationInformation -> TunnelCreationOptions
Fixes #110795
2020-11-24 17:52:13 +01:00
Alex Ross
c4b7d10912 Use property bag for tunnel creation elevation
Fixes #110795
2020-11-24 16:04:54 +01:00
Connor Peet
d1280418d7 testing: initial api implementation
* wip

* wip

* wip

* wip

* wip

* wip
2020-11-20 08:31:35 -08:00
Johannes Rieken
5876a5e4ae Merge pull request #110930 from microsoft/joh/undoOpts
Undo/redo, bulk edit and onWill-file events
2020-11-19 15:10:00 +01:00
Johannes Rieken
3665005621 add undo options (undo group id, isUndoing) to working copy service and bulk edit logic 2020-11-19 11:16:16 +01:00
Alex Ross
8374d6a4c7 Detect ports to forward more often
Part of microsoft/vscode-remote-release#4021
2020-11-19 10:55:04 +01:00
Martin Aeschlimann
8134d8c9e7 rename to OnTypeRenameRangeProvider. For #109923 2020-11-16 18:07:15 +01:00
João Moreno
62e830be77 Git/SCM: Use vscode.open and vscode.diff for a better editor opening experience (#110733)
* wip: try to use vscode.open and vscode.diff in git/scm

related to #110397

* 💄

* revert change to commands.converter.toInternal

* complete usage os vscode.open and vscode.diff in git extension
2020-11-16 16:19:26 +01:00
Alex Ross
19c93615dd Properly call dispose on extension created tunnels
Part of microsoft/vscode-remote-release#3961
2020-11-13 15:40:28 +01:00
Benjamin Pasero
630e706ad2 Add open context to certain commands (#110475)
* editor commands - move API commands to workbench core

* rename EditorViewColumn => EditorGroupColumn

* mixin context to open commands

* address some feedback

* add comment
2020-11-12 17:01:13 +01:00
Martin Aeschlimann
e69d768e53 adopt feedback for #109923 2020-11-11 15:44:49 +01:00
isidor
081632d225 debug: remove legacy adapterExecutableCommand 2020-11-06 14:59:00 +01:00
Alex Ross
e95c40c1e4 API proposal for revealing tree view when no elements
Fixes #90005
2020-11-06 14:47:14 +01:00
Sandeep Somavarapu
341124ff39 #109896 Remove IStorageKeysSyncRegistryService and introduce new service for syncing extensions storage 2020-11-04 23:27:54 +01:00
Johannes Rieken
1bd7cf9e41 use gh username for todo-tags, nuke some todo-tags 2020-11-02 14:16:55 +01:00
Sandeep Somavarapu
20601293fe Enable syncing extensions storage
- Implement logic to sync extension storage
- Register keys to sync provided by extension
2020-10-24 21:15:33 +02:00
Johannes Rieken
85702a3d9d add trigger characters to extension id as a weak way to make providerNames more unique, #109167 2020-10-23 08:52:24 +00:00
Rob Lourens
89540b65db Don't persist debug terminals
#109084
2020-10-22 17:02:18 -07:00