Commit graph

120749 commits

Author SHA1 Message Date
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
Logan Ramos 82af5cd0e6
Add listeners for multi diff tab editor (#210094) 2024-04-11 15:52:17 +02:00
Johannes Rieken d510e84808
fix rerun commands (#210162) 2024-04-11 15:26:16 +02:00
Alex Ross 99c76268a4
Invalid context menu entries in PR comments box (#209961)
* Invalid context menu entries in PR comments box
Fixes #208844

* 🤦‍♀️ fix test
2024-04-11 15:24:49 +02:00
Johannes Rieken 7b91c2d1ba
Live mode uses chat widget rendering (#210157)
* reveal editor after making changes

* also give preview models a path component

* workaround errors in diff computer fyi @hediet

* * make live mode be a rendering mode
* render new files with the chat widget and not with a separate zone

* 💄

* fix tests
2024-04-11 14:43:53 +02:00
Alex Ross 0424b0b26a
Add magic button rendering in tree view message similar to welcome views (#210156) 2024-04-11 13:14:34 +02:00
Benjamin Pasero 4054589dab
Editor and git working sets support (#210055)
* editors - provide methods to deal with working sets

* SCMWorkingSetController - initial implementation

* Clear storage when the feature is disabled

* Improve provider key, code cleanup

* Add "scm.workingSets.default" setting

* WorkingSet - do not close dirty and untitled files when switching to a branch that does not have a working set

* Remove check for multiple repositories

* Ben/mighty-ant (#210066)

---------

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2024-04-11 12:26:36 +02:00
Benjamin Pasero 81214e9f10
debt - surpress CodeQL in tests (#210140) 2024-04-11 08:09:16 +02:00
Don Jayamanne f309a5e375
Fix test failure and improve visibility check (#210128)
* Fix test failure when UI is small

* oops
2024-04-11 08:07:50 +02:00
Don Jayamanne 804f8e3929
Debounce notebook cell metadata edit updates (#210005)
* Debounce notebook cell metadata edit updates

* Clear timer

* Check notebook type

* Try again

* Ignore IW notebooks

* oops
2024-04-11 07:44:14 +02:00
Rob Lourens 903ce35c77
Merge pull request #210126 from microsoft/roblou/united-puffin
Rename context key to chatIsEnabled
2024-04-11 00:38:55 -03:00
Rob Lourens 0849dc30a4
Merge pull request #210124 from microsoft/roblou/considerable-chicken
Add '#file' to /help
2024-04-11 00:38:32 -03:00
Rob Lourens b59a46f0d1 Change loc key 2024-04-10 19:50:31 -07:00
Tyler James Leonhardt 4543466cb9
Allow embedders to show an information message when workbench loads (#210118)
* Allow embedders to show an information message when workbench loads

Needed for MSAL adoption in vscode.dev

* remove redundant async

* thing -> handle
2024-04-10 19:49:46 -07:00
Rob Lourens 5af466193d Rename context key to chatIsEnabled 2024-04-10 19:45:13 -07:00
Rob Lourens 8156081ee7 Add '#file' to /help
Fix microsoft/vscode-copilot-release#1092
2024-04-10 19:40:19 -07:00
Rob Lourens 0ed70ae246
Merge pull request #210113 from microsoft/roblou/protestant-tern
Disallow loading remote images in the chat pane
2024-04-10 20:16:53 -03:00
Aaron Munger ca63c06d3d
update comment, keep configuration update behind conditional (#210103)
* only change backup frequency in experiment or remote

* revert IW outputs
2024-04-10 16:04:04 -07:00
Rob Lourens d493b75791 Disallow loading remote images in the chat pane 2024-04-10 15:50:18 -07:00
Connor Peet d748e6abca
Revert "debug: pass environment via terminal API instead of command (#206376)" (#210097)
This reverts commit 6b6da7928d.

For #209693
2024-04-10 21:53:24 +02:00
Matt Bierner 23915afd3b
Exclude chat symbols from JS/TS workspace symbol results (#210095) 2024-04-10 12:27:52 -07:00
Michael Lively 0e263c4b3a
Fix folded section hint run button execution range (#209973)
off by 1 cell range fix
2024-04-10 10:03:53 -07:00
Matt Bierner 0347b00161
Pick up latest TS recovery 5.4.5 (#210072) 2024-04-10 18:51:13 +02:00
alviner 622b60ba8f
fix: minimap section header display uncompletely on first load:#209603 (#209605)
* fix: minimap section header display uncompletely on first load:#209603

* Recompute section headers when tokens change (with a larger delay)

---------

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2024-04-10 16:44:24 +00:00
Johannes Rieken 3ebe5a4ef7
prepare for not having a "real" inline chat provider (#210069)
* prepare for not having a "real" inline chat provider

- add location to provideWelcomeMessage
- add dynamic/fake inline chat provider for editor agents
- fix inline content widget when not having a message

* fix tests
2024-04-10 18:25:52 +02:00
Ladislau Szomoru d91184b48f
SCM - maintain repository selection when switching profiles (#210071) 2024-04-10 09:20:52 -07:00
Johannes Rieken 1f715da965
fall back to default panel agent when not having a location specific default agent (#210070) 2024-04-10 18:07:59 +02:00
Andrea Mah 67f1ea8906
Extra action buttons not disabled on AI Search (#209999)
Fixes #209696
2024-04-10 08:12:21 -07:00
Andrea Mah 46b04fe01c
Remove experimental flag and move up quick search on quick access list (#209993)
* Add setting migration for `search.experimental.quickAccess.preserveInput` and promote quick search on quick access

* remove more mentions to experimental and relocate setting
2024-04-10 08:12:09 -07:00
Megan Rogge ddf722541e
Merge pull request #210063 from microsoft/merogge/extra-line
rm accidental extra line
2024-04-10 07:45:36 -07:00
meganrogge 0b45ff8058
rm accidental extra line 2024-04-10 07:27:04 -07:00
Martin Aeschlimann a4f9cbe2e1
gettingStarted: make themeService protected (again) (#210058) 2024-04-10 16:26:31 +02:00
Martin Aeschlimann eef0da0b89
update weppack so we can build the latest language client (#208908)
* update weppack so we can build the latest language client

* update webpack types

* update yarn file
2024-04-10 15:19:18 +02:00
Johannes Rieken 6a06de0033
Hook up feedback/user-action events for inline chat participants (#210040)
- add a special user-action
- inline chat controller doesn't call handleFeedback directly anymore
- ReplyResonse knows its chat model response
2024-04-10 13:15:40 +02:00
Dirk Bäumer 13a88a8da4
Fixes #208581: ESLint and .vscode/extensions is tricky to configure (#210031) 2024-04-10 12:03:56 +02:00
Benjamin Pasero b9226f2929
In WSL --wait is still enforced for stdin (fix #209925) (#210016) 2024-04-10 11:18:35 +02:00
Martin Aeschlimann 3117776ea2
json edit: Ignore removes in a non existing node (#210025) 2024-04-10 10:12:12 +02:00
Martin Aeschlimann 4c366ec140
simplify theme configuration with auto detect (#209985) 2024-04-10 10:00:32 +02:00