Commit graph

121805 commits

Author SHA1 Message Date
Robo 73036af1c9
chore: update deps for linux x64 client (#213221)
chore: update linux client dependencies
2024-05-22 15:57:53 +02:00
Benjamin Pasero 9512a2e9a1
debt - some multi-tabs select cleanup (#213161) 2024-05-22 13:36:38 +02:00
Johannes Rieken ea8e9f09d6
Merge pull request #212913 from SimonSiefke/feature/isolated-modules
feature: enable typescript isolated modules
2024-05-22 10:16:10 +02:00
Benjamin Pasero 51739d8d28
Perf: visualise memory efficiency (#211837) (#213208)
* Perf: visualise memory efficiency (#211837)

* feat: add telemetry logging for startup heap statistics

* fix compile

* feat: add used heap size to startup performance telemetry

* refactor: remove allocated heap size from startup performance telemetry

* comments
2024-05-22 09:45:20 +02:00
Johannes Rieken b46315d143
chore - write error message so that it doesn't get confused as file path (#213210) 2024-05-22 09:29:39 +02:00
Johannes Rieken 95ffd765e1
chore - remove dead/stale commands (#213207) 2024-05-22 09:07:35 +02:00
Joyce Er 01e5d003f7
Merge pull request #213201 from microsoft/dev/joyceerhl/thin-bear
feat: persist chat attachments in history
2024-05-21 23:12:51 -07:00
Rob Lourens 4fb755cadb
Fix "open chat in editor" (#213198)
Fix microsoft/vscode-copilot-release#1233
2024-05-21 21:36:07 -07:00
Joyce Er da5e82a46f feat: persist chat attachments in history 2024-05-21 21:35:27 -07:00
Connor Peet 5250661ed9
Merge pull request #213190 from microsoft/connor4312/testing-followup-actions
testing: exploratory UI for followup actions
2024-05-21 16:40:54 -07:00
Connor Peet e1dfc911ce
testing: exploratory UI for followup actions
This adds an API that extensions can use to contribute 'followup'
actions around test messages. Here just a dummy hello world using
copilot, but extensions could have any action here, such as actions to
update snapshots if a test failed:

![](https://memes.peet.io/img/24-05-c1f3e073-a2da-4f16-a033-c8f7e5cd4864.png)

Implemented using a simple provider API.
2024-05-21 16:09:08 -07:00
Aaron Munger 5fe7fc55f4
remove test logs (#213188) 2024-05-22 00:47:54 +02:00
Aaron Munger 5328a3f143
Save on EH diagnostics (#213171)
* added trace logs

* another trace message

* fix test ctors
2024-05-21 15:23:34 -07:00
Rob Lourens 1c3d194551
Properly handle errors thrown from renderer while invoking the chat agent (#213080)
* Properly handle errors thrown from renderer while invoking the chat agent
If we throw out of ChatService, then the request can't be canceled and stays "generating" forever

* Update snapshot
2024-05-21 23:52:59 +02:00
David Dossett a09d8842a5
Merge pull request #213185 from microsoft/ddossett/stiff-mandrill
Tweak confirmations pading
2024-05-21 14:50:49 -07:00
David Dossett 4a24bcdb68
Tweak confirmations pading 2024-05-21 14:31:08 -07:00
Connor Peet 71e25d9b3c
debug: respect stackframe deemphasize in getTopStackFrame (#211855) 2024-05-21 14:18:42 -07:00
Megan Rogge c0c8cddc34
Use ChatAgentService instead of InlineChatService for terminal chat hint (#213183)
fix #213159
2024-05-21 22:58:45 +02:00
Megan Rogge ba9fe552f4
Use resolveContentAndKeybindingItems for diff editor, accessible view, and terminal (#213179) 2024-05-21 22:09:31 +02:00
Joyce Er f2f4adc806
feat: allow extensions to attach chat context (#213172)
* feat: allow extensions to attach chat context

* fix: allow attaching different ranges from same file

* fix: restore accepting files from picker
2024-05-21 12:34:09 -07:00
Matt Bierner 6743fa305c
Pick up latest ts for building VS Code (#213170) 2024-05-21 12:33:34 -07:00
Johannes Rieken 4d7797fd07
Merge pull request #213165 from microsoft/joh/urgent-junglefowl
remove bridge agents and agent providers because inline chat is all participants now
2024-05-21 20:35:00 +02:00
Matt Bierner 0e913580f1
Treat normal markdown links as a single token for progressive chat rendering (#213091)
Fixes our progressive chat renderer breaking up any markdown links that contain `-` or a space character. Doesn't support all the fancy markdown link syntaxes, just basic links for now
2024-05-21 11:31:43 -07:00
Walker Boyle 3bda9ff4f7
fix: tsserver no longer crashes when log path includes spaces (#212752) 2024-05-21 18:01:17 +00:00
Johannes 51bee127fa
undo cell diag changes 2024-05-21 17:53:58 +02:00
Johannes dd05a6ff19
remove bridge agents and agent providers because inline chat is all participants now
* remove much of IInlineChatSessionProvider
* deprecate IInlineChatService and move most consumers off
2024-05-21 17:41:25 +02:00
Benjamin Christopher Simmonds 54d31be669
Tabs Multi Select Polish (#212930)
* Tabs Multi Select Polish

* 💄

* add todo

* add todo

* update

* 💄

* 💄

* 💄

* more review

* 💄

* 💄

* fix bad function call

* remove todo

* jsdoc

* 💄

* fix typo

* 💄

* 💄

* 💄 multiEditorTabs

* model accepts multiple editors

* Use setSelection()

* fix tests

* 💄

* 💄

* discussion

* discussion

* fix selection

* typo

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2024-05-21 14:00:10 +00:00
Johannes Rieken b903ddb27a
chore - inline chat controller tests works without agents only (no more glue provider-agent) (#213151) 2024-05-21 13:55:08 +00:00
Johannes Rieken a3d7b649f4
adjust max input part height for compact chat widget, keep input height separate when compute minHeight (#213139)
fixes https://github.com/microsoft/vscode-copilot/issues/5707
2024-05-21 12:20:28 +02:00
Johannes Rieken 89eb8a767f
make sure to push an undo stop after each request (#213137)
fixes https://github.com/microsoft/vscode-copilot/issues/5736
2024-05-21 12:16:33 +02:00
Rob Lourens 601018a7db
Fix merging chat anchors in markdown content (#213114)
* Fix merging multiple chat anchors inside markdown content

* Simplify types

* Fix tests
2024-05-20 20:44:31 -07:00
Rob Lourens 51591f83a1
Fix shared input history between chat locations (#213111)
Fix microsoft/vscode-copilot-release#1228
2024-05-20 18:16:07 -07:00
Joyce Er 2b3e929329
Merge pull request #213109 from microsoft/dev/joyceerhl/encouraging-hookworm
feat: support dynamic variables in chat context picker
2024-05-20 17:01:51 -07:00
Joyce Er 9d17074369 Fix misaligned jsdoc 2024-05-20 16:44:51 -07:00
Joyce Er 23713da84a Merge branch 'main' of https://github.com/microsoft/vscode into dev/joyceerhl/encouraging-hookworm 2024-05-20 16:40:40 -07:00
Joyce Er ddc97d4bff feat: support dynamic variables in chat context picker 2024-05-20 16:31:57 -07:00
Megan Rogge 4b45180a16
resolve accessibility help dialog kbs in accessibleViewService (#213107) 2024-05-21 01:14:23 +02:00
Megan Rogge b5846dbfbb
strip markdown from chat accessible view, maintain code block nav functionality (#213096) 2024-05-20 15:18:46 -07:00
Rob Lourens 32cf35e7e6
Respect isSlow for chat attachments (#213105) 2024-05-20 23:46:12 +02:00
Megan Rogge 8372399982
fix a few accessible view bugs (#213097) 2024-05-20 23:23:44 +02:00
Rob Lourens d68eddc5cc
Fix chat welcome message tooltip (#213084) 2024-05-20 20:20:56 +02:00
Isidor Nikolic e5dfe045db
Merge pull request #212975 from microsoft/isidorn/annoyed-swift
update comment example to use response.text
2024-05-20 20:00:06 +02:00
Joyce Er 219c4956ad
Merge pull request #213083 from microsoft/dev/joyceerhl/blonde-rabbit
fix: limit width of chat attachment widgets
2024-05-20 10:36:21 -07:00
Connor Peet 04bd18aedb
Merge pull request #213082 from microsoft/connor4312/issue212888
eng: fix prelaunch task on recent node versions
2024-05-20 10:32:41 -07:00
Connor Peet 7828baaa8e
eng: fix off-by-1 error in selfhost test error messages (#213081)
Fixes #212808
2024-05-20 19:26:43 +02:00
Joyce Er f5162a7533 fix: limit width of chat attachment widgets 2024-05-20 10:18:45 -07:00
Connor Peet cb3c3cb125
eng: fix prelaunch task on recent node versions
Closes #212888
2024-05-20 10:16:22 -07:00
Joyce Er c00f2792a4
feat: allow ➡️ to add chat context in background (#213078) 2024-05-20 19:09:02 +02:00
Megan Rogge b973558e58
provider keyboard users with hover actions (#213077) 2024-05-20 19:06:20 +02:00
Megan Rogge ae0c9285a1
if no selected items, return to accessibility help dialog (#213075) 2024-05-20 18:53:35 +02:00