Commit Graph

146684 Commits

Author SHA1 Message Date
Henning Dieterichs
bdd6e80b9f update screenshot baselines from CI 2026-02-23 12:50:38 +01:00
Johannes Rieken
6b820e7b5b Add diagnostics support to inline chat and related actions (#296939)
- Introduce `selectionHasDiagnostics` context key to track diagnostics in the editor selection.
- Implement `FixDiagnosticsAction` to allow users to fix diagnostics directly from inline chat.
- Enhance `InlineChatController` to optionally attach diagnostics to chat requests.
- Update inline chat configuration to include `FixDiagnostics` setting.
- Register new action in the inline chat affordance for fixing diagnostics.
2026-02-23 11:44:40 +01:00
Henning Dieterichs
155c18ecfc updates component explorer (#296938)
* updates component explorer

* updates package.json

* fix screenshot CI: install build/ dependencies for jsonc-parser

* sets relative base

* updates lockfile
2026-02-23 11:44:35 +01:00
Benjamin Pasero
7bcd7fe84d chat - opt team into inlineChat.affordance: editor (#296931) 2026-02-23 10:12:15 +01:00
Martin Aeschlimann
c173f3e216 improve trusted JSON schemas (#296928)
* improve trusted JSON schemas

* update
2026-02-23 10:12:04 +01:00
Isidor Nikolic
2016e51e10 Merge pull request #296301 from microsoft/isidor/remove-chat-restore-last-checkpoint-toolbar
Remove Restore to Last Checkpoint from chat
2026-02-23 09:53:14 +01:00
Copilot
ca5f6863ba Fix: Chat "Files & Folders" context picker returns no results when searching by file name (#296300)
* Initial plan

* Fix chat context Files & Folders search not returning results by name

Co-authored-by: jrieken <1794099+jrieken@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jrieken <1794099+jrieken@users.noreply.github.com>
2026-02-23 08:50:07 +00:00
Matt Bierner
638c36e050 Merge pull request #296915 from mjbvz/dev/mjbvz/fit-koala
Add helper class to work with js/ts unified configs
2026-02-23 00:49:36 -08:00
Sandeep Somavarapu
782dcfe6ea fix duplicate models in sessions window (#296922) 2026-02-23 08:13:55 +00:00
Sandeep Somavarapu
fb0cc93316 fix #296916 (#296919) 2026-02-23 08:08:52 +00:00
Matt Bierner
000d29cc4e Add helper class to work with js/ts unified configs
For #292934
2026-02-22 23:33:29 -08:00
Peng Lyu
7e87802f49 update distro (#296907) 2026-02-22 21:19:45 -08:00
dileepyavan
4a952339f1 Enabling sandboxing for local MCP servers at workspace level. (#295704)
* Enabling MCP sandboxing

* Added debug logs for troubleshooting

* changes for confirmation window during MCP server run

* refactoring changes

* refactoring changes

* code review comments

* code review comments

* code review comments

* code review comments

* fixing tests

* Code review comments

* code review

* Code review comments
2026-02-22 20:58:00 -08:00
Joaquín Ruales
c3d3f8d540 Make simpleBrowser.useIntegratedBrowser true by default (#296775)
* Update default value for useIntegratedBrowser setting

Changed default value of useIntegratedBrowser to true.

* Address feedback on default setting for `simpleBrowser.useIntegratedBrowser` (#296776)

* Initial plan

* Change default fallback for useIntegratedBrowserSetting from false to true

Co-authored-by: jruales <1588988+jruales@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jruales <1588988+jruales@users.noreply.github.com>

* Remove "experimental" label from simpleBrowser.useIntegratedBrowser setting description (#296777)

* Initial plan

* Remove 'experimental' from useIntegratedBrowser setting description

Co-authored-by: jruales <1588988+jruales@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jruales <1588988+jruales@users.noreply.github.com>

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2026-02-22 20:20:35 -08:00
Justin Chen
ec33e9db9a fix persistent headers + single tool call cases (#296894)
* fix persistent headers + single tool call cases

* address some comments
2026-02-22 18:07:42 -08:00
Kyle Cutler
0dcfca3823 Browser: preparation for tools (#296657)
* Browser: preparation for tools

* feedback, fix build

* fix

* fix

* feedback
2026-02-22 16:36:40 -08:00
Sandeep Somavarapu
8a737a67e0 fix showing curated models in different session types (#296862) 2026-02-22 15:30:56 -08:00
Sandeep Somavarapu
192a0403cf improvements to new chat sessions window (#296858)
* refactor chat widget attachment handling for clarity and improved functionality

* refactor chat toolbar styles for improved consistency and visual clarity

* enhance send button functionality with disabled state management

* enhance NewChatWidget to update send button state based on editor content

* enhance loading state management for branch and isolation mode pickers

* enhance branch loading logic with error handling and loading state management

* enhance repository loading with cancellation support and error handling

* enhance send button implementation with Button widget and state management

* Copilot CLI session 7c14814b-d36c-4bf5-8b17-d78ee84df3a3 changes

* clear branch picker when loading a new repository in NewChatWidget

* enhance loading indicator for chat input area with CSS animations

* fix loading progress bar position in chat input area

* add loading state handling to BranchPicker and NewChatWidget

* add loading state management for repository and branch in NewChatWidget

* remove loading class toggle from slot element in BranchPicker

* add focus management for editor in NewChatWidget interactions

* add loading spinner to toolbar and remove input area loading progress bar

* reduce size of loading spinner in toolbar to improve UI consistency

* add margin to loading spinner and set up hover management in NewChatWidget

* layout editor after input slot fade-in animation in NewChatWidget

* hide focus outline in chat editor for improved UI

* update input area border color and remove focus outline in chat editor for improved UI

* add loading delay for spinner visibility in NewChatWidget to enhance user experience

* update border color for focused input area in chat editor for improved accessibility

* update input area border color for improved accessibility

* refactor loading delay handling in NewChatWidget for improved resource management

* refactor toolbar creation in NewChatWidget to ensure attach button is consistently added
2026-02-22 15:30:52 -08:00
Aiday Marlen Kyzy
d8c97eabbe Using an inline decorations computer (#262717)
Using an inline decorations computer
2026-02-22 23:27:05 +01:00
Benjamin Christopher Simmonds
fd0ac592eb Merge pull request #296860 from microsoft/benibenj/sensitive-swordfish
Run script sessions cleanup
2026-02-22 22:08:24 +01:00
BeniBenj
6ee779304b 💄 2026-02-22 21:54:46 +01:00
Benjamin Christopher Simmonds
74ef134b0a Update src/vs/sessions/contrib/chat/browser/runScriptAction.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-22 21:33:30 +01:00
Benjamin Christopher Simmonds
bb26d24d29 Update src/vs/sessions/contrib/chat/browser/sessionsConfigurationService.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-22 21:32:54 +01:00
BeniBenj
8ad39162c4 run script sessions
cleanup
2026-02-22 21:24:36 +01:00
Rob Lourens
ee6d7c0318 Add more chat cancellation telemetry (#296850)
* Add more chat cancellation telemetry

* remote session
2026-02-22 11:06:57 -08:00
Lee Murray
ff21980e60 Add configurable notification positions (#295571)
* feat: add configurable notification positions and update layout accordingly

* test: add unit tests for configurable notification positions and related functionality

* Update src/vs/workbench/browser/parts/notifications/notificationsCommands.ts

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

* Update src/vs/workbench/browser/parts/notifications/notificationsToasts.ts

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

* Update src/vs/workbench/test/browser/notificationsPosition.test.ts

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

* Initial plan

* Replace hard-coded titlebar height with DEFAULT_CUSTOM_TITLEBAR_HEIGHT constant

Co-authored-by: mrleemurray <25487940+mrleemurray@users.noreply.github.com>

* Remove unused position variable in NotificationsToasts class

* Add ConfigureNotificationsPositionAction and integrate into NotificationsCenter

* Update src/vs/workbench/test/browser/notificationsPosition.test.ts

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

* Initial plan

* Replace hard-coded titlebar height with DEFAULT_CUSTOM_TITLEBAR_HEIGHT in test

Co-authored-by: mrleemurray <25487940+mrleemurray@users.noreply.github.com>

* move some things around

* use menu with submenu for positions

* slide in from right

* settings

* .

* .

* .

* .

* .

* .

* unused

* .

* .

---------

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mrleemurray <25487940+mrleemurray@users.noreply.github.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2026-02-22 19:25:45 +01:00
Rob Lourens
5f64873253 Don't show sessions list when chat has title (#296766)
* Don't show sessions list when chat has title
For #292629
2026-02-22 18:10:03 +00:00
Benjamin Pasero
77cf65c30c sessions - hide avatar always (#296838) 2026-02-22 09:33:03 -08:00
Dmitriy Vasyura
ee401a1256 Sanity tests perf improvements (#296248) 2026-02-22 16:55:53 +00:00
Copilot
939e20b2a0 Set "custom" as the default for window.menuStyle (Insiders only) (#296307)
* Initial plan

* set 'custom' as default for window.menuStyle

Co-authored-by: eli-w-king <201316543+eli-w-king@users.noreply.github.com>

* set 'custom' as default for window.menuStyle on non-stable builds only

Co-authored-by: eli-w-king <201316543+eli-w-king@users.noreply.github.com>

* Update src/vs/workbench/electron-browser/desktop.contribution.ts

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: eli-w-king <201316543+eli-w-king@users.noreply.github.com>
Co-authored-by: Elijah King <elijahwilliamking@icloud.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2026-02-22 16:46:26 +01:00
Benjamin Pasero
718b93c010 style - reduce focus outline for a more modern look (#296799) 2026-02-22 00:27:27 -08:00
Benjamin Pasero
c98021a7f5 sessions - support always on top for floating windows (#296796)
* sessions - support always on top for floating windows

* Update src/vs/sessions/browser/layoutActions.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-22 00:26:38 -08:00
Benjamin Pasero
303416bcfa debt - check in stale lock file for packages (#296797) 2026-02-21 23:24:03 -08:00
Anthony Kim
8494e45e1f Allow ghostty terminal from external terminal osx, linux (#286983)
* Push changes from break

* comment

* Cleaner, still TODO

* todo

* todo

* Use --wait-after-command for ghostty

* Refactor so its cleaner on Mac for iterm vs. ghostty

* remove --working-directory from spawnTerminal

* Remove comment

* Tests

* More descriptive comment for na

* Ghostty for linux as well

* remove unused

* refactor better
2026-02-21 22:43:00 -08:00
Harald Kirschner
c760ee7f43 Update proposed API versioning instructions (#293291) 2026-02-22 05:03:57 +00:00
Peng Lyu
6c1efa9aaf improve handling of titleTemplate for proposed API (#296760) 2026-02-22 00:13:34 +00:00
Alexandru Dima
9c99e8fb20 Merge pull request #296709 from microsoft/alexd/comparable-sparrow
Fix ViewModel issue where all lines were hidden
2026-02-21 23:11:23 +01:00
Benjamin Pasero
beb0fcb0c5 sessions - allow to open editors in new window (#296701) 2026-02-21 13:49:14 -08:00
Sandeep Somavarapu
aa825dfa93 add logging (#296756)
* add logging

* feedback
2026-02-21 21:08:50 +00:00
Ladislau Szomoru
257a0cf20b GitService - more perf tweaks (#296759)
GitService - more tweaks
2026-02-21 21:00:20 +00:00
Benjamin Pasero
483dbd1fdd sessions - stop blocking the context menu on sessions (#296755) 2026-02-21 20:40:40 +00:00
Ladislau Szomoru
66e02a33c8 GitService - fix issue with opening a repository (#296752) 2026-02-21 20:20:42 +00:00
Alex Dima
f1d5b97061 Fix unit test 2026-02-21 13:47:41 +01:00
Alexandru Dima
bc0e092d53 Update src/vs/editor/test/common/viewModel/prefixSumComputer.test.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-21 13:10:56 +01:00
Alex Dima
fd182ab801 Protect event delivery 2026-02-21 11:40:43 +01:00
Alex Dima
3c5c4ba686 fix: safety check in _constructLines for 0 visible lines
When hidden area decorations drift via AlwaysGrowsWhenTypingAtEdges
stickiness, _constructLines(resetHiddenAreas=false) — triggered by
tab size or wrapping changes — can rebuild projections with all lines
hidden.

Extract _ensureAtLeastOneVisibleLine() shared by both _constructLines
and acceptVersionId.
2026-02-21 11:40:42 +01:00
Alex Dima
cb1391c68f Add unit test for overlapping hidden ranges 2026-02-21 11:40:42 +01:00
Alex Dima
2af23ffd29 Revert setViewport early return (aee9b1b3) since the root cause (0 visible lines) is now fixed at the source 2026-02-21 11:40:42 +01:00
Alex Dima
86dc9c4e38 fix: ensure at least one line remains visible after edits with hidden areas
When an edit (delete/undo) removes or merges the only visible line(s) into
hidden lines, the view model could end up with zero visible lines, causing
downstream crashes (e.g. 'Not supported' from HiddenModelLineProjection).

The safety check in acceptVersionId only caught the case where exactly 1
hidden line remained. Generalize it to detect when getViewLineCount() === 0
and minimally restore visibility by making just the first line visible,
preserving the caller's intended hidden areas as much as possible.
2026-02-21 11:40:42 +01:00
Alexandru Dima
1fd39ecd9e Update src/vs/editor/common/model/prefixSumComputer.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-21 11:40:24 +01:00