Commit Graph

589 Commits

Author SHA1 Message Date
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
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
Alex Ross
0b1892f877 Start candidate finding later (#113377)
And filter out the renderer.
Fixes #4185, #4110
2020-12-24 11:51:47 +01: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
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
Johannes Rieken
f8391ef992 measure duration for completion provider from extensions, #109167 2020-10-22 14:06:36 +00:00
Martin Aeschlimann
fff9302b36 folding: provider event to signal that folding ranges have changed. Fixes #99914 2020-10-19 15:59:56 +02:00
Matt Bierner
c13678f258 Set extension on webview views
Fixes #108689

This fixes loading resources in webview views on web
2020-10-16 17:18:44 -07: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
rebornix
59f0af3bec canReply 2020-10-07 15:27:32 -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
c49d699aec comment thread readonly 2020-09-25 09:18:46 -07:00