Commit Graph

930 Commits

Author SHA1 Message Date
rebornix
b5ba200088 output always contains id 2021-02-04 11:44:02 -08:00
Rachel Macfarlane
5115a8eae7 Don't show a modal on 'getSession' for access requests if 'createIfNone' is false, fixes #111529 2021-02-03 09:58:29 -08:00
Johannes Rieken
74937e0a89 Merge pull request #115530 from microsoft/joh/norpc
Hide API implementation proxies, add tests to check for "proxy leakage"
2021-02-03 09:17:56 +01:00
rebornix
66635b8bd6 remove unknown content change in nb text model. 2021-02-02 12:54:11 -08:00
rebornix
04abcc0338 yarn watchd does not detect interface change again. 2021-02-02 11:44:47 -08:00
Connor Peet
3088c27fbd debug: mark terminal as free when the associated debug session ends (#115573) 2021-02-02 08:27:37 -08:00
Johannes Rieken
a60beb9d7a don't leak proxies in editor land, also remove indentSize property which isn't API 2021-02-01 12:01:50 +01:00
rebornix
b112052169 fix #114171 2021-01-25 14:19:59 -08:00
Connor Peet
bd7dff7f07 testing: add test result to proposed api, ids for correlation 2021-01-25 12:20:28 -08:00
rebornix
7468a06012 Revert "fix #114171."
This reverts commit e32e353bfd.
2021-01-25 10:45:27 -08:00
rebornix
9f9d1a76d9 support kernel id and extension 2021-01-21 15:57:28 -08:00
Alexandru Dima
ec1eda0d96 Rename OnEnterRule.oneLineAboveText to previousLineText after API call feedback (#58440) 2021-01-20 17:31:04 +01:00
Johannes Rieken
e9263cc826 some API proposal for open editors 2021-01-20 12:35:18 +01:00
Connor Peet
686cd7df53 testing: clean up actions, add run/debug all, rm duplication
The WorkspaceTestCollectionService duplicated collection logic
unnecessarily. Centralize to the TestService's collection.

This also moves the state updates for discovering tests, and a new
update for adding roots, into the diff, which lets us synchronize those
changes with the changes to test collections.

There's a super crazy bug with the "run all" action that I have
not dove into yet.
2021-01-19 17:44:02 -08:00
Matt Bierner
c42b385bce Disable contributed openers by default in calls to openExternal
Fixes #114543

External and internal callers to openExternal may not expect (or want) their urls to be handled by a contributed opener. This change makes it so you have to explicitly enable using contributed openers when calling openExternal.

It also enables using contributed openers for a few places in our codebase
2021-01-19 12:16:34 -08:00
Alex Ross
c0c033ff4f Use port auto forwarding setting to disable port finding (#114574) 2021-01-19 17:06:06 +01:00
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