Графік комітів
3109 Коміти
Автор SHA1 Повідомлення Дата
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
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
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
Jason HanтаJackzigen 8f1d2afb0c fix(github): add a root node to the pull request changes tree (#8101)
The pull request changes tree had no node for the whole change set, so F7 walked only from the file first opened and root dotfiles sorted before it were reachable only with Shift+F7. The tree now has the repository's node on top (named after the repository folder, with the file count beside it), in both groupings; selecting it selects every change, so Show Diff walks the whole pull request and the viewed toggle covers every file. An empty pull request shows no root row.

Co-authored-by: Jackzigen <[email protected]>
2026-12-05 02:01:20 +08:00
faysouтаfaysou 632ee77580 perf(project-tree): avoid pairwise library root comparisons (#8085)
Building the Project tree model counted, for each library root of a group, how many sibling roots hold it by comparing it with every sibling. SDK groups with thousands of roots made that quadratic and delayed expanding even small folders. Nested roots are now counted by looking up each root's normalized directory prefixes, with the same result (same-path roots with a different spelling, trailing separators and Windows paths included).

Co-authored-by: faysou <[email protected]>
2026-12-05 01:10:26 +08:00
l0ng-ai f5180392f2 fix(vcs): focus the changes tree when the Commit tool window opens (#8097)
Opening the Commit tool window put the focus in the commit message, which was the window's activation target. The changes tree now takes the activation focus; Commit… (Cmd/Ctrl+K) requests the message through the commit store, and the message keeps the activation focus until it loses focus. The modal Commit dialog still focuses its message.
2026-12-05 01:02:28 +08:00
Serbin Yaroslavтаwislert 3278eab0c8 fix(viewers): zoom the image viewer a step per Ctrl+wheel notch (#8089)
One Ctrl+wheel notch could zoom the image viewer from 94% to 693% on Windows: the handler multiplied the zoom by exp(-deltaY * 0.01) with no per-event limit, so a large pixel-mode notch zoomed several times over. The wheel curve the Mermaid preview already used (about 15% a notch, at most x1.5 or /1.5 per event, trackpads continuous) is now shared as wheelZoomFactor and used by the image viewer and the database ER diagram, which had the same formula.

Co-authored-by: wislert <[email protected]>
2026-12-05 00:56:28 +08:00
l0ng-ai 71bfc70996 feat(github): browse and work on repository issues (#8077)
* feat(github): browse and work on repository issues

* fix(github): fix issue browse assignee filter, list keyboard navigation, and edge cases
2026-12-05 00:54:51 +08:00
tongkangwangтаl0ng-ai a2498f096a fix(code-insight): stabilize Show Usages popup sizing and placement (#8080)
* fix(code-insight): stabilize Show Usages popup sizing and placement

The popup used a fixed 680px width and 14-row limit. Restoring a saved
size also prevented it from adapting to incoming results. Follow the
IntelliJ popup sizing and placement flow while limiting the filename
column to 25% of the popup width to leave space for code.

Sizing and columns:
- Restore both saved dimensions while waiting for results. Once results
  arrive, cap the natural width at the saved width and calculate the
  height from content. Only preview mode also uses the saved height.
- Measure filenames, line numbers and code with the actual fonts, with
  a 500px natural width limit per column. Fit short filenames to their
  content and ellipsize long names at 25% of the row width. Reserve 5ch
  for line numbers and at least 8em for code, which fills the remaining
  space.
- Include the filename cap, code minimum width, header, controls, borders
  and gaps in the natural popup width. Do not widen the popup for text
  that the filename column will clip.
- Cache maximum natural widths during streaming and filtering. After a
  manual resize, keep updating filename measurements but stop resizing
  the popup automatically until it is reopened or preview is toggled.
- Show up to 30 rows normally or 20 with preview. Leave half a row when
  the list scrolls, and let the list fill the available height.
- Preserve the 360x160 minimum size and existing storage keys. Fit the
  viewport when it is smaller, and save the actual size on close.

Placement and preview:
- Open below the caret. When it is outside the visible editor, use a
  point one third across and halfway down the visible editing area.
- Add optional fitToScreen placement to Popup. Keep the fitted position
  when content shrinks, and move only when necessary to stay visible.
  Reset placement when the anchor changes or preview rebuilds the popup.
- Reuse the shared split panels with a default 60/40 list/preview split,
  persisted proportions, mouse dragging and keyboard adjustment. Set the
  preview minimum to five actual editor lines and update it after font
  or editor geometry changes.
- Preserve the preview's pixel height while manually resizing the outer
  popup. Wait for the splitter's final measurement before restoring it.
- Add onResizeStart on the first pointer movement. Clicking the resize
  handle alone does not lock preview height. Toggling preview clears
  saved dimensions, measurements, manual size and drag position, and
  cancels pending resize callbacks.
- Add a translated accessible label to the preview divider and preserve
  its keyboard controls alongside usage-list navigation.

Verification:
- 17 Playwright layout and demo tests passed in local Google Chrome,
  covering both themes, the 25% cap, narrow windows, filtering, saved
  dimensions, position stability, preview, keyboard controls and resize.
  Both filename-cap regression cases failed before the fix and passed
  afterward.
- Wait for fonts and entry animations before dragging the one-pixel
  divider or measuring dimensions. Account for popup growth when the
  search caption changes while checking the filename cap.
- 49 Popup and Show Usages unit tests passed on the final version.
- pnpm typecheck and pnpm build passed, including Safari 15.4 checks.
  Changed-file oxlint, oxfmt and git diff --check passed.
- An earlier full test run had 20,483 passed, 65 skipped and two existing
  translation-check failures in color-preview/varColors.ts and
  vcs/rebase.tsx. Earlier full lint and knip checks passed. Full format
  checking failed on an existing untracked .workbuddy memory file.
- Before/after screenshots for both themes and narrow windows, plus
  interaction recordings, are retained in temporary verification folders.
  Tests used browser fixtures; the native Tauri webview was not tested
  because no Tauri MCP bridge was available.

* fix(code-insight): restore focus across preview toggle, avoid width ratchet, and clean up cancelled resizes

---------

Co-authored-by: l0ng-ai <[email protected]>
2026-12-05 00:29:34 +08:00
l0ng-ai 494d1a9bf5 fix(plugins): keep plugin gutter actions and markers coming while navigation indexes (#8087)
Plugin language visuals, plugin colours, server code lenses and plugin line markers restarted a 300-400 ms debounce on every trigger and threw away the request in flight. While a project indexes, plugin navigation notifies about every 250 ms, so the request was never sent or its answer was always dropped: a new editor never got its gutter actions. A shared CoalescedRefresh now runs at the latest after a maximum wait and only drops a result older than one already shown.

Fixes #8056
2026-12-05 00:25:58 +08:00
RuyimgByCN 417ecfed50 perf(plugins): batch navigation indexing, skip empty edges, and isolate bad files (#8013)
Plugin navigation indexing sent 8 files per IPC call, invalidated each batch first and slept 20 ms between batches, and one invalid document failed its whole batch. The frontend now sends 128-file batches (active editors first) without the separate invalidation; the host loads them, calls the plugin in chunks of 16 so interactive requests interleave, skips and evicts invalid or oversized documents one by one, and does not store documents without edges, so they no longer take graph slots. A full graph still skips uncovered files before running the plugin. Discovery stays at one graph's 20,000 files, so the covers-N-of-M notice stays true. Sparse 20k files: 780 ms → 373 ms indexing, same navigation results.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-05 00:06:00 +08:00
Serbin YaroslavтаClaude a5473e896a feat(color-preview): open a resolved variable's declaration from its gutter swatch (#8075)
Clicking the swatch of a var(--name) usage opens the declaration its color
comes from (the variable written at the usage, the document's own declaration
first), also in read-only editors. Literal swatches keep the color picker;
color functions with var() inside stay display-only.

Refs #8017

Co-authored-by: Claude <[email protected]>
2026-12-05 00:00:29 +08:00
LU XIANGRUIтаwildcatDownstairs 8483c355c8 fix(workspace): remove a workspace member whose folder is gone (#8069)
The Project view's context menu returned early for an unavailable path, before the branch that offers Remove from Workspace / Detach Project for a member root, so a member whose folder had moved or been deleted could not leave the workspace. The member entry now comes from one helper used by both the available and the unavailable branch.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 23:57:39 +08:00
audichuang 8d2d2d27e6 fix(code-insight): keep Show Usages' scope chooser on Project Files while that search takes a while (#8064)
* fix(code-insight): keep Show Usages' scope chooser on Project Files while that search takes a while

* test(code-insight): Show Usages widens when invoked again during the chooser's slow Project Files search
2026-12-04 23:56:58 +08:00
LU XIANGRUIтаwildcatDownstairs 72db7ecb97 perf(debug): share one lldb-dap server across Xcode debug sessions (#7442)
Every Xcode attach started a fresh lldb-dap, which parses the symbol tables of the ~550 system libraries an iOS app loads before reaching a breakpoint. Xcode attaches on macOS now reuse one lldb-dap server (keyed by working directory, lldb-dap binary and environment, over a private Unix socket) that keeps the parsed modules; it ends after 10 minutes without a session, when the IDE quits, or when another configuration replaces it. Overlapping attaches and custom adapter invocations keep their own process. Measured on an iOS Simulator: attach to stopped-with-frames 1.74 s before, 0.49 s with a warm server, 1.56 s cold.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 23:55:28 +08:00
l0ng-ai 406cf4e474 fix(debugger): keep the editor still while stepping when the execution line is on screen (#8076)
Each stop selected the top frame through openFile with a selection, which always scrolled the line to the centre of the editor, so stepping through visible code moved the text on every step. OpenOptions gains scroll: "visible" (leave an on-screen selection where it is, centre an off-screen one); the debugger uses it for the top frame on each stop and for Show Execution Point. Selecting another frame and Jump to Source still centre the line.

Fixes #7963
2026-12-04 23:39:41 +08:00
Vadim LazukтаInf1mum 55c9787996 feat(color-scheme): C# interface, enum, struct, type parameter and predefined type colours (#8063)
csharp-ls sends interface, enum, struct and typeParameter as their own semantic token types, but the generic mapping folded them all into the class-name colour, and predefined types (int, string, bool…) also showed in the class colour. The C# Colour Scheme page gains Interface name, Enum name, Struct name and Type parameter (inheriting Class name) and Predefined type (inheriting Keyword); a new C# semantic module tags the tokens, recognising predefined types by their text. The preview shows each new attribute.

Co-authored-by: Inf1mum <[email protected]>
2026-12-04 23:33:19 +08:00
l0ng-ai 5b1e4a31f2 fix(remote-dev): show remote project loading inside its new tab (#8055)
* fix(remote-dev): show remote project loading inside its new tab

* fix(remote-dev): preserve active remote session on cancel and style grouped Welcome tabs
2026-12-04 23:32:03 +08:00
LU XIANGRUIтаwildcatDownstairs f3582403f3 fix(svn): show each working copy's svn update output in the console (#8065)
Update Project over several working copies only showed the first one's output: every repository's vcs_remote call shared one Tauri channel, and a channel stops delivering once its command ends. Each command now gets its own channel (also for the multi-repository Git branch update). The Subversion backend streams svn update's own lines (Updating, the U/A/D/C/G file lines, Updated to revision N) instead of a single summary line.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 23:21:44 +08:00
Michał Dobaczewskiтаl0ng-ai 4aeeb4d883 feat(agents): duplicate a built-in agent to run it with its own configuration (#8048)
* feat(agents): duplicate a built-in agent to run it with its own configuration

* fix(agents): preserve instance launch command, login secrets, provider cache, and reactive icons

---------

Co-authored-by: l0ng-ai <[email protected]>
2026-12-04 23:19:46 +08:00
ae9804bc8b feat(vcs): add option to filter Git Log on single click in Branches pane (#8040)
* feat(vcs): add option to filter Git Log on single click in Branches pane

* fix(vcs): do not update branch filter on context-menu right click

---------

Co-authored-by: LU XIANGRUI <[email protected]>
Co-authored-by: l0ng-ai <[email protected]>
2026-12-04 23:19:31 +08:00
faysou 644a380616 perf(project-tree): reuse file rows when expanding folders (#8046)
Reuse the file rows from unchanged directory listings when another folder opens. Recompute rows when filtering, sorting, or the listing changes, and keep compact folder chains dependent on their descendants.
2026-12-04 23:19:24 +08:00
l0ng-ai 4a41b14992 fix(database): select the matching cell when navigating into a CSV file shown as Data (#8067)
Find in Files, Go to Line and other navigation into a CSV file on its Data tab moved the caret in the hidden Text editor only. The table now maps the revealed offset to its record and field the way the CSV parser reads the file (quotes, CRLF, blank lines, header row), scrolls to that cell wherever local sorting put it, selects it and takes the focus; a row hidden by a filter is left alone.

Fixes #8043
2026-12-04 23:11:43 +08:00
audichuang 551328c901 fix(code-insight): say no usages were found when a search in the open Show Usages popup ends with none (#8058)
When a new search in the open Show Usages popup found nothing (e.g. switching the scope to Project Files for a symbol used only in libraries), the list said "No usages match the access filters" with no filter set. It now says "No usages found" when the search found nothing, and keeps the access-filter text for results the filters hide.

Co-authored-by: audichuang <[email protected]>
2026-12-04 23:04:08 +08:00
l0ng-ai a33c46465b fix(settings): use theme-aware Project Structure icons 2026-12-04 22:59:23 +08:00
l0ng-ai b747e81cb6 fix(lsp): offer the kotlin-lsp update when a running build expires (#8059)
A kotlin-lsp build past its date only crashes when it starts. A running one reports that its license expired, keeps working for a short grace period, then parks and stops answering, so Go to Declaration silently did nothing and no update was offered. A license-expiry notice in window/showMessage or window/logMessage now marks the running instance; its Ready/Busy status says the build expired, and the UI offers the same update as for a crashed expired build, once per instance. The "renew or activate a license" notice is no longer shown as is.

Fixes #8033
2026-12-04 22:47:03 +08:00
l0ng-ai 24fdbb54db fix(i18n): translate the Edit Commit Message warning title and allow the var() swatch tooltip (#8057)
textCatalog.test.ts failed on main: the pushed-history warning of Edit Commit Message passed an untranslated "Edit commit message" literal as its title, now the action's catalog title "Edit Commit Message"; and the color gutter's var(--name) = value tooltip is CSS shown as written, now listed in TEMPLATES_AS_WRITTEN.
2026-12-04 22:35:56 +08:00
LU XIANGRUIтаwildcatDownstairs 535f7584ee fix(maven): show default-active profiles in grey and pass explicit -P choices (#8042)
Profiles active by default (activeByDefault in a POM or settings.xml, or listed in settings.xml activeProfiles) now show a grey check, and a profile the user checks explicitly is always passed in -P: before, checking a default-active profile next to another one left it out of -P, so Maven deactivated it. A click goes from the default to explicitly disabled, then explicitly enabled, then back to the default; an inactive profile goes enabled and back. activeByDefault is read case-insensitively, declarations of one profile in parent, module and settings.xml are merged, and profile ids are shown verbatim instead of through the text catalog.

Closes #8005

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 22:24:17 +08:00
audichuang 49e26d1de1 fix(code-insight): hide the usage count while Show Usages is still searching with nothing found (#8041)
Show Usages opens 300 ms into a slow search, before anything is found, and its header then read "0 found" as if the search had finished empty. The count is hidden while the search runs with no results; the header spinner and "Searching for usages…" show progress, and the count appears once usages arrive or the search ends.

Refs #6823

Co-authored-by: audichuang <[email protected]>
2026-12-04 22:10:49 +08:00
LU XIANGRUIтаwildcatDownstairs 8fefbc1c82 fix(vcs): allow editing commit message of merge commits (#8037)
Edit Commit Message refused any range with a merge commit because it validated the range like an interactive rebase, and the backend reword kept only one parent. Rewording never changes trees, so it now keeps every parent of the commit and rewrites its ancestry-path descendants with their parents remapped, which preserves the history graph; the index and working tree stay untouched. Works for a merge commit at HEAD (right after a merge) and earlier on the current branch; commits outside the current branch and protected history are still refused.

Closes #7991

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 22:05:40 +08:00
Vadim LazukтаInf1mum 277464e93b feat(color-preview): resolve var() usages and detect modern color syntaxes in the gutter (#8026)
The color gutter now shows a swatch for every color on a line, side by side in source order: literals as before, plus each var(--name) whose value resolves to a color through the project's custom properties (web_css_variables, the same data the var( completion uses), following nested references and fallbacks with a depth limit and cycle check. oklch(), oklab(), lch(), lab(), hwb(), color() and color-mix() are detected as colors (swatch only). A color function with var() inside takes the project's values instead of the IDE's own custom properties, and shows no swatch when one doesn't resolve.

Closes #8017

Co-authored-by: Inf1mum <[email protected]>
2026-12-04 21:35:17 +08:00
Vadim LazukтаInf1mum a6e9c79c96 feat(editor): fill indent levels under rainbow indent guides (opt-in) (#8018)
Adds Editor > General > Appearance > Rainbow indent guides > Fill indent levels (off by default). With it on, each indent level's whitespace is tinted in its rainbow colour at low strength, including code lens rows and blank lines; the caret's and matched-brace levels are highlighted the same way. The setting is declared in the backend settings schema so it can be saved.

Closes #7883

Co-authored-by: Inf1mum <[email protected]>
2026-12-04 21:25:24 +08:00
Vadim LazukтаInf1mum ff9a48eb0e feat(vcs): open branch and revision comparisons as Compare tool window tabs (#8021)
Compare with Branch… / Compare with Revision… on a folder or multi-selection, two-commit Compare Versions from the Git Log, the branches' Show Branch Diff and Show Diff with Working Tree now open one closable, titled tab per comparison in the Compare tool window instead of a separate comparison window. Only the active comparison loads; closing the last tab, or switching projects, removes the stripe button, which shows the number of open comparisons as its badge. The tabs use the shared Tabs strip (hidden-tabs dropdown, Close Tab / Close All Tabs / Close Other Tabs). Compare with Current keeps the two-pane branch comparison editor and a single file still opens its diff tab.

Closes #7813

Co-authored-by: Inf1mum <[email protected]>
2026-12-04 21:08:45 +08:00
arookieofc-ai[bot]таarookieofc-ai 67c00a986a feat(plugins): add clone sources to the Clone Repository dialog (#7948)
[[contributes.cloneSources]] (API 1.21) adds an entry to the Get from VCS source list whose required web page lists repositories and hands the chosen one to the dialog with {"op": "clone-url", "url": …}. The page is served and messaged like other plugin web UI under the key cloneSources/<id>; the dialog fills its URL and directory and git only runs what the user confirms. The standalone Get from VCS window registers only this contribution point. plugin_web_page and plugin_view_event now also run in projectless windows (outside_restricted); Restricted Mode still runs no plugin UI or code. Docs list the point under API 1.21.

Fixes #5572

Co-authored-by: arookieofc-ai <[email protected]>
2026-12-04 20:46:11 +08:00