Commit Graph

134316 Commits

Author SHA1 Message Date
Daniel Imms
2f7cd441c0 Don't revive URI before sending from ext to main
Fixes #235331
2025-06-12 12:58:58 -07:00
Martin Aeschlimann
086501e7d7 move prompt file parser usages to IPromptsService (#251298) 2025-06-12 11:52:23 -07:00
Joyce Er
0ab638ea0f fix: try always rendering scrollbar in chat editing file list (#232768)
Co-authored-by: Justin Chen <54879025+justschen@users.noreply.github.com>
2025-06-12 16:57:26 +00:00
Johannes Rieken
c00b75d57b also use Y and N based keybindings for inline chat 2 (#251294) 2025-06-12 09:00:44 -07:00
Martin Aeschlimann
ba80bf28c3 Merge pull request #251235 from microsoft/aeschli/experienced-orca
use regular chatAttachmentWidgets for prompt files
2025-06-12 17:53:08 +02:00
Johannes Rieken
89ba12c3b5 simplify dynamic variables, no more unused chat file reference fyi @aeschli (#251273) 2025-06-12 08:47:19 -07:00
Connor Peet
e680d2347c mcp: avoid spamming invalid streamable http GET handlers (#251288) 2025-06-12 17:43:31 +02:00
Martin Aeschlimann
79ff867c2e ignore prompt files for implicit context 2025-06-12 17:18:03 +02:00
Lee Murray
fc7a6b3ded Merge pull request #251272 from microsoft/mrleemurray/democratic-snake-salmon
update `sync` and `sync-ignored` icons
2025-06-12 12:55:09 +01:00
lemurra_microsoft
8b35fd3b88 update sync and sync-ignored icons 2025-06-12 12:33:22 +01:00
Ladislau Szomoru
9913e0238a GitHub - cleanup octokit auth (#251266)
Refactor auth
2025-06-12 12:41:33 +02:00
Henning Dieterichs
2eed366084 Fixes https://github.com/microsoft/vscode-copilot/issues/10610 2025-06-12 12:14:22 +02:00
Johannes Rieken
cfa7c4d2ef more API notes (#251215)
* more API notes

https://github.com/microsoft/vscode/issues/250007

* fix compile error
2025-06-12 02:16:54 -07:00
Don Jayamanne
7443076975 Refactor ChatEditingDocument and Cell Entries to reuse code (#251050)
* Refactor ChatEditingDocument and Cell Entries to reuse code

* Updates

* wip

* Updates

* Updates

* Address code review

* make test diffing a little more realistic

* * have one method that sets/resets the content of modified and orginal
* have the method also compute the edit object
* hence, remove `originalToCurrentEdit` from snapshot data
* same naming nit (keep over accept, undo over discard)

* Register disposables

* Avoid computing diff if disposed

* Fix leaks

---------

Co-authored-by: Johannes <johannes.rieken@gmail.com>
2025-06-12 07:07:41 +02:00
Benjamin Pasero
8ece07a028 chat - when setup without dialog is done, show welcome (#251230) 2025-06-11 21:27:34 -07:00
Tyler James Leonhardt
48e4737a88 Improve async nature of register/unregister auth providers (#251244)
* Improve async nature of register/unregister auth providers

I noticed a race-condition or 2 with registering & unregistering auth providers. This change makes sure order is maintained dispite the async nature.

* real passing tests

* Try tracking disposable state
2025-06-12 05:30:29 +02:00
Tyler James Leonhardt
6ec42e43d5 Misc MCP Auth fixes (#251246)
1. only do device code flow if the server supports it
2. fix route in loopback server where error cases were going to `/` which was a typo
3. fix port listening in loopback when default port is taken
4. some servers require registration to have scopes, so passed that through
5. some types clean up
2025-06-11 17:42:51 -07:00
Matt Bierner
b104f8167b Merge pull request #251228 from heoh/fix-249278
Fix markdown preview scroll crawls at EOF (fix #249278)
2025-06-11 15:33:41 -07:00
Justin Chen
d03db82baf remove header for non participant messages, better references border (#251242) 2025-06-11 15:32:37 -07:00
Martin Aeschlimann
0fd5ef7300 use regular chatAttachmentWidgets for prompt files 2025-06-11 22:50:24 +02:00
Anthony Kim
768477eaff Consolidate ps1 shell integration vars into __VSCodeState (#251114)
* Consolidate vscode_ps1 var into __VSCodeState

* Remove comments
2025-06-11 12:50:03 -07:00
Raymond Zhao
5a79cf41b9 fix: tweak count widget layout (#251232) 2025-06-11 12:35:59 -07:00
Benjamin Pasero
af66efed69 Ability to programmatically assign documents to open in a workspace before it's opened (fix #251202) (#251229) 2025-06-11 12:11:26 -07:00
heoh
53a4ef7018 Fix markdown preview scroll crawls at EOF (fix #249278) 2025-06-12 03:56:11 +09:00
Aiday Marlen Kyzy
080c694447 Refactoring sticky scroll widget file (#251218)
* refactoring sticky scroll widget file

* wip

* polish

* wip
2025-06-11 20:36:40 +02:00
Raymond Zhao
8def6db21b chore: bump vscode/ripgrep (#251213)
* chore: bump vscode/ripgrep

* Update error message
2025-06-11 20:12:10 +02:00
Megan Rogge
6a8e32e03f don't add \ if path already starts with that on pwsh for suggestions (#251219)
fix #25127
2025-06-11 10:33:10 -07:00
Megan Rogge
d1d6762ca8 support builtin commands for git bash (#251216)
fix #248558
2025-06-11 19:24:01 +02:00
Matt Bierner
0d63e9d36c Merge pull request #251214 from mjbvz/scary-silkworm
Register disposables
2025-06-11 09:58:10 -07:00
Copilot
e3bc6ea700 Fix inconsistent scrolling behavior in notebook outline entries (#251027)
* Initial plan for issue

* Fix notebook outline scrolling to use consistent Top reveal type

Co-authored-by: Yoyokrazy <12552271+Yoyokrazy@users.noreply.github.com>

* Remove ineffective test as requested in code review

Co-authored-by: Yoyokrazy <12552271+Yoyokrazy@users.noreply.github.com>

* Remove extra blank line to address whitespace feedback

Co-authored-by: Yoyokrazy <12552271+Yoyokrazy@users.noreply.github.com>

* Remove empty line as requested in code review

Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Yoyokrazy <12552271+Yoyokrazy@users.noreply.github.com>
Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>
2025-06-11 09:37:30 -07:00
Copilot
325c681f8e Fix markdown cell status bar showing misleading grab cursor (#251154)
* Initial plan for issue

* Fix markdown cell status bar showing misleading grab cursor

Co-authored-by: Yoyokrazy <12552271+Yoyokrazy@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Yoyokrazy <12552271+Yoyokrazy@users.noreply.github.com>
2025-06-11 09:37:21 -07:00
Matt Bierner
6ab0967549 Register disposables
Fixes #251193
2025-06-11 09:07:07 -07:00
Megan Rogge
defae8c9c0 provide proper URIs for remotes so suggest works for those envs (#251129)
fix wsl suggestions
2025-06-11 17:44:31 +02:00
Aiday Marlen Kyzy
312284e7db EditContext: migrate to non-experimental setting name (#251211)
migrating to non experimental setting name
2025-06-11 17:44:14 +02:00
Henning Dieterichs
c367a5fa56 Core part of https://github.com/microsoft/vscode-copilot/issues/18246 (#251205) 2025-06-11 16:50:26 +02:00
Aiday Marlen Kyzy
44fd9a6ffb Recompute sticky scroll model when folder providers change (#251106)
recompute sticky model when folder providers change
2025-06-11 13:18:59 +00:00
Benjamin Pasero
13d49873b7 Support setting encoding from extension (fix #251188) (#251195) 2025-06-11 12:15:35 +02:00
Benjamin Pasero
0ac8174fbc debt - reduce some explicit any use (#251182)
<!-- Thank you for submitting a Pull Request. Please:
* Read our Pull Request guidelines:
  https://github.com/microsoft/vscode/wiki/How-to-Contribute#pull-requests
* Associate an issue with the Pull Request.
* Ensure that the code is up-to-date with the `main` branch.
* Include a description of the proposed changes and how to test them.
-->
2025-06-11 02:51:06 -07:00
Johannes Rieken
f91d77fc7c debt - make vscode.executeDocumentSymbolProvider very correct wrt what it returns (#251190) 2025-06-11 11:07:04 +02:00
Martin Aeschlimann
d1d42604e2 prompt file watching: handle external folders (#251191) 2025-06-11 02:00:48 -07:00
Benjamin Christopher Simmonds
b6636327e7 Adopt variable line height for NES (#251121)
adopt variable lineheight for NES
2025-06-11 09:40:02 +02:00
Johannes Rieken
73a5bfb3b0 Merge pull request #251003 from microsoft/joh/systematic-mockingbird
Detect and fix cyclic runtime dependencies
2025-06-11 09:15:45 +02:00
Connor Peet
be489936ee testing: fix not apply configured editor options to result editor (#251181)
Fixes #250333
Fixes #250549
2025-06-10 23:37:17 -07:00
Johannes
35911fd6bc Merge branch 'main' into joh/systematic-mockingbird 2025-06-11 08:35:51 +02:00
Peng Lyu
62f57f9cbd vscodebot chat classifier (#251174) 2025-06-11 04:46:00 +02:00
Raymond Zhao
9f296339fb feat: improve AI settings search tooltip label (#251163)
feat: add AI settings search loading tooltip text
2025-06-11 01:39:13 +02:00
Connor Peet
99b897a32a eng: adopt killBehavior polite (#251159)
* tools: respect chat.editor.wordWrap setting in tool confirms

Closes https://github.com/microsoft/vscode-copilot/issues/17373

* eng: adopt killBehavior polite

Refs https://github.com/microsoft/vscode-js-debug/pull/2238
Closes https://github.com/microsoft/vscode/issues/244111
2025-06-10 16:13:04 -07:00
Aaron Munger
fa298e0de0 skip flaky test (#251158) 2025-06-10 15:50:26 -07:00
Connor Peet
2aee1bc22b chat: move mcp and extension tools out of preview (#251116)
Following DSB approval.
2025-06-10 23:47:05 +02:00
Don Jayamanne
7a24d62916 Disable variable line heights in notebook cells (#251063) 2025-06-10 23:34:40 +02:00