Commit Graph

124157 Commits

Author SHA1 Message Date
Rob Lourens fd7c7bda0f Render html as plaintext when html not supported (#213265)
* Support rendering unsupported html tags as plaintext for chat

* Render html as plaintext when html not supported

* Add comment and test for trusted domains
2024-05-23 13:16:18 -07:00
Benjamin Christopher Simmonds 81e568cf86 Fix issue with Cmd+W closing the window with opened tabs (#213335)
fixes #213324
2024-05-23 22:09:24 +02:00
Aiday Marlen Kyzy 6cf8bdb0da Making API editorHoverVerbosityLevel use verbosityLevel instead of action (#213317)
* allowing to cancel a previous request and jump directly to a request for a delta at a higher level

* adding code in order to dispose the token sources when the full object is disposed
2024-05-23 22:01:09 +02:00
Connor Peet 6629c4e0a9 git: allow querying whether files are gitignore (#212982)
* git: allow querying whether files are gitignore

This exposes `checkIgnore`, which I want to use in copilot to determine
which files I should go into when checking references.

* rename method
2024-05-23 21:28:04 +02:00
David Dossett 204521a0d0 Merge pull request #213331 from microsoft/ddossett/magic-mite
Fix codicons padding in chat attachments
2024-05-23 11:46:13 -07:00
David Dossett becae3cc46 Fix codicons padding in chat attachments 2024-05-23 11:27:39 -07:00
Aaron Munger 101ea2a13e allow returning undefined if file was not saved (#213123)
* allow returning undefined if file was not saved

* bring back cancellation check

* helper utility to convey optional result if cancelled

* edit

* inline function

* test cancelled custom save

* inline more

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2024-05-23 09:12:47 -07:00
Benjamin Christopher Simmonds ca45e3d78e Benibenj/registerContextKeyHandler (#213135)
* cleanup editor group context keys

* Update src/vs/workbench/browser/parts/editor/editorPart.ts

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>

* context key on parts

* Update global context keys

* remove scoped keys on group removal

* cleanup

* first draft contexkt key registration

* Make it a provider

* Use group instead of active editor

* getGroupContextKeyValue

* doc

* Fix merge error

* 💄

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2024-05-23 17:52:39 +02:00
Martin Aeschlimann 343a048566 Fix unsafe type assertions on object literals (#213318) 2024-05-23 17:31:20 +02:00
João Moreno 3eb20557bd fix this reference in instantiation service (#213311) 2024-05-23 16:27:34 +02:00
Martin Aeschlimann 027fce3efd Polish the code that sets env in packageJSONContribution.ts (#213306) 2024-05-23 11:45:56 +02:00
Johannes Rieken 2d174613d4 chore: Remove deprecated tokens property from vscode.proposed.chatProvider.d.ts (#213301)
* chore: Remove deprecated tokens property from vscode.proposed.chatProvider.d.ts

* fix compiler
2024-05-23 11:25:38 +02:00
Johannes Rieken d42d42e5b0 increase listener refusal threshold significantly (#213292)
* increase listener refusal threshold significantly

* fix tests
2024-05-23 11:07:47 +02:00
Johannes Rieken 3683ed7151 remove IInlineChatService and types around it (#213298) 2024-05-23 11:03:49 +02:00
Benjamin Christopher Simmonds 082435c697 Remove tree view show hover (#213212) 2024-05-23 10:08:58 +02:00
Benjamin Pasero 869828c097 False positive "saving too long" dialog hindering saving a file (fix microsoft/vscode-internalbacklog#4943) (#213290) 2024-05-23 09:49:30 +02:00
Alexandru Dima ba6fb3b36e Fix StableEditorBottomScrollState (#212970) 2024-05-23 08:50:44 +02:00
Joyce Er 2b277fcb56 fix: apply query filter to additionPicks (#213281) 2024-05-22 21:22:34 -07:00
Rob Lourens 878cb471aa Fix fillInIncompleteTokens for ordered lists (#213280) 2024-05-22 19:42:18 -07:00
Rob Lourens 3cae619a11 Tweak agent hover (#213278)
"View in Marketplace" seems to be confusing people
2024-05-23 04:11:55 +02:00
Rob Lourens cf2db6c1e6 Fix leaking uponSanitizeElement hook (#213277) 2024-05-23 04:07:45 +02:00
Peng Lyu 17f711b9bc Fix #213206. Migrate off IInlineChatService (#213263)
* Fix #213206. Migrate off IInlineChatService

* fix tests
2024-05-22 18:56:10 -07:00
Matt Bierner 79d8e9809e Prevent using disposed of timers (#213271)
* Prevent using disposed of timers

If a timer has been disposed of, warn and don't schedule the callback. This is needed as otherwise the timer very likely ends up being leaked

* Throw errors instead
2024-05-22 18:02:36 -07:00
Sandeep Somavarapu 21df88c9b4 more polish (#213267)
* more polish

* refactor actions

* fix hover
2024-05-22 16:26:51 -07:00
Rob Lourens 96a37971fe Bump distro (#213268) 2024-05-23 00:39:10 +02:00
Joyce Er 637b1f42e7 fix: prevent attaching the same chat context twice (#213266) 2024-05-23 00:13:35 +02:00
Joyce Er 37e1242f15 refactor: clean up chat context types (#213264) 2024-05-22 23:47:06 +02:00
Sandeep Somavarapu 3996e0a00e polish profiles editor (#213262) 2024-05-22 23:37:25 +02:00
Peng Lyu 2070db107d Merge pull request #213194 from microsoft/rebornix/wasteful-gorilla
Move notebook chat off agent dependency
2024-05-22 14:16:42 -07:00
Logan Ramos cd93de1b0c Rename vsDeviceId (#213261) 2024-05-22 23:13:13 +02:00
Peng Lyu d3a701fbc8 Remove notebook chat menu 2024-05-22 13:42:52 -07:00
Connor Peet eccc47493a Merge pull request #213258 from microsoft/connor4312/fix-test-followup-followup
testing: polish followups a little, selfhost with copilot
2024-05-22 13:26:02 -07:00
Matt Bierner 85fe2e2daf Update for latest code mapper proposal (#213256) 2024-05-22 22:10:07 +02:00
Connor Peet 6193553bfe testing: polish followups a little, selfhost with copilot 2024-05-22 13:08:51 -07:00
Sandeep Somavarapu 886f3b7229 Implement Profiles Editor (#213246)
* first cut

* second cut

* fix

* add more features

* support skipping copying resources while creating

* enable behind internal setting
2024-05-22 21:14:57 +02:00
Peng Lyu 58775f26fd Start session when notebook chat widget is created 2024-05-22 12:07:40 -07:00
Rob Lourens b9d35d9145 Don't register chat participants in stable (#213244)
* Don't register chat participants in stable
And fork some Additions APIs into chatParticipantPrivate

* Remove stale proposals

* Move more API out of Additions
2024-05-22 21:07:40 +02:00
Peng Lyu 2abcad8cc1 NotebookChatController still manages ChatModel 2024-05-22 11:54:53 -07:00
Logan Ramos 4ebc77f80a Add VS device id (#213231) 2024-05-22 09:48:44 -07:00
Johannes Rieken a54e247fba Enable roaming of inflight chat requests (#213239)
This enables to remove the special handling for `/explain`

- fixes https://github.com/microsoft/vscode-copilot/issues/2192
- fixes https://github.com/microsoft/vscode/issues/208706 because inline chat now closes on "view in chat"
- fixes https://github.com/microsoft/vscode-copilot/issues/5288
2024-05-22 18:47:03 +02:00
Matt Bierner 001b81c683 Disable VS Code file watching for yarn pnp (#213238)
Disable VS Code file watching on yarn pnp
2024-05-22 18:43:55 +02:00
Joyce Er c04c9f8848 Merge pull request #213237 from microsoft/dev/joyceerhl/accessible-perch
fix: set `id` and `name` for files in chat context
2024-05-22 09:40:57 -07:00
Joyce Er 27b49d86d2 fix: set id and name for files in chat context 2024-05-22 09:23:30 -07:00
Megan Rogge e68a0836fe allow customizing accessibility signal delays (#212834) 2024-05-22 07:58:35 -07:00
Ladislau Szomoru dc11635b73 SCM - add command to focus input (#213225) 2024-05-22 16:20:38 +02:00
Benjamin Pasero d75d42f9bb editors - fix context on EDITOR_CLOSE (#213223) 2024-05-22 16:18:02 +02:00
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