Commit Graph

125916 Commits

Author SHA1 Message Date
Joyce Er
3709bf2387 feat: instrument accepting and rejecting chat edits (#230748)
* feat: instrument accepting and rejecting chat edits

* eslint

* Fix compile
2024-10-08 09:29:59 +02:00
Rob Lourens
4ba135f790 Add a confirmation dialog for tools not running in a chat session (#230758) 2024-10-08 07:56:56 +02:00
Rob Lourens
9cefbca62d Add comment about when tools are used (#230751) 2024-10-08 07:56:16 +02:00
Tyler James Leonhardt
6263ec2c6e New "Use a new account" option when switching preferences (#230746)
This option allows you to sign in to a new account and use if for an extension all in the same flow:

insert pic

Fixes https://github.com/microsoft/vscode/issues/229496
2024-10-07 15:59:12 -07:00
Rob Lourens
ab283149d1 Fix "new chat" action after switching sessions (#230747)
Fix #230526
2024-10-07 15:58:40 -07:00
Justin Chen
74b40c2c29 fix image rendering, use paste provider (#229779)
* change image rendering approach, move to use paste provider entirely

* reminder to remove paste image

* use set context

* remove chat image paste, replace with provider

* some cleanup

* user datatransfer instead

* fix merge conflict

* add mime types from data transfer

* revoke onload, some cancellation checks

* add some error handling

* change import to fix compile
2024-10-08 00:14:47 +02:00
Tyler James Leonhardt
3b1a464842 Improve conditional for the account preference (#230745)
It makes more sense that if we have an options.account, that takes precedence.
2024-10-08 00:14:01 +02:00
Joyce Er
6f3888bad3 refactor: unify Cancel button for chat views (#230743) 2024-10-07 23:36:13 +02:00
Joyce Er
5365a7325a fix: reuse progress for iterated edits (#230741)
* fix: sync working set items to chat attachments model

* fix: reuse progress for iterated edits

* 💄
2024-10-07 23:27:14 +02:00
Benjamin Christopher Simmonds
ddd16fa24c Allow hover target override for resource labels (#230101)
* Allow resource label hover target to be changed

* adopt hover target override for attachments

* remove default hover delegate which does nothing special

* Remove unused tabsHoverDelegate from EditorTabsControl

* cleanup
2024-10-07 23:15:44 +02:00
Andrea Mah
62ad06ad63 add schemeHasFileSearchProvider (#230731)
* add hasFileSearchProviderScheme

* rename to schemeHasFileSearchProvider
2024-10-07 14:05:37 -07:00
Michael Lively
0c939e4d0a fix leak -- dispose model ref (#230733) 2024-10-07 21:53:58 +02:00
Joyce Er
9d68441777 feat: allow adding search results to chat editing working set via Add Files picker (#230729)
* feat: allow adding search results to chat editing working set via Add Files picker

* Format document
2024-10-07 21:36:55 +02:00
Matt Bierner
71f16d9c13 Use fileURLToPath for eslint (#230734) 2024-10-07 21:13:41 +02:00
Matt Bierner
ab554de6ca Don't require loading project for eslint rules (#230732)
This is no longer required
2024-10-07 12:07:25 -07:00
Matt Bierner
ff4c15429c Pick up latest TS for building VS Code (#230730) 2024-10-07 21:01:31 +02:00
Joyce Er
e69f4d86c8 feat: allow adding all open editors to chat editing working set via Add Files picker (#230727) 2024-10-07 19:59:54 +02:00
dependabot[bot]
4df9b62926 build(deps-dev): bump cookie and @vscode/vscode-perf (#230720)
Bumps [cookie](https://github.com/jshttp/cookie) and [@vscode/vscode-perf](https://github.com/microsoft/vscode-perf). These dependencies needed to be updated together.

Updates `cookie` from 0.4.1 to 0.7.2
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.4.1...v0.7.2)

Updates `@vscode/vscode-perf` from 0.0.14 to 0.0.19
- [Release notes](https://github.com/microsoft/vscode-perf/releases)
- [Commits](https://github.com/microsoft/vscode-perf/compare/v0.0.14...v0.0.19)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: direct:development
- dependency-name: "@vscode/vscode-perf"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 19:59:02 +02:00
Rob Lourens
75d515efe8 Fix chat rendering issue (#230677)
* Fix chat rendering issue
Sometimes not properly rendering non-markdown content after consuming all markdown words.
Got stuck when the markdown part ends in whitespace.

* Fix test

* Fix test
2024-10-07 19:39:52 +02:00
Matt Bierner
e2e048ded8 Merge pull request #230345 from microsoft/dev/eslint-9
Eslint 9 migration
2024-10-07 09:15:12 -07:00
Sandeep Somavarapu
8ec84d0814 profiles: debt reduction (#230661)
* debt reduction:
- remove unused short label
- remove migration code

* remove short name

* fix tests
2024-10-07 17:11:49 +02:00
Arda Aydın
27b9c10f3c Change window.experimentalControlOverlay's scope to application (#230593) 2024-10-07 17:09:12 +02:00
Matt Bierner
0deec1d730 Exclude generated codicon.css file from hygiene (#230501)
Fixes #230388
2024-10-07 16:25:03 +02:00
Nathan Shively-Sanders
a003a0de24 Add new context parameter to API 2024-10-07 07:24:34 -07:00
Nathan Shively-Sanders
a1cd9f37f1 Update copilotRelated API with Disposable/CancellationToken 2024-10-07 07:24:34 -07:00
Nathan Shively-Sanders
007126775c add missing ts-expect-error till 5.7 2024-10-07 07:24:34 -07:00
Nathan Shively-Sanders
50a1fbda47 Register copilotRelated, use selector's languages
The select provided at registration contains the correct list of
languages to register for the provider.
2024-10-07 07:24:34 -07:00
Nathan Shively-Sanders
fc7db1c7da Remove stray edit 2024-10-07 07:24:34 -07:00
Nathan Shively-Sanders
bada583519 ts-expect-error on upcoming TS 5.7 protocol 2024-10-07 07:24:34 -07:00
Nathan Shively-Sanders
b8e8e701f5 Depend on TS 5.7 not 5.6 2024-10-07 07:24:34 -07:00
Nathan Shively-Sanders
e169ac792f Move copilot related-files to language features
It is now in its own file.

Also address other PR comments.
2024-10-07 07:24:34 -07:00
Nathan Shively-Sanders
7e5592d88e Update to new command name 2024-10-07 07:24:34 -07:00
Nathan Shively-Sanders
7fcf402604 TS extension: add related-files call to CopilotRelated
registerRelatedFilesProvider is a new method on the copilot extension.
CopilotRelated is a new tsserver command that provides information from
tsserver to copilot. (The information is not necessarily
copilot-specific, of course.)
2024-10-07 07:24:34 -07:00
Alexandru Dima
cd1f8db59e Don't render the inline edits in diff editors (#230710) 2024-10-07 16:20:51 +02:00
Johannes Rieken
497164139f open code editor as soon as their uri is mentioned (#230709)
* don't show in diff editors

* open code editor as soon as their uri is mentioned
2024-10-07 16:07:17 +02:00
Alexandru Dima
485a7ede3b Scaffold showing inline diff in the file (#230695) 2024-10-07 13:09:08 +02:00
Johannes Rieken
d1bab6b1ab api todos (#230684) 2024-10-07 10:32:32 +02:00
Don Jayamanne
0ca72abae2 Exprimental ipynb serialization setting (#230669) 2024-10-06 20:10:10 -07:00
Benjamin Pasero
2acc0e52cb Adopt File System Observer API (fix #226131) (#230658) 2024-10-07 09:21:33 +09:00
Rob Lourens
b16f3ce1a0 Use markdownDescription for a couple tools contrib props (#230657) 2024-10-06 18:35:22 +02:00
Benjamin Pasero
e295840c09 verifies editors can save and restore flaky smoketest (fix #230505) (#230639) 2024-10-06 09:27:47 -07:00
Benjamin Pasero
89f039ff9f esm - fancyLog for bundle messages (#230638) 2024-10-06 09:27:18 -07:00
Joyce Er
9944c35524 refactor: reuse IChatResponseViewModel#isComplete (#230656) 2024-10-06 17:58:58 +02:00
Benjamin Pasero
dc265add0b esm - drop need for manual concat (#230571) 2024-10-06 14:12:20 +02:00
Rob Lourens
bda2706bad Remove unused event (#230610) 2024-10-05 19:03:19 -07:00
Robo
51cfc9ece4 ci: add checks to verify mach-o objects architecture (#230598) 2024-10-05 12:27:10 -07:00
Tyler James Leonhardt
55e66e7936 Throw a known Network error and don't delete secrets if so (#230560)
Fixes https://github.com/microsoft/vscode/issues/228036
2024-10-05 08:18:30 -07:00
Benjamin Pasero
23433ab61b DND from OS no longer works (fix #230536) (#230567) 2024-10-05 00:03:33 -07:00
Joyce Er
62d8aa2ff7 fix: disallow sending another question while auto-applying chat edits (#230557)
* fix: disallow sending another question while auto-applying chat edits

* fix: allow canceling a chat editing auto apply operation

* fix: stop rendering progress in pills when a chat editing request is canceled

* fix: stop rendering progress in input when a chat editing request is canceled
2024-10-05 00:54:19 +02:00
Connor Peet
a7ce32e1fe testing: fix non-runnable tests can be continuously run (#230555)
Fixes #228978
2024-10-05 00:35:11 +02:00