Commit Graph
134367 Commits
Author SHA1 Message Date
Daniel Imms 3efab8683c Fix terminal icon picker issues
Fixes #251428
2025-06-14 09:08:57 -07:00
Connor Peet 5c8496abb6 mcp: fix compilation error with paths and minification (#251464)
Maybe?
2025-06-14 14:12:06 +02:00
Rob Lourens acbe46cecb Show add selection/file in command palette (#251455) 2025-06-13 23:11:42 -07:00
Martin Aeschlimann 40df1720e5 prompt attachments: fix type margin (#251405) 2025-06-13 23:03:07 -07:00
Martin Aeschlimann e5dc1e8df5 cleanup dynamic prompt variables (#251444) 2025-06-13 23:01:51 -07:00
Tyler James Leonhardt d4cda5fa41 Make dynamic auth provider's landing page quality specific (#251461)
Really we should do proper mixing in... but this is fine for now to same me time fiddling with the build.
2025-06-14 07:42:38 +02:00
Raymond Zhao 7346ae5655 fix: AI search toggle should not require a restart (#251454)
Fixes https://github.com/microsoft/vscode/issues/251312
2025-06-13 18:03:29 -07:00
Tyler James Leonhardt a275f44665 Bump that distro (#251463)
bump bump bump bump
2025-06-13 17:32:50 -07:00
Tyler James Leonhardt 9cbcaa893f Bring in branding when built (#251451)
* Bring in branding when built

Since we shouldn't have "Visual Studio Code" in this OSS repo.

* fix test
2025-06-13 16:41:29 -07:00
Connor Peet 35c4aeb69d shell: log current stdout/stderr when shell env resolution times out (#251447)
Refs #251326
2025-06-13 16:19:47 -07:00
Connor Peet aab65e8675 mcp: fix using incorrect remote path format on win->posix remotes (#251457)
Refs #251308
2025-06-13 16:18:56 -07:00
Matt Bierner a2cd45e342 Merge pull request #251449 from mjbvz/hot-tahr
Pick up latest TS for building VS code
2025-06-13 15:41:53 -07:00
Matt Bierner 8d5236e73b Pick up latest TS for building VS code 2025-06-13 14:46:41 -07:00
Copilot 9a0a54cf18 Fix "tool undefined completed" accessibility announcement in chat (#251442) 2025-06-13 14:06:20 -07:00
Martin Aeschlimann 20b6940340 Use [markdown] default overrides for instructions, prompts and chat modes (#251378) 2025-06-13 13:08:10 -07:00
Aaron Munger 23e7148cdb fix cyclic dependency (#251438) 2025-06-13 12:54:26 -07:00
Tyler James Leonhardt 6faeecbdcd Make sure auth provider id is alligned (#251432)
Fixes https://github.com/microsoft/vscode/issues/251418
2025-06-13 12:47:29 -07:00
Connor Peet 1724128494 shell: fix unable to resolve your shell environment with LAST_COMMAND (#251431)
Fixes #251328

@bpasero not sure if there was a particular reason to use regex vs this approach?
2025-06-13 12:47:26 -07:00
Megan Rogge b3c13ec38b add icons for terminal symbolic link folder/files (#251423) 2025-06-13 12:47:01 -07:00
Benjamin Pasero 69d906efc2 tests - skip flaky test (#251429) (#251430) 2025-06-13 12:45:39 -07:00
Megan Rogge 1ee09e98f0 support showing symlimk details in terminal suggest (#251296) 2025-06-13 17:36:29 +00:00
Josh Spicer e2a90e99b9 Revert "Adopt mcp token flag " (#251408)
Revert "Adopt mcp token flag  (#251297)"

This reverts commit 3aaf8f9365.
2025-06-13 10:34:40 -07:00
aa3933cf88 Fix infinite looping in notebook addFindMatchToSelection (Cmd+D) (#251157)
* Initial plan for issue

* Fix infinite looping in notebook addFindMatchToSelection

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

* Optimize performance by caching total matches count instead of recalculating

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

* idle state reset

---------

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: Michael Lively <milively@microsoft.com>
2025-06-13 10:29:23 -07:00
Martin Aeschlimann eea8d9e7e8 prompts: remove duplicated tests (#251404) 2025-06-13 12:46:45 -04:00
Henning Dieterichs bc81fb1ef5 Fixes https://github.com/microsoft/vscode/issues/251080 2025-06-13 18:17:15 +02:00
Connor Peet 810f7a00a1 mcp: fix test error in McpStdioStateHandler (#251401) 2025-06-13 09:15:00 -07:00
Bhavya U a7208460fe fix: update reason for closing duplicate issues in commands.json (#251400) 2025-06-13 09:10:38 -07:00
Daniel Imms 17447d74db Merge pull request #250771 from microsoft/copilot/fix-250770
Add terminal history commands to view overflow menu
2025-06-13 09:03:55 -07:00
S. M. Mohiuddin Khan Shiam 70f8e0e38f Fix incorrect SHA-1 commit regex in [version_manager.rs](cci:7://file:///d:/Github/vscode/cli/src/desktop/version_manager.rs:0:0-0:0) (#251329)
The CLI’s `RequestedVersion::Commit` parser rejected many valid commit hashes and allowed invalid ones due to an erroneous regular expression:

* **Old pattern:** `^[a-e0-f]{40}$`
  * Allowed non-hex characters outside the `a–f` range
  * Excluded the valid hex digit `f` and any uppercase letters
* **New pattern:** [(?i)^[0-9a-f]{40}$](cci:1://file:///d:/Github/vscode/cli/src/desktop/version_manager.rs:102:1-107:2)
  * [(?i)](cci:1://file:///d:/Github/vscode/cli/src/desktop/version_manager.rs:102:1-107:2) enables case-insensitive matching (accepts `A–F`)
  * Character class now correctly restricts input to hexadecimal digits `0-9` and `a-f`
  * Ensures the string is exactly 40 characters, matching a valid SHA-1

#### Impact

`code version use <commit>` and related commands could silently fail or accept malformed commit IDs, leading to unexpected version resolution behavior.
With this fix, only valid 40-character hexadecimal commit hashes are accepted, restoring reliable version selection and preventing subtle bugs.

#### Notes

No API changes; the fix is a single-line update in [cli/src/desktop/version_manager.rs](cci:7://file:///d:/Github/vscode/cli/src/desktop/version_manager.rs:0:0-0:0).
2025-06-13 15:40:55 +00:00
Henning Dieterichs 3fdc00409f Implements persistent middle mouse scrolling. 2025-06-13 17:38:49 +02:00
Daniel Imms 64bbbe136e Merge remote-tracking branch 'origin/main' into copilot/fix-250770 2025-06-13 08:38:42 -07:00
Henning Dieterichs 4ea56e67fa Aligns with copilot 2025-06-13 17:37:01 +02:00
Aaron Munger fafd5bfd80 update widget aria label on title switch (#251017)
* widget aria label is also observable

* update the aria label

* fix initialization

* remove unused getter
2025-06-13 07:39:47 -07:00
Benjamin Pasero 292353090d debt - inline extpath.ts into pfs.ts (#251388) 2025-06-13 16:37:16 +02:00
Tony BrixandHenning Dieterichs 2c4bd5e3a7 feat: add middle mouse button scrolling (#245882)
* feat: add middle scroll

---------

Co-authored-by: Henning Dieterichs <hdieterichs@microsoft.com>
2025-06-13 07:28:53 -07:00
Benjamin Pasero 5d1bd8f13d Revert "Fix extraction of tab title name" (#251379)
* Revert "Fix extraction of tab title name (#250621)"

This reverts commit ab6d98e599.

* skip test
2025-06-13 15:38:51 +02:00
Ladislau Szomoru ea92c32109 Git - fix race condition with computing teh branch base (#251374) 2025-06-13 13:41:51 +02:00
Benjamin Pasero f0aef94f97 chat - update badge in dock to notify when window has no focus (#251358) 2025-06-13 02:32:39 -07:00
Connor Peet 5547eb94df chat: fix not notifying window on confirmation (#251292)
Applies updated naming

Ref https://github.com/microsoft/vscode/issues/251290
2025-06-13 00:29:59 -07:00
Tyler James Leonhardt 31620a3dec Have Loopback Server flow redirect back to VS Code and make it the primary flow (#251333)
* Have Loopback Server flow redirect back to VS Code and make it the primary flow

Fixes https://github.com/microsoft/vscode/issues/250086

* Fix test

* Fix test

* Fix other test
2025-06-13 08:14:41 +02:00
Rob Lourens 7766411d9f Add ... (#251350)
Fix microsoft/vscode-copilot#18203
2025-06-12 22:56:36 -07:00
7e4e0f4e55 mcp: implement stdio shutdown spec compliance with graceful shutdown manager (#250207)
* Initial plan for issue

* Implement MCP stdio shutdown spec compliance with graceful shutdown manager

Co-authored-by: connor4312 <2230985+connor4312@users.noreply.github.com>

* Add error handling and cleanup optimizations to MCP shutdown manager

Co-authored-by: connor4312 <2230985+connor4312@users.noreply.github.com>

* update

* cleanup

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: connor4312 <2230985+connor4312@users.noreply.github.com>
Co-authored-by: Connor Peet <connor@peet.io>
2025-06-13 01:14:07 +00:00
Justin Chen 6d2793975c undo button to undo requests, adds request in input (#251306)
change to undo, setting for exp
2025-06-12 16:31:27 -07:00
6582eb540f Fix down arrow navigation in last notebook cell to move cursor to end of line (#251156)
* Initial plan for issue

* Fix down arrow navigation in last notebook cell to move cursor to end of line

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

* Add test to validate cursor position logic for last cell arrow navigation

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

* Fix notebook down arrow navigation logic to move cursor to end of line

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

* Implement proper down arrow navigation logic based on feedback

- Check NOTEBOOK_EDITOR_CURSOR_LINE_BOUNDARY context key
- Only move to end of line when cursor boundary is 'start' or 'none'
- Use ICellViewModel's setSelections method for cursor positioning
- Apply logic to any cell on last line, not just last cell
- Preserve existing behavior for last cell navigation

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

* holy overthinking copilot

---------

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: Michael Lively <milively@microsoft.com>
2025-06-12 15:47:30 -07:00
Daniel Imms f62c722516 Merge pull request #251316 from microsoft/tyriar/235331
Don't revive URI before sending from ext to main
2025-06-12 13:55:16 -07:00
Josh Spicer 3aaf8f9365 Adopt mcp token flag (#251297)
* adopt mcp token flag (https://github.com/microsoft/vscode-internalbacklog/issues/5514)

* dont use constant to ChatMCP

* use common/objects equals()
2025-06-12 13:40:31 -07:00
Aaron Munger 90da568e31 drop redo entries when writing new snapshots into history (#251299)
* drop redo entries when writing new snapshots into history

* undo unwanted changes
2025-06-12 13:16:55 -07:00
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 ErandJustin Chen 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