Commit Graph

135228 Commits

Author SHA1 Message Date
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
Matt Bierner
40191dceac Merge pull request #255442 from mjbvz/sudden-octopus
Move `multibyteAwareBtoa` out of dom
2025-07-11 13:09:05 -07:00
Copilot
f4aa97320e Add "Open Extension" buttons to individual extension items in manage model access view (#255187) 2025-07-11 12:46:54 -07:00
Henning Dieterichs
092effaaeb Fixes https://github.com/microsoft/vscode/issues/255127 (#255428)
* Fixes https://github.com/microsoft/vscode/issues/255127

* Fixes tests

* Fixes CI
2025-07-11 21:21:55 +02:00
Henning Dieterichs
df8db2972e Fixes Illegal value for lineNumber (#255461)
Fixes https://github.com/microsoft/vscode/issues/249770
2025-07-11 21:20:21 +02:00
Justin Chen
9e98cd365e disable edit when clicking on a link (#255454)
disable click if we are clicking on link
2025-07-11 17:58:58 +00:00
Anthony Kim
ff3d1466b1 Shell type should be undefined when running unrecognized shell (#255450)
Allow undefined shell type
2025-07-11 10:46:27 -07:00
Megan Rogge
2f9c195832 update distro (#255446) 2025-07-11 17:31:33 +00:00
Justin Chen
c5c02f98ba fix implicit context hover (#255451) 2025-07-11 10:25:23 -07:00
Logan Ramos
7b0e2e414c Fix terminal events squatting on common props (#255444) 2025-07-11 17:18:51 +00:00
Benjamin Christopher Simmonds
29aba08e63 display location more dynamic (#255449) 2025-07-11 10:15:56 -07:00
Matt Bierner
0b2676103b Move multibyteAwareBtoa out of dom 2025-07-11 09:38:36 -07:00
Henning Dieterichs
2c794e6453 Fixes https://github.com/microsoft/vscode/issues/255128 (#255434) 2025-07-11 16:37:04 +00:00
Matt Bierner
b89c6f2625 Merge pull request #255429 from mjbvz/subsequent-jay
Make sure we still allow other attrs in chat markdown
2025-07-11 09:22:30 -07:00
Matt Bierner
e3ee71e1a6 Make sure we still allow other attrs in chat markdown
Also fixes a class to correct some styling rules
2025-07-11 09:10:25 -07:00
Megan Rogge
534977fcc8 revert change (#255425)
fix #255423
2025-07-11 16:10:00 +00:00
Josh Spicer
2085a8ca1e fix #253023 (#254509)
* fix https://github.com/microsoft/vscode/issues/253023

* remove previewFeature, add tags

* swap tag to 'Account'

* allTags -> hasAllTags

* no tag for agent mode
2025-07-11 08:56:01 -07:00
Megan Rogge
ee02bbaa82 modify the right arg (#255244) 2025-07-11 11:41:23 -04:00
Martin Aeschlimann
dd3b5a10de Issue: Prompt file name cannot contain Unicode letters (#255402)
Issue: Prompt file cannot contain unicode letters
2025-07-11 11:40:45 -04:00
Benjamin Pasero
37e510f1ef chore - update CLI state storage message format (#255400) 2025-07-11 14:41:09 +00:00
Henning Dieterichs
18c19134da Adds "onExP" tag to editStats setting 2025-07-11 16:27:09 +02:00
Ladislau Szomoru
f34628bcfc SCM - fix bug with selection not being initialized correctly (#255392) 2025-07-11 13:58:59 +00:00
Ladislau Szomoru
6c8a25ae47 Git - distinguish between repository, submodule, and worktree (#255374) 2025-07-11 15:35:09 +02:00
Martin Aeschlimann
36448b665d Chatmode without tools should use global tools (#255378) 2025-07-11 15:22:01 +02:00