Commit graph

120902 commits

Author SHA1 Message Date
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 6162e457e3
Add shellIntegration ext api integration tests
Part of #145234
2024-04-12 12:21:09 -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
Benjamin Pasero d06e212f82
debt - keep unhandledrejection listener around on shutdown (#210212) 2024-04-12 09:07:25 +02:00
Aiday Marlen Kyzy f2eff1c6e1
[Refactoring] Adding IHoverWidget interface and using switch statement in the _tryShowHoverWidget code (#210192)
adding interface and using switch statement
2024-04-12 08:54:52 +02:00
Aiday Marlen Kyzy 50c781be18
Refactoring _isMouseOverHoverWidget (#210194)
refactoring `_isMouseOverHoverWidget`
2024-04-12 08:54:19 +02:00
Benjamin Pasero 77e5711bee
debt - remove electron listeners (#210210) 2024-04-12 08:50:18 +02:00
Rob Lourens 50a6f4f200
Delete deprecated chat API (#210199)
* Add Chat content 'vulnerabilities' to chat response stream

* Remove 'report' chat progress API and more cleanup

* Remove ChatProgress entirely

* Get participant detection into the new stream as well
2024-04-11 18:53:15 -07:00
Aiday Marlen Kyzy 2cb7ce5655
Refactor the showsOrWillShow code (#209452)
* refactoring the showsOrWillShow code

* removing useless check, renaming
2024-04-11 21:53:40 +02:00
Aiday Marlen Kyzy d9a8a369ed
[Debt] Removing the useless contentHoverFocused IHoverState field (#209425)
removing the useless parameter
2024-04-11 21:09:02 +02:00
Daniel Imms 7fe170634b
Merge pull request #210187 from microsoft/tyriar/cwd_issue
Revive cwd URI before exposing
2024-04-11 11:37:18 -07:00
Daniel Imms 5b19440135
Revive cwd URI before exposing
This is required to make the new sample work microsoft/vscode-extension-samples#1000
2024-04-11 11:19:52 -07:00
Johannes Rieken a808279539
first version of token counting API (#210177)
https://github.com/microsoft/vscode/issues/206265
2024-04-11 18:30:52 +02:00
Johannes Rieken 004a2c409a
don't focus elements from hidden chat widget (#210174)
fixes https://github.com/microsoft/vscode-copilot/issues/5055
2024-04-11 17:50:27 +02:00
Benjamin Pasero f9158a447d
editors - allow to apply empty working set (#210167) 2024-04-11 17:32:07 +02:00
Connor Peet 6b391eba24
theme: fix unthemable icons in several areas (#209131)
* theme: fix unthemable icons in several areas

We manually used icon characters in several areas. These are/were entire unthemable. Fixing this required people to manually listen to the theme service and apply rules to their elements when icons change. This PRs adds theme variables that people can use instead.

Fixes #208343

* implement review comments

* fix font-family variable

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2024-04-11 17:30:49 +02:00
zWing 49c1a3ee95
fix: unexpected error when execCommand workbench.extensions.installExtension (#210135)
fix: #210129
2024-04-11 16:33:53 +02:00