Commit graph

120800 commits

Author SHA1 Message Date
Rob Lourens 8b8d3e64b5 Agent hover basically works 2024-04-15 16:27:46 -07:00
Matt Bierner 98785f537e
Fix setting type (#210408)
Fixes #210400
2024-04-15 18:51:02 +02:00
Megan Rogge a86e955552
comments accessible view follow up polish (#210398) 2024-04-15 17:23:07 +02:00
Daniel Imms 099153598a
Merge pull request #210289 from cpendery/feat/hide-modal
fix: terminal suggestions should hide modal when no completions exist
2024-04-15 08:01:08 -07:00
Megan Rogge af930dc08e
add comments accessible view (#209977) 2024-04-15 07:59:14 -07:00
Benjamin Pasero 258537d40b
voice - update keyword activation based on default agent presence (#210390)
* voice - only enable keyword activation when we have a chat agent

* .
2024-04-15 15:37:53 +02:00
Benjamin Pasero cdf55f87f9
workspace trust - cleanup unused code (#210388) 2024-04-15 06:34:12 -07:00
George Garside b41db61193
Fix color picker command title (#210349)
#209612 incorrectly changed the title to a description rather than adding a description. Move the description to the description and revert the editor title to what it was previously.
2024-04-15 07:19:44 +00:00
Rob Lourens 4b7bb4db33
Merge pull request #210350 from microsoft/roblou/worried-termite
Chat API tweaks and /help fixes
2024-04-15 02:35:46 -03:00
Daniel Imms 6f91cdc47a
Merge pull request #210280 from microsoft/tyriar/170963
Update xterm
2024-04-14 11:51:43 -07:00
Rob Lourens bdf19f99bd Chat API tweaks and /help fixes 2024-04-14 09:03:11 -07:00
Rob Lourens 6bdf8642bb
Merge pull request #210316 from microsoft/roblou/successful-shrew
Don't mention 'participant' in errors
2024-04-13 19:09:17 -03:00
Rob Lourens 391feedd0b Don't mention 'participant' in errors 2024-04-13 13:01:13 -07:00
Benjamin Christopher Simmonds 4600d99b2b
Improve Configure Keybindings Support (#210251)
* Improve Configure Keybindings Support

* fix test
2024-04-13 09:18:02 -07:00
Chapman Pendery 0d6f65277b fix: terminal suggestions should hide modal when no completions exist
Signed-off-by: Chapman Pendery <cpendery@microsoft.com>
2024-04-13 01:01:50 -07:00
Rob Lourens 2d58a39793
Merge pull request #210281 from microsoft/roblou/unacceptable-swift
Fix chat MarkdownString merging
2024-04-12 21:51:53 -03:00
Rob Lourens cebce513c7 Add markdown merging test 2024-04-12 17:31:04 -07:00
Rob Lourens 6c596f57ca Enforce unsupported boolean flag for MarkdownString in chat 2024-04-12 17:27:50 -07:00
Daniel Imms 2a3c5c8115
Update xterm
Fixes #170963
2024-04-12 17:00:03 -07:00
Connor Peet d30b358ac7
cli: ensure vscode server outlives CLI on windows (#210279) 2024-04-13 01:50:34 +02:00
dependabot[bot] a9174e5ac9
Bump h2 from 0.3.24 to 0.3.26 in /cli (#209660)
Bumps [h2](https://github.com/hyperium/h2) from 0.3.24 to 0.3.26.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.26/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.24...v0.3.26)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-13 00:48:00 +02:00
Rob Lourens ef35ae4031 Fix chat MarkdownString merging 2024-04-12 15:39:31 -07:00
dependabot[bot] 3692dc8729
Bump tar from 6.1.15 to 6.2.1 in /build/npm/gyp (#210142)
Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.15 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.1.15...v6.2.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-12 15:29:53 -07:00
Rob Lourens e7dc78cbd7
Merge pull request #210265 from microsoft/roblou/xenogeneic-leech
Fix participant publisher showing "undefined" after reload
2024-04-12 18:45:27 -03:00
Rob Lourens fc72077f87
Merge pull request #210270 from microsoft/roblou/nosy-emu
Add keybinding for chat 'cancel'
2024-04-12 18:45:10 -03:00
Megan Rogge ee83577e97
play terminal command failed signal when a command w non zero exit code is navigated to in accessible terminal view (#210269) 2024-04-12 23:21:18 +02:00
Rob Lourens b4a33b8e71 Add keybinding for chat 'cancel' 2024-04-12 14:10:48 -07:00
Rob Lourens e3a50705ff Fix tests 2024-04-12 14:08:35 -07:00
Rob Lourens d28dc16e5b
Merge pull request #210264 from microsoft/roblou/sore-gecko
Show chat action should work before chat extension is activatedq
2024-04-12 17:07:40 -03:00
Rob Lourens c410d33f2b Fix participant publisher showing "undefined" after reload 2024-04-12 13:07:06 -07:00
Andrew Wang a3a50383de
Add 'noDebug' for selectAndStartDebugging command (#209893)
* Add 'noDebug' for selectAndStartDebugging command

This PR adds an optional 'noDebug' parameter for the
'workbench.action.debug.selectandstart' command.

Example Usage:
`await vscode.commands.executeCommand('workbench.action.debug.selectandstart', 'node', true)`

* Use extenable object type for the options parameter
2024-04-12 12:51:06 -07:00
4-tel 79bdf5d3a4
fix: searching for lines in debug console that start with "!" #174146 (#210178)
* Add "\" escape character to filter field

* Add "\escape" tooltip to filter field
2024-04-12 19:50:54 +00:00
Rob Lourens 38b623f6fc Show chat action should work before chat extension is activated
but view is still registered
2024-04-12 12:49:39 -07:00
Rob Lourens 46b41aab9b
Merge pull request #210261 from microsoft/roblou/mature-caterpillar
Remove more dead deprecated Chat types
2024-04-12 16:46:53 -03:00
Rob Lourens ca31c02818 Remove more dead deprecated Chat types 2024-04-12 12:26:02 -07:00
Daniel Imms a2181dfe22
Merge pull request #210247 from microsoft/tyriar/145234_4
Debounce data events to shellIntegration API
2024-04-12 10:51:21 -07:00
Daniel Imms bcca025d40
Merge pull request #210250 from microsoft/tyriar/viewInChat
Add agent name to view in chat request message
2024-04-12 09:34:34 -07:00
Daniel Imms 9d791af0cb
Add agent name to view in chat request message
Without this the resulting history is incorrect
2024-04-12 08:52:35 -07:00
Daniel Imms 2efc5179c6
Fix debug api call 2024-04-12 08:35:26 -07:00
Daniel Imms 45d885eebb
Debounce data events to shellIntegration API
This will greatly improve performance when running commands with large
output and also enables the feature for remote terminals.

Part of #145234
2024-04-12 08:34:37 -07:00
Daniel Imms 3b3e8c2ebf
Merge pull request #210239 from microsoft/tyriar/copilot-4720
Offset terminal when inline chat appears to ensure cursor is visible
2024-04-12 07:35:46 -07:00
Daniel Imms 08d545fff5
Fix vertical offset value 2024-04-12 06:59:40 -07:00
Daniel Imms 9675a349c5
Offset terminal when inline chat appears to ensure cursor is visible
This will overlay the terminal inline chat widget on top of the terminal the same
as previously where the cursor would be visible. If it would not be visible, the
terminal wrapper element is now shifted upwards to ensure it's visible. This comes
with a couple of downsides:

- The very top of the terminal cannot be accessed as overflow is clipped by the
  view.
- The chat may overlap content if there is any below the cursor, which is an
  unlikely edge case.

This isn't as good as a zone widget-like system in xterm.js could be, but that is
quite the undertaking and complicates the renderer code quite a bit. So this is
a good compromise.

Fixes #4720
2024-04-12 06:45:37 -07:00
Aiday Marlen Kyzy a43d090fc4
Create a test to reindent the code on traversing the repository (#209928)
* adding code in order to reindent on walking

* adding comment

* adding code

* ignoring whitespaces

* adding comments

* executing the command

* adding on enter test

* polishing the code
2024-04-12 15:38:04 +02:00
Daniel Imms 266323a057
Merge pull request #210232 from microsoft/tyriar/copilot-4059_2
Remove experimentalInlineChat setting
2024-04-12 06:06:16 -07:00
Daniel Imms a5ccae2a98
Remove experimentalInlineChat setting
Fixes #4059
2024-04-12 05:42:13 -07:00
Alex Ross 44635561ac
Actually dispose internal tree when extension disposes tree (#210226) 2024-04-12 12:27:21 +02:00
Aiday Marlen Kyzy 9deb01df50
Extract hover actions and hover contribution point into separate files (#210219)
* extracting actions into a separate file and contribution into a separate file

* updating the imports of the hover controller

* adding correct contribution point in editor.all.ts file
2024-04-12 10:38:37 +02:00
Benjamin Pasero 0934f1f198
debt - handle BigInt in safeStringify (#210220) 2024-04-12 10:33:52 +02:00
Aiday Marlen Kyzy ccd48cfee5
Refactoring the hover.ts code (#210217)
refactoring some more the hover.ts file
2024-04-12 09:51:02 +02:00