The pull request timeline and diff-thread comment fields and the Submit Review field use the editor-based TextField the commit message uses, so Vim attaches when Vim mode is on. Escape first leaves Insert or Visual mode, and in Normal mode or with Vim off cancels the comment as before; the @mention list keeps its keys ahead of Vim. TextField gains readOnly, onSelectionChange and onKeyDownFirst.
The parameter info requested after accepting a call completion with unknown arguments still appeared when Escape was pressed or the editor left before the server answered, and Escape before an auto-popup showed didn't cancel it. That request now counts as automatic, and Escape cancels pending automatic requests even with no popup shown, without consuming the key.
Escape on Parameter Info right after typing an argument closed the popup and the debounced refresh of the last keystroke brought it back about 120 ms later; leaving the editor did the same, and the auto-popup still opened on an editor already left. Escape and blur now cancel the pending refresh and auto-popup timer and drop replies to automatic requests sent before that; explicit Parameter Info and typing ( or , again still open it.
Co-authored-by: audichuang <[email protected]>
Java documents show Spring AOP gutter icons: on an advised method, to the advices applied to it; on an advice method, to the methods it advises. One target navigates directly; several open the chooser (Navigate to AOP Advices / Advised Methods), advice rows showing the advice kind and its order when statically known. The backend adds server-independent SpringAopMarker types and lsp_spring_aop_markers, asking only a server attached to the document that declares experimental java-analyzer/springAopMarkers (java-analyzer first; jdtls and older builds are not asked), refreshing on java-analyzer/springAopMarkersChanged. The Spring bean gutter's request/refresh logic moves into a shared lspMarkerGutter driver used by both. fixtures/spring-app gains aspects covering both directions, all advice kinds, named pointcuts, &&/||/! and order.
Co-authored-by: aLIEz1 <[email protected]>
The modal commit interface's Commit Changes dialog shows the diff of the file selected in its changes tree below the changes and the message, with the embedded diff viewer used by the Commit tool window's preview. Preview Diff in the tree toolbar hides or shows it (remembered, shown by default); the dialog is larger while it is shown.
A remote open sets the opening state before it asks Trust and Open Project?, and every action except quitting and window switching is disabled while a project opens, so the prompt's answers were refused and the open hung. Actions gain whileProjectOpens; Trust Project, Preview in Restricted Mode and Don't Open set it.
Some focusedCell tests never destroyed their focused cell editor, and two cleaned up inside try rather than finally. Focusing a CodeMirror view schedules a 10 ms timer; when the file ended inside it, the timer called requestAnimationFrame on the torn-down jsdom window, failing the Frontend job with an unhandled error. Every cell editor is now destroyed in afterEach.
Co-authored-by: audichuang <[email protected]>
With org.gradle.isolated-projects=true, running, debugging, testing or covering through Gradle failed: the IDE's init scripts read every project from the root (allprojects, projectsEvaluated), which Isolated Projects rejects. When the build enables it and Gradle is 8.8 or later, the scripts (application run, bootRun, test events/debug, VM options, UTF-8 charset, coverage) configure each project on its own through gradle.lifecycle.beforeProject / afterProject, reading the setting from Gradle's public BuildFeatures; other builds and older Gradle run the previous code.
Co-authored-by: audichuang <[email protected]>
The .NET settings test waited for the SDK combo to read Not pinned, the placeholder shown before sdkDotnetStatus answers, so it read the SDK list whenever the answer happened to have rendered. It now waits for the list and checks the placeholder after.
Co-authored-by: audichuang <[email protected]>
Cut without a selection removes the caret line, but the caret was mapped into the line above, so a second Cut removed that line instead of the one that moved up. As IntelliJ's CutHandler does, the caret now goes to the start of the line that takes the cut line's place; after the last line, to the start of the line before it. Multiple carets follow the same rule.
closeBlamePopup renders null into the popup's React root; called outside act in afterEach, React sometimes ran that work after the test environment was torn down, failing the Frontend job with an unhandled window-is-not-defined error. Both blame test files now close it inside act.
With a tag and a local branch both named release, picking either in the Git Log Branches pane filtered by release, which git resolves to the tag, and the pane highlighted the branch row for both. The filter now takes git's own unambiguous name for the picked ref among the repository's refs (git rev-parse --abbrev-ref=strict): tags/release and heads/release, the full ref when another ref takes those, the plain name otherwise. The pane maps a filter back to the row of the ref git resolves it to; a plain name that is both selects the branch. Renaming a branch also renames a heads/ or refs/heads/ filter.
Co-authored-by: audichuang <[email protected]>
Show Usages and the Find tool window gain the Show Import Statements toggle next to the read/write access filters: a usage on a line that begins an import statement (import ..., from ... import ...) is hidden when it is off. The option defaults to on and persists with read/write; saved settings without it keep showing imports. The popup's Open in Find Tool Window is an icon button with its shortcut in the tooltip. The icon is vendored from intellij-community (Apache-2.0).
Co-authored-by: chiyanking <[email protected]>
A working-tree comparison in the Compare tool window (Branches › Show Diff with Working Tree) now has Get next to Jump to Source: the selected file takes its content from the compared revision after a confirmation, and the list reloads.
The New Project dialog showed the last generator's requirement check until the next one returned. Check results now carry their generator and only the chosen generator's are shown.
The commit message field was a textarea, outside Vim mode, and its Esc always blurred. It is now a reusable editor-based TextField (src/editor/TextField.tsx) carrying the embedded editor contributions, so Vim attaches when Vim mode is on. Margin guide, wrap at margin, subject counter, blank-line inspection, message history, Meta+Enter and the activation focus keep working. Vim claims Escape in a tool window's Vim field outside Normal mode, so Esc leaves Insert or Visual mode before the tool window's Focus Editor runs; in Normal mode Esc moves the focus as before. The field sets data-autofocus before paint and ignores the blur of a view being destroyed. The Commit dialog shares the field.
Co-authored-by: Inf1mum <[email protected]>
Typed at the : prompt, a mapping to <Action>(id) replayed its right-hand side as keys, typing into the document. The map commands now turn such a right-hand side into the action command rc mappings use.
The M10 test dated its revision eight days back, which is two weeks back on a Sunday, so it failed every Sunday. It now uses Wednesday noon of last week.
After the selected agent was removed, the composer fell back to the first agent but Start still sent the removed id and failed with "unknown agent". Start and option changes now resolve the agent like the composer.
With Ruff and Black both selected, the Ruff page told users to switch this page back to Automatic, which leaves Black formatting. The note now says to switch Black's formatting provider back to Automatic.
Run from Find Action, Compare Files got no argument and asked to select two files even with two selected. It now falls back to the Project view's selection like Compare Directories and rejects a selected directory.
With two declarations on one line, the value check spanned the earlier declaration, so a following property name such as `background` (a deprecated WebKit system color) got a swatch. A `;`, `{` or `}` after the colon now ends the declaration.
A plugin's gutter markers can be built from another file (MyBatis arrows in Mapper.xml come from the Java mapper), but the editor asked line-markers only after its own document changed. A save now asks again, debounced, in the visible editors of the same project root whose language a plugin declares along with the saved file's ("*" covers all); hidden kept tabs ask once shown. plugin_line_marker_languages(path) returns those languages from the usable plugins' declarations without loading plugin code.
Co-authored-by: audichuang <[email protected]>
Remote Host's context menu on an SFTP server gains Start SSH Session in Directory: a terminal tab on the server's SSH configuration whose login shell starts in the chosen folder (a file's parent, or the root on empty space). ssh_open_terminal takes an optional remote folder and runs cd -- <folder>; exec "$SHELL" -l, so a missing folder reports the error and leaves the shell in home.
A strong downward trackpad gesture could pull the last reply above the composer and leave a blank strip. Vertical overscroll is now bounded in conversations, consoles and log viewers; scrolling toward the end releases the temporary space that holds a reader's place after a resize or fold; and a large pixel delta in a nested tool output stops at that output's edge.
A line-markers call cut by the 50 ms edit-path budget came back as an empty list, so that plugin's gutter markers vanished. plugin_line_markers now returns { markers, late }, late naming the plugins whose call was cut; the editor keeps the markers it shows from them, mapped through edits, until the next edit, documentIndexesChanged or marker-icon change asks again. The other plugins' markers are replaced as before.
Refs #8145
Co-authored-by: audichuang <[email protected]>
A kept editor tab could show stale plugin gutter markers after it was shown again (for example a plugin disabled while it was hidden): MarkersPlugin.run returned on a detached view without setting skipped, so shownAgain never asked again. It now marks the request skipped there.
Refs #8145
Co-authored-by: audichuang <[email protected]>
The built-in MCP server gets five database tools: list_database_connections, list_database_schemas, list_schema_objects, get_database_object_description and execute_sql_query. They reuse the project's data sources and credential store, never expose URLs, hosts, users or passwords, and need a trusted project; plugin-owned sources stay out. execute_sql_query runs one SELECT/WITH/EXPLAIN statement after a confirmation showing the exact SQL, in a driver-enforced read-only session that is verified before the statement runs (SQLite PRAGMA query_only, PostgreSQL BEGIN READ ONLY with pinned client_encoding, MySQL/MariaDB read-only transaction with utf8mb4 and safe sql_mode, Oracle SET TRANSACTION READ ONLY), rolls it back, refuses drivers without such a session and multi-statement SQL, and caps rows, cell size and run time. MCP guide (en/zh) updated.
Closes#8176
Co-authored-by: aLIEz1 <[email protected]>
The background image went into the --background-image custom property as a data URL; Chromium (WebView2) drops a custom property value over 2 MiB, so images over about 1.5 MiB silently showed nothing. The property now holds a blob: URL of the image's bytes, revoked when the image changes or is cleared.
Fixes#8251
With several language servers on the active file, the Language Services widget showed the file's icon and then a purple file-json icon for every other server, with the status dot on the last one: servers have no icons of their own. It now shows one icon for the file with the status dot; the servers stay named in the button's accessible label and in the popup.
Closes#8234
Co-authored-by: audichuang <[email protected]>
Plugins with the events capability can subscribe to project-tree-expanded (API 1.21, delivered as Event::Other): a JSON array of the absolute paths of Project view folders whose contents just became visible, including expanded folders shown again when their parent re-expands, and once with the folders already expanded when the plugin subscribes. Plugins that decorate tree nodes (set_file_note) can annotate folders as they open instead of scanning the project. The project view reports expansion through a workbench service; on-event:project-tree-expanded needs ^1.21. Docs, bindings and plugin components updated.
Refs #8264
Co-authored-by: NikoHXX <[email protected]>
.NET test configurations (dotnet-test, C# test gutter icons, test tree items, Run widget) can be debugged with netcoredbg while the TRX results and console output stay in the Run tab. VSTest runs set VSTEST_HOST_DEBUG=1 (with DOTNET_CLI_UI_LANGUAGE=en) and netcoredbg attaches to each reported test host pid, covering multi-TFM and solution runs; single-project Microsoft.Testing.Platform runs build and start the test assembly with --debug directly. Project detection inherits TargetFramework, IsTestProject and test framework package references from ancestor Directory.Build.props (following GetPathOfFileAbove). The relisten window after a detach applies to JVM debuggers only, and Stop on a linked .NET test debug run disconnects the debug session once.
Refs #615
Co-authored-by: trucuit <[email protected]>
Right-clicking a package manifest in the Project view offers one install item in a fixed place after the Run/Debug group: package.json → Install Node.js Dependencies (detected npm / pnpm / Yarn / Bun), composer.json → Composer Install, requirements*.txt / pyproject.toml / Pipfile → new Install Python Dependencies (uv sync / poetry install / pdm install from a lockfile or tool table, else pip install -r or -e . into the project interpreter, uv pip when it has no pip; pipenv install for a Pipfile). Restore .NET Project, Download Go Modules and Pod Install move into the same place and leave their own Project view groups. Each item shows its technology's logo, with a dark-theme .NET logo. A nested composer.json now installs in its own folder, and an install that cannot start shows a notification.
Co-authored-by: bertyhell <[email protected]>
Template names now complete and navigate in Django's render(request, ...) (also django.shortcuts.render, template_name= and lists), render_to_string and template_name (class-based views, as_view()), resolved against the project's templates folders like the app directories loader. Method calls named render and single-argument calls are left alone.
Closes#8236
Import JetBrains Settings now also reads the Gradle settings for new projects (options/gradle.default.xml): a local distribution and its home, Build and run using, and the Gradle JVM when it names an imported JDK that exists here; plus the Gradle user home from options/gradle.settings.xml. Defaults (wrapper, project JDK) are not written.
The late-parse color gutter test waited the default second for a 4000-line parse that runs in idle time; it now waits up to 10 s. The SVN Incoming test clicked Refresh again while the button was still disabled from the previous read, so the second read never started; it now waits for Refresh to be enabled.
Import JetBrains Settings left out the JDKs and Maven settings. It now adds each Java SDK of options/jdk.table.xml whose home is a JDK on this machine (missing ones are listed as not imported), and takes the Maven home, user settings file and local repository from the default project in options/project.default.xml; a wrapper or bundled Maven home stays empty. $USER_HOME$ in those files is replaced by this machine's home folder.
Fixes#8169
With Group by Repository on, the Log's Branches pane listed each repository by its full project-relative path. Repositories now sit under the directories their paths share; a directory with a single child joins its name to the child's, so projects whose repositories share no directories look the same as before.
Closes#7751
Branch switches rewrite lockfiles, so the "Dependencies changed since the last install" prompt came back each time and, with the IDE in the background, was mirrored to an OS notification. Notifications can now pass system: false to stay in the balloon and the Notifications tool window, and the install prompt does (IDEA keeps system notifications for finished builds, tests and long tasks). The package.json check now also counts overrides, resolutions, pnpm overrides/patches/extensions/peer rules, bundled deps, *Meta and workspaces, ignoring key order; baselines move to a v2 store.
Co-authored-by: bertyhell <[email protected]>
Move (F6) uses java-analyzer's dialog-driven java-analyzer/moveInfo and java-analyzer/move when the server advertises both in capabilities.experimental, and keeps the jdtls refactoring-command flow otherwise. The chooser lists destinations by kind and re-checks the caret before applying; problems carry an optional location shown in the confirmation. Only a fatal problem stops a move; errors and warnings are confirmed, in both flows.
Co-authored-by: akbar1214 <[email protected]>
Brings the review fixes of #8212 that missed its squash: Format > Change only on a working copy root (irreversible upgrade), Delete and context menus act on the clicked rows (new hidden project.deletePaths action), switched folders keep their own Merge From/Update actions, project-scoped requests with trust checks, quiet background Incoming reads, newest-first log limit, external-aware update parsing, repository-path diffs, mixed-revision BASE for Incoming, project-switch cleanup, Windows-safe paths and the shared List. Plus the six follow-ups of #8220.
Closes#8220
Co-authored-by: wildcatDownstairs <[email protected]>
With an editor colour scheme of the other brightness than the UI theme, the diff panes kept the theme's --bg-app / --fg while their syntax colours came from the scheme, and the Color Scheme page applied every UI token of the scheme to its attribute list. The diff viewer now uses --bg-editor, --fg-editor and --bg-editor-gutter like the editor, the strip between panes follows the editor surface, and the scheme page gives its list only the scheme's editor tokens.
Closes#8160
Co-authored-by: coding46 <[email protected]>
In markup a color literal gets a swatch only inside a style, which the syntax tree tells, but the color gutter recomputed only on document changes: a parse that finished after the editor opened left those lines without swatches. The gutter and its width now also update when a markup document's tree advances. Fixes the color preview e2e and the Vue gutter test failing on CI.
* fix(titlebar): do not start a stuck window drag when activating on Windows (#7142)
A click on the title bar of a background window raised it and also started
Tauri's caption drag. start_dragging posts WM_NCLBUTTONDOWN/HTCAPTION; if
the button is already up when that message runs, Win32 follows the cursor
until the next click.
On Windows the title bar now uses the same custom drag path as macOS: a
press only arms the drag, and the native drag starts on a move while the
button is still held. window_start_drag also checks GetAsyncKeyState.
Double-click zoom still happens on the second press. Linux is unchanged.
* chore(bindings): regenerate windowStartDrag docs for the Windows drag fix
`cargo test -p openidea --test export_bindings` copies the new
window_start_drag rustdoc into src/bindings.ts. commands.snap is unchanged.
* fix(titlebar): preserve native Windows maximize, swapped mouse buttons, and drag state cleanup
---------
Co-authored-by: l0ng-ai <[email protected]>
Add Service of a configuration type now has a tri-state Select All checkbox above its list of configurations, so a long list can be cleared or checked in one click.
Closes#8174
Language-server colors on text that isn't a color literal (Tailwind classes) are now small swatches in the text before the class, as WebStorm shows Tailwind colors, instead of gutter icons that couldn't be told apart on a busy line. Server colors on CSS literals stay in the gutter; Gutter Icons > Color preview still turns both off.
Closes#8166
Two additive plugin API 1.21 features. decorations.set-actionable puts up to 4 buttons on a plugin decoration's Markdown hover card; each runs one of the plugin's declared commands as if from Find Action (no new capability; undeclared commands fail the call; stale documents don't run). agents.start-task (agents capability, invoking window, trusted project) creates a task that opens in the Agents window with the prompt prefilled and unsent, optionally continuing a recorded session like fork-session. Checked-in components rebuilt; bindings regenerated.
Co-authored-by: charli117 <[email protected]>
* ci: fix rust-cache eviction, group language smoke, and drop unused Rust setup
* test(frontend): use Vitest threads pool and guard DOM setup for node tests
* test(rust): consolidate crate integration tests into single binaries
F7 / Shift+F7 in a pull request's diff walked the files in GitHub's API order (by path, root files first) while the changes tree lists folders before root files, so Show Diff from the tree could start mid-chain. The changes tree now passes its file order to openPullRequestFileDiff, which sorts the chain by it; other callers keep GitHub's order. Commit diffs have no chain and are unaffected.
Co-authored-by: coding46 <[email protected]>