Commit Graph

135251 Commits

Author SHA1 Message Date
Benjamin Pasero 48c6ecdf71 Terminal size cannot keep maxmium after switching to editor and switching back (#255276) (#255880) 2025-07-14 19:31:36 +00:00
ttttotem 7629bf7079 Horizontal dragging auto-scroll (#235174)
* move right working

* move right working

* stop working

* start and stop working

* smoothen highlighting

* scale by horizontal scroll speed by char width

* linting

* Reduce code duplication

* 💄

---------

Co-authored-by: Rhodri Rees <rhodri.rees@gigaclear.com>
Co-authored-by: 2373655r <56081534+2373655r@users.noreply.github.com>
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2025-07-14 19:30:07 +00:00
Aaron Munger f5f8c4e447 fail early when too deep in recursion (#255840)
* fail early when too deep in recursion

* put info in the error stack
2025-07-14 12:05:58 -07:00
Martin Aeschlimann 5df9f833e9 Revert "debt - make vscode.executeDocumentSymbolProvider very correct wrt what it returns (#251190)" (#255856)
This reverts commit f91d77fc7c.
2025-07-14 20:58:20 +02:00
Anthony Kim d91ebb6008 Add documentation to lsp provider completion items (#255867) 2025-07-14 11:37:12 -07:00
Christy 😺 4576aa4385 Enable viewing of worktrees under Repositories (#254992)
* init

* fix: correct configuration key for detecting Git worktrees

* Fixed misspelling of worktrees and populated worktree list

* exported parseGitWorktrees

* Replaced git commands with file system reader

* Removed trailing './git' from path

* Prevent errors when accessing empty worktree directory

* Enable worktree deletion

* code clean up

* Remove exposure to git extension

* labeling and minor fixes

* throw error when no worktrees created

* Error handling when getting worktrees

---------

Co-authored-by: bhavyaus <bhavyau@microsoft.com>
2025-07-14 11:27:00 -07:00
Alexandru Dima c068082c35 Build tweaks (#255857)
* Revert "remove unnecessary build step (#255764)"

This reverts commit 50bf321791.

* Add `enableCrossOsArchive: true`
2025-07-14 20:08:36 +02:00
dependabot[bot] 22d3ddecaf Bump brace-expansion from 2.0.1 to 2.0.2 in /extensions/json-language-features (#255769)
Bump brace-expansion in /extensions/json-language-features

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v2.0.1...v2.0.2)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 2.0.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-14 17:40:36 +00:00
Raymond Zhao f497e76c8e fix: AI search runs even when toggle is hidden (#255496) 2025-07-14 17:25:32 +00:00
dependabot[bot] 190ec3670c Bump brace-expansion from 2.0.1 to 2.0.2 in /extensions/npm (#255766)
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v2.0.1...v2.0.2)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 2.0.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-14 10:20:10 -07:00
Aaron Munger ce37a385e4 add layover to new cells correctly and dispose of listeners as cells are removed (#255490)
* add layover to new cells correctly and dispose of listeners as cells are removed

* cleanup
2025-07-14 08:43:11 -07:00
Benjamin Pasero d9d3f3c6ec fs - workaround failure to read a folder that is a subst drive (#252361) (#255821) 2025-07-14 08:26:32 -07:00
Benjamin Pasero 1d7939acd6 Revert "fix - update constraint for command options validation" (#255773)
Revert "fix - update constraint for command options validation (#255339)"

This reverts commit 97dbf96bff.
2025-07-14 16:45:19 +02:00
Ladislau Szomoru 10abf5a6f6 SCM - Add contextValue proposed API for SourceControl object (#255338)
* Add contextValue proposed API

* Update names

* Fix documentation
2025-07-14 16:43:24 +02:00
Robo 421f2dcd32 chore: log keychain details when signing fails (#255799)
* chore: log available identities when signing fails

* chore: dump keychain used for signing
2025-07-14 16:42:15 +02:00
Benjamin Pasero cc41f037dc chat - show confirmation title in notification (#255813) 2025-07-14 14:42:10 +00:00
Benjamin Pasero 1af7f2d27a chat - improve notifications focus handling (#255811) 2025-07-14 16:34:44 +02:00
João Moreno 50bf321791 remove unnecessary build step (#255764) 2025-07-14 16:24:59 +02:00
Martin Aeschlimann 0c952e349a Tools in the mode file are not correctly applied after window reload (#255755)
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2025-07-14 13:59:08 +00:00
Ofek 0d5814b319 Merge pull request #236809 from OfekShilon/sanitize_regex
Fix #4775: Escape user code before incorporating in a regex
2025-07-14 13:41:03 +00:00
Robo 0072e9c876 chore: enable verbose logs for windows electron smoketests (#255794) 2025-07-14 15:39:09 +02:00
João Moreno 1e2a31010d bump deemon (#255790) 2025-07-14 13:32:14 +00:00
João Moreno 398b4a9be6 build: restoring built-in extensions on windows should reuse other OSs caches (#255761) 2025-07-14 15:05:12 +02:00
Griffon Langyer 8de25f94a5 Merge pull request #231120 from rfon6ngy/patch-1
Allow \n to trigger a softwrap
2025-07-14 12:41:26 +00:00
Daniel Imms 46dba7218c Merge pull request #255147 from microsoft/tyriar/246731
Force accept function in dispatchKeybinding
2025-07-14 05:29:35 -07:00
RedCMD 552467841e Merge pull request #240609 from RedCMD/allowEmptyEndBracket
Fix empty end bracket error
2025-07-14 12:27:19 +00:00
Daniel Imms e979afe960 Merge branch 'main' into tyriar/246731 2025-07-14 05:18:02 -07:00
M Hickford 421fdcb353 Add editor action 'reverse lines' (#242926)
* Add editor action 'reverse lines'

* Respect the editor's selection

* Fix unit tests

---------

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2025-07-14 12:03:11 +00:00
野迂迂 94ff97a142 Merge pull request #253868 from mortalYoung/feat/minimap
feat: editor.minimap.autohide support scroll
2025-07-14 11:51:19 +00:00
Benjamin Pasero b50ac5ac92 Explore to support desktop notifications when in agent mode (#251621) (#255643) 2025-07-14 11:45:53 +00:00
Sandeep Somavarapu 6a2aa04439 Implement #255368 (#255369)
* Implement #255368

* clean up

* fix the server call

* do not request latest version if resource does not exist

* fix tests
2025-07-14 21:29:55 +10:00
Benjamin Christopher Simmonds 673eadbf87 fixes https://github.com/microsoft/vscode/issues/255105 (#255760) 2025-07-14 10:59:35 +00:00
Benimautner 2b66877e0e Add inertial scrolling to scrollable elements (#244034)
* added inertial scrolling to scrollableElement

* fixed weird speed bug

* added _ as variable prefix

* added inertial scroll setting

* Make sure the timeout is disposed correctly and default to inertial scroll false

---------

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2025-07-14 09:21:10 +00:00
João Moreno ff529acdac fixes #255743 (#255746) 2025-07-14 09:14:16 +00:00
Martin Aeschlimann 6bffcf080e fix enablement of mcp tool sets and tools (#255739) 2025-07-14 08:38:53 +00:00
Justin Wang b4d1fec915 Add commit_id option to ServeWebArgs for specific client version (#255494)
* Add commit_id option to ServeWebArgs for specific client version

* Don't start serve-web update checker if given commit-id
2025-07-14 06:12:36 +00:00
Joyce Er cd20192782 fix: make chat input placeholder less cryptic (#255601) 2025-07-13 09:24:25 -07:00
Tyler James Leonhardt f3e8ccb98b Add client ID fallback for MCP OAuth when Dynamic Client Registration fails (#255633)
* Initial plan

* Add client ID fallback functionality for MCP OAuth when DCR fails

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* Add client secret support for MCP OAuth when DCR fails

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* Merge client ID and client secret prompts into single $promptForClientDetails method

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* Add persistent client secret storage for MCP OAuth authentication

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* Consolidate client credentials storage in SecretStorage

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* Consolidate getClientId and getClientSecret into single getClientDetails method

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* Add modal dialog and improve UX for client registration prompts

- Add modal dialog before prompting for client details to explain DCR not supported
- Include redirect URI information in modal dialog (http://localhost:*, https://vscode.dev/redirect)
- Use shared title "Add Client Registration Details" across multi-step quick picks
- Remove "please" from prompts to keep them concise
- Remove unnecessary validateInput function for client secret
- Improve overall user experience flow

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* misc fixes

* polish

* No longer need to fill in urls

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-07-13 12:22:48 +00:00
Benjamin Pasero ce8f8ed5ff Cleanup menus that have chat context specific actions (fix #255320) (#255618) 2025-07-13 11:39:27 +02:00
Benjamin Pasero 09a342a67b feat - add chat lifecycle handler for shutdown veto (#255617) 2025-07-13 11:38:25 +02:00
Rob Lourens b8c44fbcab Change cmd+. to open mode picker instead of toggle model (#255584) 2025-07-12 19:58:42 -07:00
Rob Lourens 77aca05c11 Use 'insert' mode for # in chat (#255580)
I originally changed this to fix some issue with `#file:` which doesn't exist anymore, and I don't think there is another scenario like that, and this behavior seems more expected.
Fix https://github.com/microsoft/vscode-copilot/issues/14764
2025-07-12 19:58:18 -07:00
Benjamin Pasero ee88620afc debt - improve workspace settings and copilot configuration (#255359) 2025-07-12 12:40:46 -07:00
Benjamin Pasero 462ce94707 Add separator between view actions and global panel actions (fix #147903) (#255576) 2025-07-12 11:59:55 -07:00
Rob Lourens 0eb2ec5a87 Use simple editor widget for tool confirmation editors (#255578)
Add tool simple editor changes
2025-07-12 18:59:09 +00:00
Yusuke Yamada 3e2b7a1b72 Revert "refactor: remove redundant actionRunner override in ChatEditorOverlayWidget" (#255456)
Revert "refactor: remove redundant actionRunner override in ChatEditorOverlay…"

This reverts commit adb41290c8.
2025-07-12 19:50:12 +02:00
Copilot 029bf69664 Fix MCP OAuth URL normalization - handle trailing slash and hostname case differences (#255415)
* Initial plan

* Fix MCP OAuth URL normalization issue - normalize URLs before comparison

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* Remove unnecessary normalizeUrlForComparison function - URL constructor handles all normalization

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>
2025-07-12 19:39:46 +02:00
Benjamin Pasero 33a85fed5f fix - overriding accessors properly (#255509) 2025-07-12 16:51:46 +02:00
Connor Peet 7b1c3d3dce debug: ignore cancellation errors during subsitution (#255488)
Fixes #254852 alongside https://github.com/microsoft/vscode-js-debug/pull/2247
2025-07-11 14:25:14 -07:00
Connor Peet 72c0f44fbe chat: fix undoing with a Try again action in the history doesn't make it dissapear (#255487)
Fixes #254880
2025-07-11 14:24:20 -07:00