## Summary
- Add manual drag-and-drop reordering for tasks within `Pinned`, custom groups, and status groups (`Running`, `Ready to Review`, `Archived`, etc.), with before/after insertion indicators and edge auto-scrolling.
- Support dropping tasks onto exact slots across compatible sections (pinning, moving into custom groups, or returning pinned/grouped tasks back to their matching status group), while rejecting incompatible status groups and disabling row reordering while searching.
- Support drag-and-drop reordering between custom group headers (`GROUP_DRAG`).
- Persist per-section manual order in `localStorage` (`TaskOrganize.order`), keeping manually ordered tasks stable across activity updates while placing newly added tasks at the top of the section.
- Open tasks on click release instead of `mousedown` so starting a drag does not open the dragged task's chat history, and allow initiating drag from anywhere on the 24px row.
## Testing
- `vitest run src/features/agents/organize.test.ts src/features/agents/AgentsView.test.tsx src/features/agents/unread.test.tsx` (90 passed)
- `oxlint` & `oxfmt` clean on all changed files
- `tsc --noEmit` passed
Made with [Cursor](https://cursor.com)
## What and why
Reordering project window tabs in `WindowGroupTabs` previously gave almost no visual feedback: the dragged tab only dimmed in place (`opacity: 0.55`) with no drag ghost, no drop-target indicator, no grabbing cursor or `Escape` cancel, and it waited for the backend IPC round-trip before updating the tab order.
This switches `WindowGroupTabs` onto the shared pointer drag-and-drop pipeline (`startPointerDrag`, `registerDropTarget`, and `dropIndex`) matching tool window stripes and tab strips:
- Shows a translucent ghost following the pointer (dimming when outside the tab bar) while keeping the source tab dimmed in place (`opacity: 0.4`) and hiding hover close/detach buttons during the drag.
- Marks the exact drop target with a 2px `var(--accent)` vertical insertion line (omitted on adjacent no-op slots).
- Optimistically applies the new tab order on drop (rolling back via `refreshWindowGroup()` on failure), swallows the trailing `click`, cancels cleanly on `Escape`, and respects `dragRequiresAlt()`.
## How it was verified
- `pnpm vitest run src/workbench/WindowGroupTabs.test.tsx src/platform/windowGroups.test.ts` — 2 test files, 13 tests passed.
- `OPENIDEA_E2E_PORT=1459 pnpm e2e e2e/windowGroupTabDrag.spec.ts e2e/windowGroupTabColor.spec.ts` — 2 Playwright E2E specs passed (both new drag feedback/reorder/cancel coverage and existing tinted-tab hover regression).
- `pnpm typecheck` — passed across all workspace tsconfigs including `e2e`.
- `pnpm exec oxfmt --check src/workbench/WindowGroupTabs.tsx src/workbench/WindowGroupTabs.module.css src/workbench/WindowGroupTabs.test.tsx e2e/windowGroupTabDrag.spec.ts` — passed.
## Review focus
- `projectTabDropTarget` mapping between `dropIndex` (`0..count`) and `reorderedTabs` target indices in `src/workbench/WindowGroupTabs.tsx`.
- `.dropBefore::before` / `.dropAfter::after` styling in `src/workbench/WindowGroupTabs.module.css` alongside the existing tab separator rule.
Made with [Cursor](https://cursor.com)
## Summary
- Add a tri-state "Allow all optional permissions" checkbox (with selected count, e.g. `1/3`) at the top of the plugin install/grant consent dialog when a plugin declares two or more optional capabilities.
- Clicking toggles all optional permissions on/off in one click and automatically updates the high-risk warning state.
- Hide the select-all header when there is at most one optional permission.
- Add translations across all text locale catalogs and unit tests covering indeterminate/checked/unchecked transitions and single-optional hiding.
## Testing
- `vitest run src/features/plugins/__tests__/plugins.test.tsx src/platform/locales/textCatalog.test.ts` (153 passed)
- `oxfmt --check` on all changed files
- `tsc --noEmit`
Made with [Cursor](https://cursor.com)
## Summary
- Remove the `pin` icon from the `Pinned` group header in the Agents task list so it aligns cleanly with the other group headers (`Ready to Review`, `Archived`, and custom groups).
- Clean up the now-unused `icon` prop on `GroupRow` and the unused `IconName` import.
## Test plan
- [x] `pnpm test src/features/agents/AgentsView.test.tsx` (41 passed)
Made with [Cursor](https://cursor.com)
events.subscribe-paths-with-options adds an optional debounce-ms (up to 5 s) that coalesces files-changed deltas on the host, so bursts of edits don't run a plugin's discovery again and again. workspace.project.generation returns a project's state generation, which moves on every file change; FilesChanged carries the project root and generation. Registering run targets or run configurations computed for a superseded generation fails with Error::Stale. A new project-closed event tells subscribed plugins a project closed after its queued events are dropped and its run targets and configurations are withdrawn.
On top of the contributor's work: closing one project no longer cancels a plugin instance's in-flight work for other projects (an instance serves every project; results for the closed one are refused because its generation moved on), the generation is bumped on close, the generation is attached only for plugins declaring API 1.18 so older plugins' registrations are never refused, and the API now ships as part of 1.18 with the components rebuilt.
Closes#4760
Co-authored-by: Akin01 <[email protected]>
[[contributes.dialogs]] declares a package web page shown in a modal IDE dialog with the platform title bar, a declared size (320-1600 x 200-1200) and a title. The plugin's code opens it with views.reveal(id) in the invoking window, with no new capability. The user resizes it (remembered per dialog) and closes it with the close button or Escape, also from inside the page; the page can close it with openidea.dialog.close(). The plugin hears of the close as a closed view event. Dialog ids can't collide with the plugin's view ids.
With overlays (#6046) for non-modal pages, this covers #6012.
Fixes#6012
Read-only diff, merge and revision viewer panes showed the arrow cursor over code text: the
viewer theme made .cm-content selectable but left the body's default cursor. It now sets
cursor: text there, keeping the arrow on scrollbars and gutters.
[[contributes.overlays]] declares a package web page that floats over the workbench at one of nine anchors while its when clause holds. It never takes the keyboard focus when shown (out of the tab order), sits under dialogs, popups and notifications, and can let every click through (interactive = false). The page moves and resizes itself with openidea.overlay.get() / place({ anchor, width, height }); sizes are clamped to 40-800 px. It needs no code and no capability, since the page sees nothing of the IDE.
Overlays are gated on plugin API 1.18.0 (package openidea:[email protected].0, engine, SDK, api_compat, rebuilt components); 1.17 is listed as shipped with 0.1.53.
Part of #6012
Co-authored-by: xirf <[email protected]>
With several roots, Amend loaded the HEAD message of the repository last selected in the branch
widget, log or push dialog, whatever the included files were, and the commit then amended every
included repository with it. The commit to amend is ambiguous there: no message is loaded, and
the typed one amends each repository's HEAD.
Fixes#6149
In the multi-repository Push dialog, clicking a repository row to see its outgoing files also
unticked it, because the row's click toggled the checkbox. A click on the row or its name now
only selects it; the checkbox, or Space on the selected row, includes or excludes it.
Closes#6151
Co-authored-by: Rhombicdodecahedron <[email protected]>
Markdown files above the 5 MiB large-file threshold showed no symbols in Structure: the
large-file outline returned nothing when no language server supplied symbols. Large Markdown
files now get the heading outline from the syntax parser, within its own 16 MiB limit; other
large-file limits stay in place.
Co-authored-by: faysou <[email protected]>
When the Git Log's commits are replaced, the list keeps the first surviving visible row in
place. Finding it searched the new list once per old row with two key strings per comparison,
so a checkout that drops tens of thousands of leading rows cost on the order of 10^8
comparisons on the main thread. Rows are now compared by id and repository directly, and
after about eight full misses the rest are looked up in a repository -> id index. The result
is the same as before (checked against the old loop on random cases).
Co-authored-by: audichuang <[email protected]>
In a project with a root Python build file and a nested JavaScript app (frontend/package.json),
New inside frontend/src offered Python Package: any folder under a Python build file counted as
Python, even inside a root a deeper non-Python build file detected. The innermost claim now
wins; folders outside those roots, and roots a Python build file claimed first, keep Python
Package.
Co-authored-by: audichuang <[email protected]>
A plugin command run without an argument (its shortcut, Find Action) while one of the plugin's views has the keyboard focus gets the selected item's key, the same argument as from that item's viewItem.context menu. Only commands the item's menu offers (with its when clause) get it; nothing selected or focus elsewhere gives none.
Fixes#4759
On Windows a Java debug session stopped in a Spring request showed no frames: with the
project's sourcePaths set, java-debug looks a CGLIB proxy frame's `<generated>` source up
there, Paths.get throws, and the adapter fails the whole stackTrace request. When that
request fails, the frames are now taken one at a time, leaving out the ones the adapter
can't describe. A stack trace failure that remains is logged and shown in Threads &
Variables with a Retry button instead of an empty list.
Fixes#6157
Co-authored-by: wildcatDownstairs <[email protected]>
Manage Projects merged the frontend's recent remote projects (SSH, WSL, Dev Containers)
with the backend's local list, but Open Recent, in the macOS menu bar and the
Windows/Linux title bar menu, read only the local one. The frontend now hands its remote
list to the menu, which merges it by when each project was opened; choosing one opens it
on its host.
Fixes#6124
A theme plugin's .icls mapped DEFAULT_METADATA onto the annotation colour and ignored
ANNOTATION_NAME_ATTRIBUTES, so a scheme that only changed DEFAULT_METADATA repainted Java
annotations, which take the annotation key (Darcula's own when the file has none). Same
mapping as #6130 fixed for imported color schemes.
A hand-written jdtls that starts the Equinox launcher with java -jar (opencode puts
one into a JDK's bin) knows none of the release script's options: every --jvm-arg,
the Lombok agent among them, reached jdtls as an application argument, and its own
-data came before the IDE's workspace. When the first jdtls on PATH is such a
wrapper, the next one that isn't is started instead, else the IDE's own install,
which is offered for install while missing.
Fixes#6062
The one-side viewer of a deleted file drew the deleted rows as block widgets over an
empty document, so the gutter numbered nothing but a stray 1 on the phantom line and
the rows had no context menu. A deleted file's one-sided diff now swaps its sides as a
staged deletion already did: the original text is the document and the absent side is
the diff's original, so the editor's own gutter, colours and context menu apply.
The header keeps the request's order (revision -> (deleted)).
Fixes#6145
Co-authored-by: a1oyss <[email protected]>
Application and Spring Boot configurations get an "Enhanced class redefinition" option. When debugging on JetBrains Runtime, the JVM starts with -XX:+AllowEnhancedClassRedefinition, so Reload Changed Classes can also apply structural changes such as added or removed methods and fields. On any other JDK (or one that can't be identified) the session starts without the flag, which those JVMs reject, and the Debug console says why. Run is unchanged.
When the JVM refuses a structural change and the session's configuration has the option off, the Hot Swap failure says how to allow such changes.
Refs #4007
clangd marks std and other standard-library namespaces with the defaultLibrary modifier, so the generic builtin (Predefined symbol) class overrode the Namespace colour. A C++ semantic hook drops the builtin class for namespace tokens only; other symbol kinds, modifiers and languages keep their styling.
Fixes#6123
Co-authored-by: txdywmwddhxs <[email protected]>
A remote daemon of another build refuses to retire while it has terminals, runs, agent sessions or unsaved changes. After an upgrade left such a daemon (its binary gone, so no build can reconnect to it), the project could not be opened and the error only asked to reconnect with the old build.
The refusal now comes back as RemoteBackendBusy and the window asks whether to stop that backend. Agreeing reconnects with `openidea-server --attach <path> --replace`, which sends the old daemon SIGTERM (its own shutdown), kills it after the shutdown timeout if needed, and starts this build's daemon. Works for SSH hosts, WSL and dev containers, and for daemons of earlier builds (found by their --daemon command line).
Fixes#6119
The backend kept one breakpoint table for the whole app and sent all of it to every new session. A file whose removal never reached that table (a reloaded window, or the same file recorded under another path) stayed there and was sent to every later session, so a deleted line breakpoint kept suspending the program until restart; one window's breakpoints also reached another window's sessions.
Line, method and field breakpoints are now kept per window (the session owner) and sent only to that window's sessions; a closing window drops its lists. When a window loads its project and right before each session starts, it hands its whole list to the backend (debug_replace_breakpoints), which clears the files it no longer lists in the table and in the window's live sessions.
Fixes#6116
SQL completion read the columns of every non-system schema in one query capped at 50,000 rows, ordered by schema and table. A schema with more columns than that (5,000+ Oracle tables) lost the columns of the tables sorting last, so they were neither completed nor resolved in the console.
completion_columns now takes a CompletionScope: the default schema is read in its own query without the shared cap, and the other schemas keep sharing it. Applies to every driver with a completion query. A PostgreSQL integration test with 52,000 columns in the default schema covers it.
Fixes#6118
Since #6067 a column's local filter shows the checked values instead of hiding them, so the precise-filter case of databaseNumericSort.spec.ts failed on main and on every PR's E2E leg. The spec now checks the three values it expects to see.
Wheel-scrolling a diff in WebKit could jump scrollTop backwards and loop, so the bottom was unreachable.
- collapsedDiffLines replaced the separator row's children synchronously in docViewUpdate, before layout flushed; WebKit then clamped scrollTop back whenever a collapsed-lines separator entered the viewport. The replacement now runs in a keyed requestMeasure write phase.
- In synchronized side-by-side diffs (PaddedPanes / UnalignedPanes), the follower's measure-driven scrollTop adjustments were read as user scrolls and followed in reverse. The wheeled pane now leads for 150 ms after its last wheel event (released on pointerdown), and non-document height changes refresh the expected echo offsets.
Covers the split aligned, split unaligned and unified views.
In a multi-root Git Log with column headers hidden (the default) and Commit as the first column (the default), nothing on a data row sat on the Repository/Commit boundary: only fixed columns draw a row resize strip, and the Repository column has no divider of its own. A leading Commit cell now carries the same strip as the header's Commit divider and resizes only the Repository column.
Fixes#6111
Co-authored-by: wildcatDownstairs <[email protected]>
Importing a color scheme mapped only DEFAULT_METADATA to the annotation colour. Java annotations use ANNOTATION_NAME_ATTRIBUTES, which the bundled Default and Darcula schemes set themselves, so a scheme based on them that only changes DEFAULT_METADATA lost its annotation colour on import. The importer now reads ANNOTATION_NAME_ATTRIBUTES ahead of DEFAULT_METADATA, applies the parent's value when a Default- or Darcula-based file leaves it out, and exports the colour under that key.
Fixes#6108
An interrupted update download started again from zero on the next attempt. The update is now downloaded to a .part checkpoint in the app cache, keyed by version, target and signature so the GitHub and CNB sources share it, and later attempts resume it with an HTTP Range request. A 200 answer or a mismatched range replaces the checkpoint safely (the old bytes stay until the new download completes), a 416 for an already complete file is accepted, and the package is verified against its signature before installing; a resumed file that fails verification is discarded and downloaded again. Check and verification are cancellable, and obsolete checkpoints are removed.
Co-authored-by: kradme <[email protected]>
After an in-app update on Windows, What's New always said the version had no release notes. The Windows installer ends the app inside appInstallUpdate, so the notes recorded after the call returned were never stored, and the fallback manifest read app_release_notes was trusted-only, which the project-less window the page opens in is refused. The notes are now recorded before the install starts and restored if the install fails or is cancelled, and app_release_notes is always allowed, like the update check: it reads only the public manifest.
Closes#6056
Co-authored-by: wildcatDownstairs <[email protected]>
The updater's HTTP client had no connect timeout, so an unreachable first address of the release CDN hostname held the update check until its 60 s deadline instead of falling through to the next address. The client now bounds connection setup (TCP and TLS) to 15 s, which reqwest divides across the resolved addresses.
Co-authored-by: akbar1214 <[email protected]>
After a stable release is published, a new homebrew job downloads both macOS DMGs, writes Casks/openidea.rb (per-arch SHA-256, auto_updates true so the in-app updater and brew upgrade don't fight, the openidea CLI as a binary, zap paths) and pushes it to l0ng-ai/homebrew-tap. It is skipped for prereleases and when HOMEBREW_TAP_TOKEN is unset, and can be run by hand for an existing tag. The README documents brew install --cask l0ng-ai/tap/openidea.
Co-authored-by: voidetnox <[email protected]>
The Java build integration tests resolved maven-resources-plugin and maven-compiler-plugin from Maven Central on every run and failed when Central rate-limited the download. On GitHub-hosted runners CI now restores a dedicated local repository from cache, prepares it once with the shared jbuild-maven fixture (retrying 0/10/30 s, 5 minute limit) and saves it only after a successful preparation; both test crates use the same fixture POMs, so the cached plugins are the ones the tests need.
Closes#5964
Co-authored-by: principalwater <[email protected]>
On macOS, WebKit asks the user to confirm execCommand("paste") and navigator.clipboard reads outside a paste event with a "Paste" callout. readClipboardPlainText fell back to navigator.clipboard.readText() whenever the native read found no text, and the terminal's menu Paste called execCommand("paste") and navigator.clipboard.read() before reading natively. On macOS a null from clipboard_text now means empty text (a refused command still falls back), and in the desktop app the terminal menu Paste reads files, text and images through the backend commands.
Co-authored-by: audichuang <[email protected]>
History for Selection listed a Local Changes row on a clean file whenever the newest commit touching the selected lines was a merge: the list compared the current lines with the newest row's `after` block, and `git log -L` prints no patch for a merge, so that block was empty. The backend now returns HEAD's block (`BlockHistory.head`) and the list compares against it, falling back to the newest row for servers that predate the field.
Co-authored-by: audichuang <[email protected]>
Clippy 1.100 adds chunks_exact_to_as_chunks, which failed the workspace clippy run on every PR. unicode_text now reads the UTF-16LE pairs of a CF_UNICODETEXT block with as_chunks::<2>(); behaviour is unchanged.
Rows in the Commit and Local Changes trees were locked to the pane width and ellipsized, so the end of a long file name and its directory path could only be read by widening the tool window. The tree now keeps rows at their natural width and scrolls horizontally, as the Project view does.
Fixes#6080
Save cleanup treated text a diff revert or gutter rollback restored from the VCS version as the user's edit: reverting an added line break at the end of a file had it added back on the next save (Ensure every saved file ends with a line break, or editorconfig insert_final_newline), so the change came back. Restored text no longer counts as edited for trailing-space stripping, and when a revert last changed the end of the file, saving leaves its line break and trailing blank lines alone until the user edits there again.
Import Module from Existing Sources asked to attach a folder without a build file as another root, but Attach runs project.attachFolder, which is only enabled in a local project, so in a remote window the confirmation silently did nothing. When the action isn't enabled, the import now says the folder can't be attached as another root in this window instead of offering it.
#6079 extended the run.createConfig action's description, so every locale catalog still keyed the old text and the source-text catalog tests failed on main. Rekeys the entry in all catalogs with the new clause translated.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reformat Code with a selection sent textDocument/rangeFormatting and applied every edit the server returned. Intelephense answers a range request with edits across the whole file, so formatting two selected lines of a PHP file rewrote quotes and parentheses elsewhere ("Formatted 45 lines"); the second time nothing outside was left to change, so it looked like a first-open problem. Language-server range formatting now keeps only the edits on the selected lines; a changed region that reaches past them and keeps its line count is split per line first.
Part of #6055
"Modify Run Configuration…" from a Dockerfile's gutter icon (and the Maven tool window's Create Run Configuration) saved a freshly built configuration over the saved one with the same fixed id, so the bound ports and other edits were gone the next time it was opened. A saved configuration with that id now opens as the user left it; only a new one is saved.
Fixes#6047
External Libraries listed only the interpreter's sysconfig folders (stdlib, platstdlib, purelib, platlib). For Ubuntu's /usr/bin/python3, purelib is the usually empty /usr/local/lib/python3.X/dist-packages, while the packages apt installs (/usr/lib/python3/dist-packages) and the user's site-packages are only on sys.path, so the interpreter's libraries looked missing. The library group now also lists the other folders on the interpreter's sys.path (queried without the IDE's PYTHONPATH), except those inside or around the project's folders, which an editable install's .pth puts there.
Fixes#6042
The Debug console sent input typed into a debugged program's terminal ending in LF. Windows' ConPTY reads LF as Ctrl+J, so a program blocked in input() never saw its line end. Line ends are now sent as CR, as a terminal does for Enter; a Unix terminal maps it back to the newline a line read waits for.
Fixes#6041
When the server for this version can't be downloaded, a hand-placed openidea-server in the local data dir was uploaded regardless of its version, and a server of another version failed the handshake with a bare "EOF inside message header". Use it only when it contains this version string; otherwise report the download error and the stale file to delete or replace.
Fixes#5742
WebKitGTK looks the editor's "JetBrains Mono" up through fontconfig, and
a rule that strongly aliases unknown families (CJK locales put Noto Sans
CJK first) makes it resolve to that proportional face instead of falling
through to the bundled "JetBrains Mono Variable". On Linux the bundled
face is now named alone, in the editor/terminal stacks and --font-mono,
unless the native font catalog lists an installed JetBrains Mono.
Fixes#5770
In a run console that isn't a test run, Previous / Next Occurrence now step
through the file links in the output (skipping URLs, the IDE's own lines and
collapsed folds), select the link, scroll it to the centre and open its target,
and the console toolbar shows them as Up / Down the Stack Trace. Test runs keep
stepping through failed tests.
Closes#6059
Co-authored-by: mansur-akhmadi <[email protected]>
Adds IDEA's Recent Find Usages (find.recentUsages, Find category): every Find
Usages run (first search, Rerun, Search in Libraries) is recorded, newest first,
one per caret position, up to 10, cleared on project switch; the action lists
them in a centered menu and runs the chosen one again in a new tab, opening the
file's document when no editor has it. Unbound by default; IDEA keymap import
maps ShowRecentFindUsagesGroup.
Closes#5999
Co-authored-by: mansur-akhmadi <[email protected]>