For web, it seems the most feasible direction for resolvers as we make
existing remote extensions 'web enabled' is to allow them to run in the
extension host. However, in no case will there just be a simple
websocket we can connect to ordinarily.
This PR implements a first cut at 'inline' resolvers where messaging is
done in the extension host. I have not yet tested them on web, where I
think some more wiring is needed to mirror desktop. Also, resolution of
URLs is not in yet. I think for this we'd want to do some service-worker
-based 'loopback' approach to run requests inline in the remote
connection, similar to what I did for tunnels...
Resolvers are not yet run in a dedicated extension host, but I think
that should happen, at least on web where resolvers
will always(?) be 'inline'.
Most of the actual changes are genericizing places where we specified
the "host" and "port" previously into an enum. Additionally, instead of
having a single ISocketFactory, there's now a collection of them, which
the extension host manager registers into when a managed resolution
happens.
* feat: Initial pass at Debug Focus, listener for thread or stack frame
selection (#63943)
Add debug.onDidChangeDebugFocus. May provide ids for session, thread,
and stackFrame, as appropriate.
Fixes: #63943 api should provide thread/stack frame id (paraphrasing)
* chore: small comment tweaks in proposal
* fix: bad copy/paste in proposed. moved types out of 'debug' namespace
* fix: separate 'debugFocus' into thread and stackFrame specific
listeners, and create separate contexts for each
* fix: Revert prev change, switch to single api with union type
This reverts commit c308bc3a90.
* fix: rename accessor from 'focus' to 'stackFrameFocus'
* fix: review comments; remove unused type, imrpove comments
* fixL review comments, type change: sessionID property cannot be undefined
* Remove comments
---------
Co-authored-by: Rob Lourens <roblourens@gmail.com>
For #179430
Adds two new UX components:
- An inline progress icon shown when a drop operation takes over 500ms. This replaces the notification. You can click on it to cancel the drop
- Post drop, a drop feedback icon that lets you drop the file in a different way. This lets you drop the file as plain text for instance instead of as a markdown link
* introduce a SemanticSimilarity provider model
* have raceCancellablePromises also cancel if it rejects
* remove extensionId for now
* remove unused code
* Allow individual comments to be marked as draft
This is a proposal for #171166.
* Remove `hasDraftComments` from `CommentThread`
* Rename `CommentVisibility` to `CommentState`
* Rename `CommentVisibility` to `CommentState`
* Add api proposal check
---------
Co-authored-by: Alex Ross <alros@microsoft.com>
* Add an id to responses that comes from the provider
* Add event fired when the user performs actions on interactive session responses
* Only show user action buttons when the provider has added a response ID
* Propose "allowLocal" open dialog option API
Part of #131138
* Update comment
* allowUIResources API proposal
Part of #131138
* Fix scheme ordering and update doc comment
* Separate quick diff API from SCM
Part 1: split up the API.
upcoming in part 2: In editor UX for multiple quick diffs.
Fixes#169012
* Respond to review feedback
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
First pass of https://github.com/microsoft/vscode/issues/134941
The UI is pretty minimal so far, just a new icon (though I have a
proposal for some changes in the UX channel.)
If there's more that one profile that supports continuous test runs,
then we open a quickpick and ask the user which ones they want to use.
The data flow is then fairly simple. We call the `profile.runHandler`
with the appropriate request, but just doesn't "track" it like we do for
normal test runs. Then, any `createTestRun` calls are tracked as
ordinary extension-triggered test runs.
Currently we don't do anything to associate these new test runs with the
fact that they were from a specific auto-run request, but that could be
added if need to in the future.