Commit Graph

614 Commits

Author SHA1 Message Date
Johannes Rieken
756337d48a Merge branch 'master' into signaure_arguments_label 2021-01-18 16:01:38 +01:00
Wenlu Wang
1c131cf265 Avoid extra fields 2021-01-18 17:48:43 +08:00
Wenlu Wang
3c2c937f99 Merge branch 'master' into signaure_arguments_label 2021-01-18 17:38:35 +08:00
Wenlu Wang
fcc00b29f5 Avoid ts changes (#2)
* Add ts server for inline hints

* Add some feature related configure

* Add more config

* Rename all options

* Support range

* Add new contribution point to allow specific context menu of inline hints.

* Fix filename

* Pass range into command

* Support trigger position and prefix/postfix

* Support hover message and contextValue

* Add event listener

* Avoid demo command

* Avoid ts changes
2021-01-18 17:24:23 +08:00
Rachel Macfarlane
2e89c2d4ba Add 'key' to onDidChange of secrets API, #112249 2021-01-15 17:08:09 -08:00
Alexandru Dima
b64a4ae1aa Scaffold MessageOptions.useCustom 2021-01-15 17:35:47 +01:00
Johannes Rieken
6d50c71f41 add editor command, fyi @dbaeumer 2021-01-15 17:32:07 +01:00
Matt Bierner
cc5e8b22fa Continue work on url opener api
For #109277

- Add `option` opener priority. This means the oper will only be shown if requested but will not replace the default opener
- Persist registered openers for IntelliSense suggestions
2021-01-14 17:06:14 -08:00
rebornix
e32e353bfd fix #114171. 2021-01-14 15:18:16 -08:00
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
Daniel Imms
c972009ef6 Merge pull request #114214 from microsoft/tyriar/flow_control
Implement terminal flow control
2021-01-14 06:44:30 -08:00
Daniel Imms
f8ec60aa06 Add flow control setting, remove fake latency 2021-01-14 06:04:03 -08:00
Matt Bierner
47aa3ad09a Continue work on opener service
- Add error notification if opener throws an exception
- Add public facing id to openers. This is used in settings
- Add intellisense for the opener id setting
2021-01-13 12:53:18 -08:00
Alex Ross
b903748b83 Fix candidate filter and auto forwarding wiring (#114290) 2021-01-13 18:06:31 +01:00
kingwl
9853c8fe6d Fix cr issues 2021-01-13 19:21:51 +08: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
Connor Peet
04efea43fa testing: peek diff test outputs 2021-01-12 12:57:42 -08:00
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