Commit Graph

796 Commits

Author SHA1 Message Date
Ulugbek Abdullaev
2c9e2b85b2 use LanguageFeaturesService to support MappedEditsProviders instead of creating a new MappedEditsService 2023-08-22 15:46:44 +02:00
Martin Aeschlimann
98f63f1849 Merge branch 'main' into ulugbekna/insert-at-cursor-api 2023-08-21 18:43:52 +02:00
Ulugbek Abdullaev
3e9e7b3b5a Initial implementation of mappedEditsProvider proposed API 2023-08-17 17:10:35 +02:00
Ulugbek Abdullaev
0e2849672f refactor: add types to remove warning 2023-08-17 17:05:26 +02:00
Daniel Imms
4047859b0d Implement vscode command terminal quick fixes
Part of #162950
2023-08-16 12:23:49 -07:00
Johannes
66e5308af3 use proper enum for ChatVariableLevel 2023-08-15 14:47:22 +02:00
Johannes
f1c80a5c5a Merge branch 'main' into chatVariables 2023-08-14 08:37:41 +02:00
Connor Peet
2d9cc42045 testing: menu contribution points around messages (#190298)
- Implements the proposal in #190277 by adding a `contextValue` to
  TestMessages added to test runs.
- Make the `FloatingClickMenu` reusable outside the editor, and uses
  it to implement a `testing/message/content` contribution point.

With this extensions can do things like:

![](https://memes.peet.io/img/23-08-68e2f9db-abc4-4717-9da6-698b002c481c.png)
2023-08-12 08:03:01 -07:00
Johannes
487606d5e1 Merge branch 'main' into chatVariables 2023-08-11 13:50:13 +02:00
Johannes
2cb4a66f87 implement and wire-up chatVariables proposal 2023-08-11 11:15:57 +02:00
Johannes Rieken
bc4e606f7a remove old slash commands proposal (#190154) 2023-08-10 14:19:07 +02:00
Daniel Imms
ccf15d3964 Merge remote-tracking branch 'origin/main' into tyriar/162950_3 2023-08-09 15:33:54 -07:00
Daniel Imms
5edcca3b38 Update terminal quick fix proposal
Part of #162950
2023-08-09 07:41:00 -07:00
Johannes
465b94787f graceful metadata handling 2023-08-09 10:59:39 +02:00
Johannes
339afc23cb extract chatml things into its own proposal file, rename namespace from llm to chat 2023-08-08 11:47:08 +02:00
Johannes
c78af4fff4 Merge branch 'main' into joh/thoughtless-haddock 2023-07-21 14:41:31 +02:00
Alex Ross
acf5d15424 Expose tunnel factory API to non-resolvers (#188270) 2023-07-20 11:56:25 +02:00
Johannes
3cfa5b9ad4 add requestChatAccess proposal 2023-07-19 15:04:44 +02:00
Johannes
a155dbb793 register chat provider with an identifier 2023-07-18 15:39:00 +02:00
Johannes
f21001c1fe wip 2023-07-14 17:36:58 +02:00
Henning Dieterichs
d1ae8a6ecc Inline Completions: Implements yieldsTo (#187156)
Fixes #https://github.com/microsoft/vscode-internalbacklog/issues/4055
2023-07-07 16:29:09 +02:00
rebornix
818d4995b5 initial notebook save on remote eh 2023-06-23 15:19:01 -07:00
Benjamin Pasero
052ac9ca4c files - allow more file operations to run in the extension host (#172345) (#185988)
* files - allow more file operations to run in the extension host (#172345)

* fix tests

* tests

* tests

* tests
2023-06-23 17:18:44 +02:00
Alex Ross
f5fccbdfe8 Finalize tree checkbox API (#185846)
* Finalize tree checkbox API
Fixes #116141

* Remove TODO
2023-06-22 15:28:11 +02:00
Joyce Er
7c2d459318 Support transferring interactive sessions across workspaces (#185702)
---------

Co-authored-by: Rob Lourens <roblourens@gmail.com>
2023-06-21 10:30:40 -07:00
Connor Peet
69246279e5 resolvers: support nesting and exec server (#185169)
This adds support for nesting remote authorities via passing through
ExecServers.

- An authority like `wsl+Ubuntu@tunnel+my-pc` is parsed into
  the chain `tunnel+my-pc` -> `wsl+Ubuntu`
- An extension for the `tunnel` prefixed is resolved. We expect the
  resolver to implement the new `resolveExecServer` method.
- Resolution continues. `wsl+Ubuntu` is the last resolver, so the
  `resolve()` method is called and the exec server is passed in its
  `RemoteAuthorityResolverContext`

Currently the ExecServer is typed as `unknown` in the API. _Maybe_ we
want to make it real API in the future, but I don't want to do this
until it's generalized beyond a single consumer (WSL).

This also has adds utility method `getRemoteExecServer` to get an exec
server for a given remote. This is used by WSL to probe information
about a tunneled machine even when WSL isn't opened (e.g. to get the
list of distros to shop.)

The new `@` handling should not break remotes. WSL doesn't use `@` in
its remotes, SSH and containers both hex-encode information contained
in authorities. Codespaces does put the codespace name in the remote
authority, but it doesn't seem like it's possible to get `@` in those
names, since they're generated either randomly when opening a template
or from a repo name (where @ is not allowed).
2023-06-15 11:38:35 -07:00
Johannes Rieken
be966265ca IE to IC renames for API implementation but no changes to proposed API yet (#184605) 2023-06-08 10:45:01 -05:00
Alexandru Dima
8f93229614 Avoid extensionService.getExtension and use ActivationKind.Immediate to allow that URI handling works while resolving (#184312)
Avoid `extensionService.getExtension` and use `ActivationKind.Immediate` to allow that URI handling works while resolving (fixes #182217)
2023-06-05 15:04:35 +02:00
Michael Lively
5d83e25547 Support for Notebook CodeAction Kind (#183457)
* nb kind support -- wip

* allow notebook codeactions around single cell edit check

* move notebook code action type out of editor

---------

Co-authored-by: rebornix <penn.lv@gmail.com>
2023-05-30 11:03:12 -07:00
Rob Lourens
0977318801 Restore proposed API check (#183487)
Now that the copilot chat extension is updated and this won't break it
2023-05-25 18:58:45 -07:00
Aiday Marlen Kyzy
2df052f16a Merge pull request #183215 from microsoft/aiday/internalIssue4173
Improving the quick fix implement interface code action
2023-05-24 17:00:42 +02:00
Johannes
2b8529fa61 make API command for interactiveEditor.start so that initial range can be set properly 2023-05-24 15:21:18 +02:00
Alex Ross
73fcc6bdc8 PortAttributesSelector rename + remove pid (#183304)
Part of #115616
2023-05-24 12:27:01 +02:00
Johannes Rieken
b8559c13a3 upon create send over the list of existing status bar items and their props (#183219)
https://github.com/microsoft/vscode/issues/167874
2023-05-23 15:40:14 +00:00
Rob Lourens
fb46eb97a3 Temp disable new proposed api check. (#183165)
If this went out before the copilot chat extension update went out, it would break the extension
2023-05-23 00:56:30 +02:00
Joyce Er
bc1090cc10 Initial share provider API and UI (#182999)
* Formalize share provider API

* i18n.resources.json

* Don't introduce a generic Success dialog severity
2023-05-22 15:32:43 -07:00
Rob Lourens
05c0ca95ed Add new API proposal for chat onDidPerformUserAction event (#183140)
* Add new API proposal for chat onDidPerformUserAction event

* Enable API for tests that incidentally touch the getter
2023-05-22 11:52:19 -07:00
Joyce Er
0880f76765 Improvements to canonical URI API (#182667)
* Improve API names

* Allow requesting a specific scheme

* Implement ile uri support
2023-05-18 09:23:27 -07:00
Connor Peet
8b3523a18d api: implementation of proposed window activity API (#182563)
* api: implementation of proposed window activity API

For #181569

* fix build

* fix build more

* add cell activity per @rebornix
2023-05-16 17:49:33 +02:00
Alex Ross
1236c13709 Ports attributes API updates (#182617)
* Ports attributes API updates
Part of #115616

* Remove port number from attributes API
2023-05-16 13:01:14 +02:00
Michael Blout
3aec07b38a fix: debug focus, remove 'kind' discriminators 63943 (#181244)
* fix: review comments, remove 'kind' discrims, use instanceof

* fix: tweak the isXXXX checks, add some prop typeof checks

* fix: review, remove isX duck type fncs, and construct object
2023-05-15 18:14:05 -07:00
Rob Lourens
2156969dcf Rename files 2023-05-15 15:54:11 -07:00
Rob Lourens
d72649d458 Rename some classes and methods from "interactive session" to "chat" 2023-05-15 15:38:59 -07:00
Joyce Er
2c5dcb3b81 Allow Continue On between repos with HTTPS and SSH remotes (#182352)
* Deduplicate HTTPS and SSH remote URLs

* Improve doc
2023-05-15 11:37:38 -07:00
Connor Peet
e47a286153 resolvers: add appQuality and appCommit (#182532)
Currently remote extensions use a hack to read the product.json, but
this can't be done on web. Instead expose proper API to get the
appQuality and appCommit.
2023-05-15 11:18:57 -07:00
Connor Peet
364b84e3ec Merge remote-tracking branch 'origin/main' into connor4312/inline-remote-resolver 2023-05-11 09:55:21 -07:00
Alex Dima
dde5a4f356 Add dedicated protocol for managed sockets (mainThreadManagedSockets and extHostManagedSockets) 2023-05-11 11:24:24 +02:00
Tyler James Leonhardt
a9c2b682ed Make proposed API clearer (#182093)
* Add missing typedoc

* Also update docs for proposed

* rename getSessions to authGetSessions
2023-05-10 22:27:26 +00:00
Connor Peet
2bc8da8327 Merge remote-tracking branch 'origin/main' into connor4312/inline-remote-resolver 2023-05-09 11:48:20 -07:00
Rob Lourens
60fe2d5970 💄 (#181647)
Clean up from hacking session
2023-05-05 18:35:11 +02:00