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]>
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
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]>
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]>
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]>
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]>
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]>
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]>
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]>
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]>
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.
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]>
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]>
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.
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]>
* 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]>
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
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]>
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]>
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]>
* 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
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]>
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
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]>
* 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
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]>
* 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]>
* 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]>
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.
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
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]>
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
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.
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]>
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]>
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]>
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]>
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]>
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]>
[[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]>
While a reply streamed, the conversation followed the end only after a React render or when the stream itself resized, so a row that grew later on its own (a highlighted code block, a laid-out diagram or image) left the end of the reply hidden under the composer. The rows' ResizeObserver now brings the view back to the end while it follows the end and nothing else moved the offset: not while the reader scrolls up, drags, uses Find, has fold slack below, or while the tab is hidden.
New and Paste on a compacted folder row (TEST/123) always target the deepest folder, so a folder in the middle of the chain could not be reached from the tree. A Show Individual Folders entry in the context menu of a compacted row now shows each folder of that chain as its own row for the current session, so an intermediate folder can be selected for New, Paste and the other folder actions. The compacted row keeps targeting its deepest folder, and the Compact Middle Packages option is unchanged.
Fixes#8022
Co-authored-by: ambersariya <[email protected]>
Running a Maven goal or Gradle task from its tool window went through run.runConfig with a temporary configuration, and adoptTemporary always selected it, so the just-run goal replaced the configuration selected in the Run Configurations dropdown. The tool window now passes select: false and adoptTemporary only selects when asked; editor and gutter runs still select their temporary configuration.
Fixes#8016
Co-authored-by: Inf1mum <[email protected]>
The modal Commit Changes dialog now has a Changelist chooser above the changes. It starts at the active changelist; the tree shows that list's changes plus unversioned files, and only that list's changes are committed, so a file ticked in another changelist can no longer slip into the commit. A legend below the tree counts the included files as added (new + unversioned), modified and deleted. The non-modal commit view is unchanged.
Refs #7433
Co-authored-by: wildcatDownstairs <[email protected]>
Linked worktrees of the repository at the project root that live below the root (any path, e.g. some/folder or .wt/topic) are now detected from <common_dir>/worktrees/*/gitdir and marked excluded, so they stay out of indexing, the file watcher, Find in Files and the Commit module list. Worktrees of other repositories, submodules, a linked worktree opened as the project root, attached workspace members and Cancel Exclusion are unaffected.
Co-authored-by: dengliu <[email protected]>
The Find shortcut did nothing in Markdown Preview Only. It now opens the console find bar above the preview (Match Case, Words, Regex, match counter, previous/next), searches the rendered text including inline formatting and offscreen matches, follows the configured Find shortcuts, and Escape returns focus to the preview. The source editor keeps its own Find in split and editor views.
Co-authored-by: faysou <[email protected]>
The repository scan skips symlinks, so a file opened through a file symlink or a symlinked directory whose target lies outside the registered Git roots had no Git Blame or change markers, even when Git tracked the target. Read-only editor commands (blame, line hunks) now use the target's repository, discovered with the restricted read policy and never registered for status or Commit; excluded mappings and a disabled Git integration are honoured. The editor probes once per open file whether the link has committed history: only then do Annotate and the markers apply, and ordinary files in projects without Git make no further backend calls on edits.
Co-authored-by: igallart <[email protected]>
The Commit tool window meant to draw only the active changelist in bold, but the stylesheet only gave inactive lists font-weight 400, the weight every group label already has, so the active list looked like the others. Lists also appeared in creation order. The active list is now bold and comes first, the other lists follow by name in natural order, and Unversioned Files stays last.
Refs #7433
Co-authored-by: wildcatDownstairs <[email protected]>