Графік комітів
3959 Коміти
Автор SHA1 Повідомлення Дата
Deng Liuтаdengliu 8a301dad86 feat(markdown): record preview clicks in navigation history for Back/Forward (#8172)
Back/Forward now walk through positions in Markdown previews. In Preview Only mode a click records the clicked source line (the preview keeps its scroll) and Back/Forward scroll to the remembered line with a short highlight (none under reduced motion). Same-file #anchor links record their origin and destination in both Preview Only and Split mode; a link to another file records the link line first. In Split mode a plain click in the preview leaves the source editor's caret alone. A clicked position is no longer overwritten by the passive shown-line update, and the Live MDX preview forwards the Back/Forward shortcuts from its iframe.

Co-authored-by: dengliu <[email protected]>
2026-12-05 14:16:46 +08:00
LU XIANGRUIтаwildcatDownstairs ee6f9f81a5 feat(project-tree): reveal kotlin-language-server temp files and C# csharp: assemblies (#8162)
Select Opened File now reveals two more kinds of library tabs in the Project view:

- kotlin-language-server's temporary copies of library sources (an OS temp `kotlinlangserver<digits>` folder): the file's package and top-level types are read and matched against the listed External Libraries roots (JDK `src.zip` modules, `rt.jar`, binary jars before `-sources.jar`, Kotlin `*Kt` facades, class folders), dropping stale lookups.
- C# `csharp:` decompiled and source-generated documents (both the project-path and the legacy `metadata/projects/.../assemblies/...` forms): mapped to the matching .NET project's Dependencies node (package, project reference, framework, analyzer, or Dependencies itself).

Closes #8050

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-05 14:09:35 +08:00
LU XIANGRUIтаwildcatDownstairs c13cb2bf27 feat(plugins): add customEditor.toolbar menu above split/preview text editors (#8164)
Adds the `customEditor.toolbar` menu location (plugin API 1.21). A `[[contributes.menus]]` entry with `view` naming one of the plugin's own split or preview custom editors puts its command as an icon button in a thin strip above the text half of that editor; `when` works as for other menus. The host rejects a missing or unknown `view`, a tab-layout editor, unknown commands and submenus at install time. Buttons use the command's icon (else the plugin icon), the command title as tooltip and aria-label, and run with the same editor context as editor.title; the strip is hidden in preview-only mode and when nothing applies.

Closes #7796

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-05 14:05:54 +08:00
l0ng-ai 7d30d23a56 feat(agents): redesign composer controls, branch switching, and worktree reuse (#8167)
* feat(agents): redesign composer controls, branch switching, and worktree reuse

* fix(agents): address PR #8167 review findings for worktree safety, branch checkout, and composer UX
2026-12-05 14:03:16 +08:00
LU XIANGRUIтаwildcatDownstairs 749c34df7a feat(plugins): add views.set-badge API for plugin tool window badges (#8165)
Adds `views.set-badge` (`host::set_view_badge`) to plugin API 1.21: a plugin sets or clears a short badge on the stripe icon of one of its declared `[[contributes.views]]` tool windows, per invoking window, without a capability. Text is at most 4 characters (no control characters), numbers above 99 show as "99+", and `None`, "" or "0" clear it. Badges are dropped when the plugin is disabled, reloaded or uninstalled and when the window closes; a window reads the current set with `plugin_view_badges` and follows `ViewBadgeChanged` events. Plugin views reuse the workbench `StripeBadge` (honouring Show tool window badges); grouped views show each member's badge on its tab and an aggregate on the stripe.

Closes #8006

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-05 13:58:37 +08:00
LU XIANGRUIтаwildcatDownstairs 9d5c294218 fix(lsp): send the UI locale in initialize; optional diagnostic source line on hover (#8163)
Language servers always received "locale": "en" in initialize. The UI locale (appearance.locale, mapped to a BCP 47 tag such as zh-CN) is now sent, and running servers restart when it changes, so servers with localized messages follow the UI language.

Adds Settings > Editor > Code Editing > Error Highlighting > "Show diagnostic source and code on hover" (on by default) to hide the source/code line under each problem in editor tooltips; the Problems tool window still shows it.

Closes #8156

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-05 13:37:32 +08:00
tongkangwangтаchiyanking 588d1d17aa fix(agents): dismiss the image preview on outside click (#8159)
The agent image preview only closed with Esc or its Close button. It now also closes on a click outside the dialog; clicks inside keep it open.

Co-authored-by: chiyanking <[email protected]>
2026-12-05 13:37:14 +08:00
waht41 6b94744df3 fix(editor): keep focus put when clicking find arrows; Ctrl/Cmd+Enter focuses the editor (#8157)
Clicking Previous/Next Occurrence in the editor's Find bar moved keyboard focus onto the button, so Ctrl+V did nothing afterwards. The arrow buttons no longer take focus: focus stays in the search field or the editor, whichever had it. Ctrl/Cmd+Enter in the search field now moves focus to the editor with the current match selected (or closes the bar when the query is empty), so a paste replaces that match and the arrows or F3 continue from there.

Refs #8139

Co-authored-by: waht41 <[email protected]>
2026-12-05 13:37:00 +08:00
Muuтаmuutot 30c80107e3 fix(vcs): recognize GitCode as a GitHub-style hosting (#8153)
Open In and Copy Path/Reference built GitLab-style /-/tree/... pages for gitcode.com remotes because remoteHosting fell back to self-managed GitLab for unknown hosts. GitCode serves GitHub-style routes (/tree, /blob, #L anchors), so it is now recognized as a GitHub-layout hosting and its menu items are labeled "GitCode".

Co-authored-by: muutot <[email protected]>
2026-12-05 13:26:29 +08:00
astesiaтаkirito1105 05a88394fb feat(plugins): Project view panes and Git branch menu commands (API 1.21) (#7980)
Plugins can add panes to the Project tool window and commands to the Git branch menus:

- `[[contributes.projectViewPanes]]` with the `project-view-provider` export regroups a directory's native children under virtual folders. Existing nodes keep their icons, Git status and actions. `project-view.refresh` / `select-in` and `projectViewContext` menu items work against these panes. Requires `project.read`.
- `git.branches.popup` and `git.branch.context` menus. `invocation.git-action-context` gives the command the repository roots and the full ref of the clicked branch. Requires `vcs.read`.
- `views.open-revision-comparison` opens the IDE's comparison of two full commit IDs as a Compare tool window tab, the same one Compare Versions opens. The repository must be a mapped Git root of the invoking trusted project. Requires `vcs.read`.

All of this is part of plugin API 1.21. A project-view test fixture and host tests cover the provider, the branch menu context and the comparison call. The plugin components and bindings are rebuilt.

Co-authored-by: kirito1105 <[email protected]>
2026-12-05 12:24:10 +08:00
l0ng-ai 455e32ab76 refactor(agents): replace per-file memory controls with native-only auto-memory controls (#8068)
* refactor(agents): replace per-file memory controls with native-only auto-memory controls

* test(e2e): update agentComposerPopup memory catalog fixture

* fix(agents): add missing memory i18n keys, valid spacing token, and rollout count
2026-12-05 11:51:00 +08:00
l0ng-ai c55ee61b71 feat(java): integrate java-analyzer sourceOrigin and attachSources (#8146)
* feat(java): integrate java-analyzer sourceOrigin and attachSources

* fix(java): address sourceOrigin/attachSources review findings
2026-12-05 11:48:35 +08:00
l0ng-ai 0b7485f69f feat(github): align GitHub Issues tool window with Pull Requests (#8147)
* feat(github): align GitHub Issues tool window with Pull Requests

* fix(github): deduplicate issue account reload, bind refresh keymap, and refine #number UX
2026-12-05 11:48:14 +08:00
l0ng-ai 5a44ccb615 feat(vcs): offer an HTTPS clone when the SSH key cannot reach the repository (#7966)
When an SSH clone of a github.com, gitlab.com, bitbucket.org or codeberg.org
repository fails with a refused key or "Repository not found", the dialog
explains that the key may belong to another account and offers Clone with HTTPS,
which uses the Git credential helper such as GitHub CLI.
2026-12-05 11:47:52 +08:00
l0ng-ai 63f20ce5cc fix(terminal): restore scrollbar slider inset and theme tokens (#8148) 2026-12-05 11:47:24 +08:00
l0ng-ai 2389f55bae fix(vcs): keep manual merge result edits valid across changes (#8127) 2026-12-05 11:47:17 +08:00
l0ng-ai af416b0572 fix(debugger): keep inline values in the selected frame (#8105) 2026-12-05 11:47:11 +08:00
l0ng-ai 1548f5cfe5 fix(run): reconcile Gradle test display names with XML reports (#8140) 2026-12-05 11:46:26 +08:00
l0ng-ai bca532e4e3 fix(run): do not count empty Surefire suites as ignored tests (#8084) 2026-12-05 11:46:20 +08:00
32242eaf53 feat(build): honor Maven project.build.sourceEncoding (#7933)
Maven projects' project.build.sourceEncoding (inherited from parents, properties resolved) is now the encoding of each module's src folder: Java charset names such as ISO8859_15, Cp1252 or GBK map to the editor's codecs, below explicit encoding mappings and EditorConfig and above the project default; .properties files keep their own rule. Single-file Maven compilation passes it to javac -encoding. The build model is read in the background when a project opens and on every reload or sync; clean open files below a module whose encoding changed are decoded again, files with unsaved changes or a chosen encoding keep theirs.

Co-authored-by: arookieofc-ai <[email protected]>
Co-authored-by: LittleGuava <[email protected]>
2026-12-05 11:08:19 +08:00
630e56a263 feat(endpoints): add an Endpoints tool window (#7997)
* feat(endpoints): add endpoints tool window

Supersedes #883.

Co-authored-by: Roberto Scinocca <[email protected]>

* fix(endpoints): translate the plural and use spacing tokens

---------

Co-authored-by: arookieofc <[email protected]>
Co-authored-by: Roberto Scinocca <[email protected]>
Co-authored-by: l0ng-ai <[email protected]>
2026-12-05 10:36:02 +08:00
Binтаl0ng-ai 6600a06ee8 fix(editor): cap and stabilize color preview gutter (#8073)
Co-authored-by: l0ng-ai <[email protected]>
2026-12-05 10:32:21 +08:00
ca4644cbde fix(services): distinguish same-named configurations by module (#7999)
Part of #772.

Co-authored-by: arookieofc <[email protected]>
Co-authored-by: hpz <[email protected]>
2026-12-05 10:32:13 +08:00
LU XIANGRUIтаwildcatDownstairs d1c07306e9 feat(profiler): profile Python runs with yappi (threads, asyncio) (#7466)
Profile on a Python run configuration uses yappi when the run's interpreter can import it: Automatic picks yappi, else py-spy where it can sample without root, else cProfile, and Settings › Python › Profiler gains a yappi choice (missing yappi offers `python -m pip install yappi`, or only the homepage under uv/poetry). yappi runs through python_profile.py with the wall clock and builtins, so a coroutine's time includes its awaits and every thread is profiled; the launcher writes the merged profile.pstats plus one pstats per thread and threads.json (busiest 64), converted to cProfile's call-count order and built-in names. Non-daemon threads and pools are waited for before saving, except after Stop. The Profiler view gets a thread selector (All threads merged, then each thread) when a run has two or more threads. The Rust CI job installs yappi 1.7.6 in a venv on GitHub-hosted runners for the real-interpreter tests.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-05 10:10:00 +08:00
l0ng-ai 9f63ea75fe fix(dotnet): keep output that arrives after the process exit event (#8149)
dotnet() resolved on the runExited event, which can overtake the output channel, so `dotnet msbuild -getProperty … -getItem …` could return only the echoed command line and evaluating a test project failed with "JSON Parse error: Unexpected EOF" (Run and Run with Coverage of dotnet test configurations did not start). After the exit event it now waits up to two seconds for the channel's exit message, the last chunk the run host sends; cancelled or overflowing queries don't wait.
2026-12-05 10:00:50 +08:00
LU XIANGRUIтаwildcatDownstairs cff33ee70d feat(dotnet): run .NET tests with coverage (#7736)
Run with Coverage now works for `dotnet test` configurations: VSTest projects collect with coverlet.collector, Microsoft.Testing.Platform projects with Microsoft.Testing.Extensions.CodeCoverage (Cobertura output). The runner is chosen from global.json's test.runner and an MSBuild evaluation of the project; a test project without the package gets an Install notification that runs `dotnet add <project> package …`. Each run writes to its own results directory and the reports of every test project are merged (the TRX logger's copies are not counted twice). Cobertura branch flags are read case-insensitively (coverlet writes `True`). The Rust CI job's .NET 10 SDK step now also serves ide-coverage's real-CLI test.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-05 09:51:24 +08:00
l0ng-ai ccb73f4efd fix(agents): bound inline reply images to the chat viewport 2026-12-05 09:47:37 +08:00
l0ng-ai d69ebb9f1e style(icons): use a document glyph for Markdown files 2026-12-05 09:47:37 +08:00
Alexandro Trevisanтаl0ng-ai 579ce3f731 feat(run): choose the run device from plugin device providers (#7822)
* feat(run): choose the run device from plugin device providers

Plugins can declare device providers (`[[contributes.devices]]`): a program
that lists simulators, emulators or phones as JSON, the run configurations
it applies to, and how a chosen device reaches the run (extra arguments,
environment, an optional prepare step that boots it). The title bar shows a
device chooser for the selected configuration; Run and Debug prepare the
chosen device first. Before-launch and build-on-update runs skip the device.

* feat(plugins): document run devices and require plugin API 1.21

`[[contributes.devices]]` now needs `engines.openidea = "^1.21"` and uses
camelCase fields (`appliesTo`, `runArgs`) like the other run contribution
points. The plugin README, the manifest reference and the API versions page
(en/zh) describe it, and `plugins/official/android-devices` is a small
example that lists the devices adb sees for Gradle install tasks.

* fix(plugins): harden device runner process handling, guard refresh races, verbatim headers, and add en.json entries

* fix(plugins): use portable process:sh capability in android-devices example and README

---------

Co-authored-by: l0ng-ai <[email protected]>
2026-12-05 09:34:41 +08:00
LU XIANGRUIтаwildcatDownstairs 71ded3e4c0 feat(dotnet): show the .NET SDK a project uses and pin it in global.json (#7740)
Adds Settings › Languages & Frameworks › .NET: the SDK `dotnet --version` resolves in the project folder (so global.json and rollForward apply), the installed SDKs, and the global.json being read, also from a parent folder. Choosing a version writes sdk.version to the project folder's global.json, creating it if needed and keeping every other byte (comments, BOM, layout). A pinned version that is not installed and a global.json that does not parse are called out; depending on the SDK, dotnet ignores such a file (10.0.401) or fails to start (10.0.404). Both commands are refused in Restricted Mode. The Rust CI job installs the .NET 10 SDK (actions/setup-dotnet pinned to v5.4.0) for the real-CLI test.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-05 09:32:11 +08:00
LU XIANGRUIтаwildcatDownstairs 59397c4842 feat(profiler): profile Python allocations with memray (#7699)
Profile '…' Allocations now works for Python scripts, modules and pytest configurations on macOS and Linux. The run is tracked by memray in the project's interpreter through python_profile.py (trace_python_allocators on), the capture is read with `memray transform csv` with the project folder kept off sys.path, and the snapshot shows what was allocated at peak memory in the existing allocation views. When memray is missing, the Install notification offers pip / uv / poetry / pdm. Live objects stay JVM only; Windows and run targets are refused with a reason. The Rust CI job installs memray 1.21.0 in a venv on GitHub-hosted macOS and Linux runners so the real-memray tests run there.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-05 09:18:18 +08:00
76cb012b92 feat(cmake): use a Visual Studio toolchain's environment (vcvarsall) (#7956)
* feat(cmake): use a Visual Studio toolchain's environment

Supersedes #4051.

Co-authored-by: Bert Verhelst <[email protected]>

* fix(cmake): compact long PATH for vcvarsall, run toolchain_check off async thread, regenerate bindings and clean stale zh keys

---------

Co-authored-by: arookieofc <[email protected]>
Co-authored-by: Bert Verhelst <[email protected]>
Co-authored-by: l0ng-ai <[email protected]>
2026-12-05 09:14:16 +08:00
Akbar Husainтаl0ng-ai 853a0304e1 feat(java): use java-analyzer's hierarchy refactor requests (#8120)
* feat(java): use java-analyzer's hierarchy refactor requests

* fix(java): handle null hierarchy refactor answer, prefer first target, and test jdtls fallback

---------

Co-authored-by: l0ng-ai <[email protected]>
2026-12-05 09:12:24 +08:00
Akbar Husainтаl0ng-ai 4fe11aacbd feat(java): use java-analyzer's change signature requests (#8102)
* feat(java): use java-analyzer's change signature requests

* fix(java): handle null changeSignature result, default delegateSupported, and add fallback test

---------

Co-authored-by: l0ng-ai <[email protected]>
2026-12-05 09:09:32 +08:00
audichuangтаl0ng-ai 61a4118921 fix(project-tree): select java-analyzer library files under External Libraries (#8119)
* fix(project-tree): select java-analyzer library files under External Libraries

* fix(project-tree): prefer the reported binary jar; ask only running servers

* fix(project-tree): select stubs of class directory libraries

* test: record lsp_library_source_origin in the command snapshot

* test(ide-lsp): build the source origin test's paths per platform

* fix(project-tree): skip virtual URIs in sourceOrigin lookup and normalize class dir slashes

---------

Co-authored-by: l0ng-ai <[email protected]>
2026-12-05 08:55:06 +08:00
Alexandro Trevisanтаl0ng-ai 63ce54dc1e feat(run): offer the debug adapters of language definitions in run configurations (#7823)
* feat(run): offer the debug adapters of language definitions in run configurations

The Debug adapter field of a run configuration listed only the built-in
adapters. A language definition's `[debugger] adapter`, including one a
plugin contributes, showed as "(no launch template)" when typed in by hand.
`LanguageInfo` now carries the adapter, and the form offers it after the
built-in ones.

* fix(run): mark language debug adapter options verbatim and trim adapter ids

---------

Co-authored-by: l0ng-ai <[email protected]>
2026-12-05 08:52:01 +08:00
Deng Liuтаdengliu cd989aace8 fix(services): name the Compose Services table column Disk I/O and order it like the charts (#8134)
The Services table of the Compose Project dashboard called the disk column Block I/O and listed Network I/O first, while the Project Resource Usage charts below it say Disk I/O and show it before Network I/O. The table now uses Disk I/O and the same order; the unused Block I/O catalog entries are removed (zh-TW keeps its translation under the new key).

Co-authored-by: dengliu <[email protected]>
2026-12-05 07:22:57 +08:00
Ali Atliтаaliatli bb628998cc fix(vim): end the command after an <Action> mapping (#8132)
A keyToEx mapping such as `nnoremap gd <Action>(GotoDeclaration)` ran its Ex command without clearing the input state, so the typed keys stayed in the Vim status and the destination editor drew the half-height pending cursor until the next command. The mapped Ex command now ends the command the same way the `:` prompt does. Covers every keyToEx mapping (<Action>(...), :action ...<CR>, :w<CR>-style).

Closes #8128

Co-authored-by: aliatli <[email protected]>
2026-12-05 07:17:14 +08:00
Deng Liuтаdengliu 72aa411d2b feat(services): add aggregate 2x2 resource charts to Docker Compose Dashboard (#8125)
The Compose project Dashboard gets a Project Resource Usage grid under its Services table: CPU, memory, disk I/O and network I/O summed over the stack's containers, reusing the container charts and fed by the existing 3-second stats poll (no extra streams). Scrubbing the charts shows each service's stats at that moment in the table above, I/O rates are computed per container before summing, and memory bars of uncapped stacks scale by each service's share of the stack.

Co-authored-by: dengliu <[email protected]>
2026-12-05 05:12:20 +08:00
l0ng-ai d1925ada22 feat(endpoints): list Spring routes a controller inherits from its interface (#8129)
A controller implementing an interface that carries the request mappings (an OpenAPI-generated OwnersApi) declares none itself, so Search Everywhere's Endpoints tab found nothing for it. Controller methods without a mapping now take the one of the same-named interface method, under the controller's class-level @RequestMapping (else the interface's), with the interface's parameter annotations and constants resolved in the interface's file. The route scan also reads interface files and the build's generated sources (target/generated-sources, build/generated next to a build file), which the VCS usually ignores.

Fixes #8110
2026-12-05 05:08:12 +08:00
Deng Liuтаdengliu 1eb91d4cef feat(services): add live 2x2 container resource charts to Docker Dashboard (#8123)
The container Dashboard's Resource Usage rows showed only the last 3-second docker stats reading, so spikes, memory growth and I/O bursts were invisible. They are replaced by a live, synchronized 2x2 grid of CPU, memory, disk I/O and network I/O charts fed by a new docker_container_stats_stream command (Engine API stats stream, falling back to streaming docker stats). A toolbar picks the 1/5/15-minute window, rate or total I/O, auto or limit memory scaling, and pauses or clears; hovering or the arrow keys move one crosshair across all four charts, and the last session's history stays visible after the container stops. Adds the --chart-series-secondary token.

Co-authored-by: dengliu <[email protected]>
2026-12-05 04:53:02 +08:00
Mark Renier B. Fostanesтаmrfost07 3b00295036 fix(terminal): hide the extra native scrollbar during resize (#8030)
While the terminal panel was resized, xterm's background viewport asked for a native vertical scrollbar next to xterm's own scrollback slider, so two scrollbars showed. Native overflow on that layer is now hidden; the slider and wheel scrolling keep working. Covered by a Playwright regression in e2e/terminal-ui.spec.ts.

Fixes #8001

Co-authored-by: mrfost07 <[email protected]>
2026-12-05 04:39:57 +08:00
RuyimgByCN 979d19d066 feat(plugins): add database granular context menus and open-console/table APIs (#8121)
Plugin API 1.21 adds Database tool window context menus for data sources, schemas/databases and columns next to database.table.context, each item receiving the selected nodes, and database.open-console / database.open-table-data, which open the IDE's Query Console (SQL filled in, not run) or a table's data grid from a command the user invoked, after checking the source exists and the database capability is granted. The plugin UI reaches the Database feature through a new DatabaseService in the workbench contributions rather than importing it. Includes SDK methods and MockHost helpers, a fixture plugin with a host integration test, UI tests, regenerated bindings, rebuilt plugin components and README notes.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-05 04:29:49 +08:00
RuyimgByCN 42ba15665b feat(plugins): add run.output events and console link rules (#8118)
Plugin API 1.21 adds ui.set-console-links: regex rules (validated like console highlight rules) that make matches in Run and Debug console output clickable and run one of the plugin's declared commands with { text, line, argument }; built-in file and URL links win where they overlap. It also adds the run.output capability: plugins subscribed to run-output receive the output of runs and debug sessions started in trusted projects, in chunks of at most 16 KiB, and nothing is wrapped while no plugin subscribes. Includes SDK types and MockHost support, a fixture plugin with a host integration test, regenerated bindings, rebuilt plugin components, the capability's description in the text catalog, and a README section.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-05 03:54:28 +08:00
RuyimgByCN 65e243f5fc feat(plugins): add code.semantics read-only LSP queries (#8117)
Plugin API 1.21 adds the low-risk code.semantics capability: Project::lsp_definition, lsp_type_definition, lsp_implementations, lsp_references (capped by a limit), lsp_hover_info and lsp_document_symbols query the running language servers, also for read-only jdt:// documents. Queries need a trusted project, documents are opened through the ref-counted document store and released afterwards, and locations outside the project's roots are dropped. Includes the SDK methods and MockHost helpers, a fixture plugin with a host integration test, rebuilt plugin components, the capability's description in the text catalog, and README entries.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-05 03:30:06 +08:00
84ae5bb179 fix(windows): open every auxiliary window with keyboard focus in its content (#8113)
A diff opened with Show Diff in New Window came up with nothing focused, so the first F7 / Shift+F7 did nothing until a click; the comparison window's file tree took no keys either. installInitialFocus now runs for every auxiliary window: it tries focus candidates ([data-autofocus], editor hosts, trees, grids, lists, editor text) until one accepts focus, restores focus when the focused content is replaced (the next diff), skips disabled, hidden and inert content, and stops once the user acts. The diff window's body forwards focus to the diff editor and the comparison tree is marked as its window's focus target.

Also forgets a closed window's cached menu state.

Refs #7250. Supersedes #7282.

Co-authored-by: albince-mi <[email protected]>
Co-authored-by: arookieofc-ai <[email protected]>
2026-12-05 02:39:21 +08:00
f49302d365 fix(windows): stop menu items doing nothing in diff and other auxiliary windows (#8112)
Auxiliary windows (diff, comparison, editor, Sync with Deployed) boot a fixed set of features, so application actions they never register looked enabled in the menu but did nothing, some key equivalents were dropped because the page appeared to decline them, and Sync with Deployed had no menu bridge. Application actions now run in the project window (raised when it shows their result), Toggle Full Screen stays in the focused window, and menu enablement is cached per window so parent-routed items follow the destination window's state.

Supersedes #7280.

Co-authored-by: albince-mi <[email protected]>
Co-authored-by: arookieofc-ai <[email protected]>
2026-12-05 02:38:47 +08:00
35f525dbde fix(windows): let ⌘` reach diff and other auxiliary windows (#8111)
Next / Previous Window only stepped through project windows, and auxiliary windows did not register the actions, so a diff opened with Show Diff in New Window could never be reached or left with the keymap. windows::cycle now steps through every open window, each project window followed by its shown auxiliary windows; auxiliary windows register the actions and route the menu item to the backend cycle, while project windows keep it in their own page.

Supersedes #7279.

Co-authored-by: albince-mi <[email protected]>
Co-authored-by: arookieofc-ai <[email protected]>
2026-12-05 02:37:28 +08:00
RuyimgByCN 24b00c3db1 feat(plugins): expose resource when keys for projectView, editorTab, and openIn (#8107)
Context-menu items contributed by plugins to projectView.context, editorTab.context and openIn can now test the clicked file in their when clause: resourcePath, resourceFilename, resourceExtname, resourceDir, resourceIsDir and resourceSelectionCount are evaluated on top of the global context keys.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-05 02:27:16 +08:00
l0ng-ai 9e605ee761 feat(agents): group the task list by project in a workspace (#8108)
With several projects in the window, a Group by Project toggle in the Agents tool window header (off by default, remembered) lists the active tasks under their project, in the workspace's order and each in attention order; pinned and custom groups, Archived and Automated stay as they are. Manual reordering is off while grouped, and the per-row project tag is hidden.
2026-12-05 02:20:26 +08:00