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]>
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]>
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]>
Sync, help:evaluate, dependency:build-classpath and source downloads used the newest cached maven-help-plugin / maven-dependency-plugin, or a pinned 3.5.1 / 3.8.1, whatever Maven ran them; those need Maven 3.6.3 (help 3.6.0 needs 3.9.0), so with Maven 3.3.9 every reload failed. The Maven version now comes from the wrapper's distributionUrl or the installation's maven-core jar; cached plugins whose descriptor requires a newer Maven are skipped, and the pinned fallback is the newest release that Maven can load. An unknown Maven version keeps the previous choice.
Fixes#8114
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 the optional completion-resolve-provider export: completion returns items with an opaque data token, and resolve is called when the user focuses one. As with LSP completionItem/resolve, the resolved detail, documentation and additional edits are filled in while the label and what the item inserts stay as listed. Plugins without the export keep the existing completion providers. Includes the SDK trait and registration, a fixture plugin with a host integration test, 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]>
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]>
Plugin API 1.21 adds the optional rename-provider export (wit/rename.wit, world plugin-rename). A plugin declaring the rename provider kind answers prepare-rename where the language server has no target, and its rename edits are merged into the server's workspace edit (overlapping edits dropped) or form the whole rename when no server handles the file. Edit paths must resolve inside the project's writable roots; calls use the command budget and honour cancellation. Includes the SDK trait and registration, a fixture plugin with a host integration test, rebuilt plugin components, and a README section describing the host policy.
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]>
The Linux install section now states the minimum (glibc 2.35 and WebKitGTK 4.1, as in Ubuntu 22.04 and Debian 12 or later), explains that the AppImage bundles WebKitGTK but not glibc or libstdc++, and names the unsupported distributions (RHEL 9 and rebuilds, Debian 11 and older derivatives).
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.
Settings › Keymap gains Visual Studio and ReSharper presets for Windows/Linux and macOS, generated from JetBrains' Visual Studio and ReSharper keymaps with the same parent chain (Visual Studio on the OS's IntelliJ preset, ReSharper on Visual Studio). Inherited bindings of context-free actions are dropped where a preset gives their key to another action. IDEA_ACTIONS gains 64 standard IDEA action ids, which also helps imported IDEA keymaps and IdeaVim's :action, and imported keymaps based on Visual Studio, ReSharper or NetBeans pick that preset as their parent.
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]>
Opening the New Agent Task page froze the UI when a native agent such as Codex had several installs on PATH: agent_refresh_models was a synchronous command, so it resolved provider specs and ran <agent> --version for every candidate on the main thread, while agent_commands, agent_probe and catalog completion repeated the same blocking lookup on Tokio workers. agent_refresh_models now runs on the blocking pool, the remaining provider_specs / resolve_for_launch / catalog requests move to spawn_blocking, and newest_install probes candidates in parallel with a per-binary cache (canonical path, mtime, size, inode; 60 s) and single-flight deduplication.
New Project gains an Odin entry. Odin has no init command, so the generator writes main.odin, an ols.json and a .gitignore, and checks that odin is installed. .odin files get a file icon (light and dark), and New Project uses the Odin logo from Simple Icons, credited in THIRD_PARTY_LICENSES.md.
Co-authored-by: christerso <[email protected]>
.odin files open as Odin: highlighting from tree-sitter-odin, a Structure view from a new outline query (every name of a multi-name field listed), and OLS as the language server, installable from Language Servers settings. OLS release archives name the program after the platform (ols-x86_64-pc-windows-msvc.exe), so the installer also locates ols-*.
Co-authored-by: christerso <[email protected]>
New Project › PHP gains CakePHP, generated with composer create-project cakephp/app (PHP 8.2 or later and Composer required).
Co-authored-by: arookieofc-ai <[email protected]>
New Project › PHP gains CodeIgniter, generated with composer create-project codeigniter4/appstarter (PHP 8.2 or later and Composer required).
Co-authored-by: arookieofc-ai <[email protected]>
New Project › JavaScript gains Fastify, generated with the official create-fastify package, with the package manager choice and the optional dependency install the other Node generators have.
Co-authored-by: arookieofc-ai <[email protected]>
A Java intention copies the text a string concatenation at the caret builds, with ? for each operand that isn't a literal and a line break where the operands continue on a new line; on a lone string literal or text block it copies the literal's value (escapes interpreted, text block indentation removed). It reads the syntax tree, so it is offered before jdtls is ready.
In a locale that lacked a sentence, txTemplate matched the English source against loose templates such as '{count} class' and translated only the literal part, so hints and notifications showed half-translated text. A text that is a key of text/en.json and missing from the locale now comes back in English with no template matching (decided in #8047); runtime text that is not in the catalog still matches templates, and the same check runs before text built by a tx tag is rebuilt. text/en.json is loaded with any other locale; if it fails to load, translation behaves as before.
Co-authored-by: audichuang <[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]>
pi-acp sends its startup info as an agent message right after session/new, before the prompt. The timeline appended the reply to that entry, so Generate Commit Message with Agent put the startup info into the commit message. The timeline is now sealed when session/prompt is sent, so the reply's text (agent or thought) starts an entry of its own.
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]>
jdtls exited with code 13 on every start when its workspace's saved resource tree no longer matched itself (ResourcesPlugin.start → SaveManager.restore → ObjectNotFoundException). Before each start, if the last session in the workspace's .metadata/.log failed inside SaveManager.restore, the saved resource tree (.metadata/.plugins/org.eclipse.core.resources) is removed so jdtls imports the projects again; JDT's index is kept.
Fixes#7908
* 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]>
With Fill indent levels on, each stripe started two pixels left of the
indent step it marks: the offset that keeps a 1px guide off the glyph
edge was applied to the step-wide stripes too, so a stripe ended short
of the code and the first one ran into the line's left padding.
The stripes were also painted on the guide layer above the text, which
is right for a thin line but tints a selection and the caret row across
the indentation. As a row background they belong below the selection
layer, where the theme comment already says they are.
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]>