Settings › Keymap gains Visual Studio and ReSharper presets (Windows/Linux
and macOS), generated from JetBrains' Visual Studio and ReSharper keymaps
with the same parent chain: Visual Studio builds on the IntelliJ preset of
the OS, ReSharper on Visual Studio. Where a preset gives a key to another
action, inherited bindings of context-free actions on that key are dropped
so the key does one thing.
IDEA_ACTIONS gains 64 standard IDEA action ids (Resume, StepOver, FindNext,
CompileDirty, SwitchHeaderSource, …), which also helps imported IDEA
keymaps and IdeaVim's :action, and imported keymaps based on Visual Studio,
ReSharper or NetBeans now 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]>
* 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 file opened while csharp-ls was still loading the solution never got semantic colours: its only semantic tokens request timed out (a protocol error the plugin ignores), and csharp-ls sends no workspace/semanticTokens/refresh when the load ends. The semantic plugin now also re-requests when a server's long busy spell settles, the recovery signal inlay hints and code lens already use. Server-initiated refreshes and the unavailable backoff are unchanged.
Closes#8052
Co-authored-by: Inf1mum <[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]>
Rearrange Code could move a method starting with *, in or instanceof to the top of a class right below a field with no semicolon, where it continued the field's initializer (x = 1 then *gen() {} reads as 1 * gen()). The same happened when the only semicolon ending the field sat on a comment line that moved with the method. Such classes are now left alone; a semicolon or static block above, or a first method that stays first, still lets the class rearrange.
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]>
ParseContext.changes() in @codemirror/language handed the parent context's skipped array to the child whenever there was nothing to remap, so a speculative state.update() (paste reindent, Shift+Enter, Move Line, Complete Statement) let StreamLanguage's skipUntilInView push a range past the live document's end into the live state's array. Applying the real transaction then threw RangeError in ChangeSet.mapPos and broke the editor for .properties and other StreamLanguage files longer than the viewport. The patch gives every child context its own skipped array.
Closes#7989
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]>