Commit Graph
142531 Commits
Author SHA1 Message Date
Martin Aeschlimann 693539ba21 ChatPromptFilesExtensionPointHandler: fix messages (#283772) 2025-12-16 10:50:43 +00:00
Benjamin Pasero 047f70524d agent sessions - move chat title icon left (#283771) 2025-12-16 10:45:57 +00:00
Johannes Rieken 5b5c13fbeb Merge pull request #237110 from joeriddles/add-snakecase-snippets
Add snakecase to snippets syntax
2025-12-16 11:26:02 +01:00
Johannes Rieken 53acfae1f2 Merge pull request #282246 from SimonSiefke/fix/memory-leak-status-bar
fix: memory leak in status bar
2025-12-16 11:25:36 +01:00
Dmitriy Vasyura 02a05b731c Update Copilot-related placeholders and picker items order (#283323)
* Update Copilot-related placeholders and picker items order

* PR feedback
2025-12-16 11:17:25 +01:00
Benjamin Pasero da422ef800 agent sessions - stronger font for titles and sections (#283765)
This aligns the visuals more with how view titles are presented.
2025-12-16 11:13:08 +01:00
Baptiste Augrain acecfb1607 fix: correctly pass extension's id when version is also provided (#279630) 2025-12-16 09:39:42 +00:00
Benjamin Pasero a076f992dc agent sessions - pixel perfect alignments across all layouts (#283747) 2025-12-16 10:31:48 +01:00
Ladislau Szomoru 5484fca92e Git - remove temporary command that was created to support local background agent sessions (#283758) 2025-12-16 09:15:31 +00:00
Alexandru Dima 69b857be53 Handle edge case when scrolling is complete (#283757)
Handle edge case when scrolling is complete (fixes #171951)
2025-12-16 09:12:36 +00:00
Ladislau Szomoru 1964f18fab Engineering - try out macOS VM agents (#283755) 2025-12-16 09:03:49 +00:00
Ladislau Szomoru 59f91a4f1c QuickDiff - 💄 remove trailing comma (#283752) 2025-12-16 08:45:40 +00:00
Sandeep Somavarapu 30e2a22d2c refactoring (#283749) 2025-12-16 08:25:34 +00:00
Ladislau Szomoru aac80a7d05 QuickDiff - more cleanup, fix leaked disposables (#283743) 2025-12-16 06:51:04 +00:00
Josh Spicer c2f09d6dd9 update example (#283716) 2025-12-16 07:21:21 +01:00
Bhavya U cb742d3c81 Add delete functionality for recently opened items in Welcome page (#283713)
* Add delete functionality for recently opened items in Getting Started page

* address comments
2025-12-16 07:21:04 +01:00
Josh Spicer a24e66c857 refresh chatMultiDiffContentPart on menu updates (#283711) 2025-12-15 23:47:45 +00:00
Simon Siefke 8fd79762ee fix: memory leak in notebook code scrolling (#283452)
* fix: memory leak in notebook code scrolling

* revert
2025-12-15 23:30:24 +00:00
isksssandAlexandru Dima 7ad2ae7870 Update: Fixed so that MARK can be used in vue files etc. (#283583)
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2025-12-15 22:47:15 +00:00
Simon Siefke 86e809099c fix: memory leak in chat list renderer (#282560) 2025-12-15 22:41:10 +00:00
Simon Siefke 8f973b5bd0 fix: memory leak in local process extension host (#279351)
* fix: memory leak in local process extension host

* clean

* clear promise
2025-12-15 22:32:40 +00:00
Simon Siefke 8d65970e28 fix: memory leak in ipc (#282253) 2025-12-15 22:32:21 +00:00
Daniel Gorin f8a2167485 debug: Fix UI freezing on "continue" with high number of threads (#283635)
* debug: Fix UI freezing on "continue" with high number of threads

This fixes a performance regression accidentally introduced in #265755.

Before that change, if the `continued` event had `allThreadsContinued` set,
then we'd call `this.model.clearThreads()` passing `undefined` as `threadId`,
which would update all threads in one pass. After that change, a call to
`this.model.clearThreads()` would be done for each thread.

Because each call to `this.model.clearThreads()` ends up calling
`this._onDidChangeCallStack.fire()`, we end up with quadratic overhead
as some of the handlers traverse all threads in the call-stack box.
This would lead to minute long freezes when using the Erlang debugger,
to debug a system with ~20K Erlang processes.

We now debounce the calls to `_onDidChangeCallStack.fire()` to avoid
the issue.

* debug: Avoid cancelling too many scheduled actions when clearing threads

When calling `clearThreads()` on the model, we'd cancel every scheduled
action, for every session, instead of those relevant only for the
given session and, optionally, thread.

* fixup! debug: Fix UI freezing on "continue" with high number of threads
2025-12-15 22:28:22 +00:00
6eca41153f Add source filter syntax with OR/AND logic and negation for Problems panel (#282665)
* Initial plan

* Add source filter syntax for Problems panel

Co-authored-by: sandy081 <10746682+sandy081@users.noreply.github.com>

* Add @ext:extensionId filter syntax

Support filtering markers by extension ID using @ext:extensionId syntax.
This filters by the marker.owner field which contains the extension ID.

Examples:
- @ext:vscode.typescript - Filter TypeScript extension markers
- @ext:dbaeumer.vscode-eslint - Filter ESLint extension markers
- @ext:pub.ext, error - Combine with text filter

The extension filter works alongside the existing source filter:
- @ext:pub.ext - Filters by extension ID (marker.owner)
- source:ts or @ts - Filters by source name (marker.source)

Co-authored-by: sandy081 <10746682+sandy081@users.noreply.github.com>

* Simplify filter to only support source: format

Per feedback, removed support for:
- @name shorthand (e.g., @ts, @eslint)
- @ext:extensionId format for extension filtering

Now only supports:
- source:name format (e.g., source:eslint, source:ts)

This simplifies the implementation and focuses on the core
source filtering functionality.

Co-authored-by: sandy081 <10746682+sandy081@users.noreply.github.com>

* Change filter format to @source: with negation support

Updated filter syntax per feedback:
- Changed from source:name to @source:name format
- Added negation support with -@source:name
- sourceFilter is now an object with text and negate properties
- Updated filter logic in tree and table views to handle negation
- Updated placeholder text to show examples: @source:eslint, -@source:ts
- Updated all tests to use new format and test negation

Examples:
- @source:eslint - Show only eslint markers
- -@source:ts - Exclude TypeScript markers
- @source:ts, error - TypeScript markers with "error" text

Co-authored-by: sandy081 <10746682+sandy081@users.noreply.github.com>

* Add OR and AND logic for source filters

Support comma-separated sources for OR logic within a filter and multiple @source: filters for AND logic between filters.

Examples:
- @source:eslint,ts - Match eslint OR ts (OR logic)
- @source:eslint @source:error - Match markers where source contains both "eslint" AND "error" substrings (AND logic)
- @source:eslint,ts @source:warn - Match (eslint OR ts) AND warn
- -@source:ts @source:error - Exclude ts AND must contain error

The sourceFilter property is now sourceFilters (array) to support multiple filters.
Each filter has a sources array (for OR logic) and a negate flag.

Co-authored-by: sandy081 <10746682+sandy081@users.noreply.github.com>

* Extract source filtering logic into common method

Refactored duplicated source filter checking logic from markersTreeViewer and markersTable into a common matchesSourceFilters() method in FilterOptions class.

Benefits:
- Reduces code duplication (~68 lines removed)
- Single source of truth for source filtering logic
- Easier to maintain and test
- Consistent behavior between tree and table views

The matchesSourceFilters() method:
- Takes markerSource as parameter
- Returns true if marker passes all source filters
- Implements AND logic between filters
- Implements OR logic within filter sources
- Handles negation correctly

Co-authored-by: sandy081 <10746682+sandy081@users.noreply.github.com>

* simplify filter

* update placeholder

* change syntx

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sandy081 <10746682+sandy081@users.noreply.github.com>
Co-authored-by: Sandeep Somavarapu <sasomava@microsoft.com>
2025-12-15 22:18:52 +00:00
Dmitriy Vasyura 566bacb5b0 Merge pull request #283685 from microsoft/dev/dmitriv/mode-picker-tooltip-follow-up
Use mutable disposable for the tooltip
2025-12-15 13:46:52 -08:00
Ladislau Szomoru e88a60fa71 QuickDiff - improve findPrevious/findNext perf (#283675) 2025-12-15 21:41:02 +00:00
Connor Peet 5769cef79a chat: fix ChatCheckpointFileChangesSummaryContentPart showing 0/0 (#283674)
* chat: fix ChatCheckpointFileChangesSummaryContentPart showing 0/0

The diff for changed files was getting recreated for each compututation
and immediately read(), so it never actually loaded diffs in.

Fixed this and simplified the rendering.

Closes #279868

* cleanup lint
2025-12-15 21:31:25 +00:00
Josh Spicer 98e09912d0 fix vscode#280616 (#283667) 2025-12-15 21:25:42 +00:00
dileepyavan d529467855 Deduping url patterns while showing up for confirmation (#283666)
deduping url patterns while showing up for confirmation
2025-12-15 21:22:22 +00:00
Dmitriy Vasyura 83499875de Use mutable disposable for the tooltip 2025-12-15 13:14:24 -08:00
Connor Peet 68776a583b chat: fix closing aux window chat opening in editor (#283657)
Closes #282113
2025-12-15 12:12:20 -08:00
Ladislau Szomoru d8979c27d0 QuickDiff - fix next change action (#283656) 2025-12-15 12:11:48 -08:00
Connor Peet 35cf9bcdb3 chat: cleanup unnecessary isPendingConfirmation triggers (#283651)
* chat: cleanup unnecessary isPendingConfirmation triggers

* fix tests
2025-12-15 11:59:37 -08:00
Dmitriy Vasyura 3320742642 Show tooltip on model status icon (#283319)
* Show tooltip on model status icon

* PR feedback
2025-12-15 14:09:12 -05:00
Dmitriy VasyuraandCopilot b155c84efa Close tools picker when chat mode changes (#283317)
* Close tools picker when chat mode changes

* Update src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-15 18:49:38 +01:00
Dmitriy Vasyura 752dab26b4 Ignore invalid files when looking for copilot-instructions.md (#283322) 2025-12-15 18:48:17 +01:00
Martin Aeschlimann 95e0dc6d88 chat prompt file contributions: make name optional (#283631) 2025-12-15 17:38:19 +00:00
Connor Peet 059761d01f fix: error in epoch bounds in edit timeline (#283630) 2025-12-15 17:28:49 +00:00
Dmitriy Vasyura a8f71903a6 Merge pull request #283575 from microsoft/dev/dmitriv/settings-editor-completions
Enable settings completion when the query is empty
2025-12-15 09:05:09 -08:00
Lee Murray d3fae1fdfb Merge pull request #283619 from microsoft/mrleemurray/shallow-mongoose-indigo
Update codicon font file to latest version
2025-12-15 16:54:17 +00:00
473f563b6b Add setting to always show advanced settings (#283592)
* Initial plan

* Add workbench.settings.alwaysShowAdvancedSettings setting with insiders default

Co-authored-by: sandy081 <10746682+sandy081@users.noreply.github.com>

* Add configuration change handler to refresh view when alwaysShowAdvancedSettings changes

Co-authored-by: sandy081 <10746682+sandy081@users.noreply.github.com>

* polish

* polish

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sandy081 <10746682+sandy081@users.noreply.github.com>
Co-authored-by: Sandeep Somavarapu <sasomava@microsoft.com>
2025-12-15 16:45:07 +00:00
Lee Murray 9060979c6d Merge pull request #283614 from microsoft/revert-283569-mrleemurray/tough-asp-maroon
Revert "Remove border color assignment in Toggle component styles"
2025-12-15 16:44:42 +00:00
mrleemurray 992fcf62fd Update codicon font file to latest version 2025-12-15 16:32:08 +00:00
Aiday Marlen KyzyandCopilot fd7fb44d73 WORKAROUND - paste fix - using readText from navigator API when triggerPaste fails (#283571)
* paste fix

* polish

* Update src/vs/editor/browser/controller/editContext/clipboardUtils.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* setting PasteOption and CopyOptions

* adding back log

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-15 16:25:00 +00:00
Johannes Rieken 43d2cbc9a0 Merge branch 'main' into add-snakecase-snippets 2025-12-15 17:23:42 +01:00
Simon Siefke f02f392e65 Merge branch 'main' into fix/memory-leak-status-bar 2025-12-15 19:17:07 +03:00
Simon Siefke 6e57ed160a simplify code 2025-12-15 17:16:19 +01:00
Lee Murray d108b9b25c Revert "Remove border color assignment in Toggle component styles" 2025-12-15 16:14:53 +00:00
Benjamin Pasero cc1d2ff161 agent sessions - always show chat title in all modes (#283610) 2025-12-15 16:14:32 +00:00
Simon Siefke 65c26506a1 Merge branch 'main' into fix/memory-leak-status-bar 2025-12-15 19:14:20 +03:00