The first SSH install recompressed the unpacked server with fast gzip before uploading it. The release download now keeps its gzip next to the cached binary, and the SSH install sends that archive when it decodes to exactly the selected binary (size and BLAKE3 hash); custom binaries and missing or mismatched archives fall back to the existing upload. Container and WSL installs are unchanged. For the Linux arm64 payload this sends about 51 MB instead of 66 MB.
Fixes#6283
Co-authored-by: principalwater <[email protected]>
A ClickHouse HTTP response that stalled (a relay holding the reply, a dropped connection) left the console showing Running forever. The built-in driver now stops waiting after 600 seconds without response data and reports that the outcome is unknown, with the query_id; it does not replay or cancel the statement. Reading another chunk restarts the timer, and the Advanced property http_read_timeout (seconds) changes the interval.
Fixes#6435
Co-authored-by: principalwater <[email protected]>
ClickHouse accepts a standalone SET over HTTP, but without a session the setting is gone before the next request, so a console script silently ran its later statements with other settings. With use_http_session=false the driver now refuses a session-scoped SET before sending it and says to use a session or query-level SETTINGS; named sessions, SETTINGS clauses and SET DEFAULT ROLE are unchanged. The ClickHouse splitter now also treats # line comments and nested block comments as comments.
Fixes#6432
Co-authored-by: principalwater <[email protected]>
When the Gradle model fixture could not be prepared, the test panicked with only the unsupported reason and hid the build error. It now appends the last 150 lines of the build output from both streams, with a unit test for the tail.
Fixes#6555
Co-authored-by: principalwater <[email protected]>
Settings › Appearance › Use project colors in main toolbar gains a Project color strength slider (10–70%) that scales the header's project colour wash. The default stays at today's 22%, so nothing changes unless the slider is moved.
Co-authored-by: dengliu <[email protected]>
Window group tabs of remote development windows now show a flat 'SSH · host' (WSL, Dev Container) label after the project name, with the full host and remote path in the tab's tooltip, and take their name from the remote project's display name instead of the window title. WindowTab carries the connection's host, and remote connections keep the project's display name.
Co-authored-by: dengliu <[email protected]>
Remote projects in the project switcher and the welcome screen's recent list now carry a server badge on their avatar and an 'SSH · host' (WSL, Dev Container) label above the remote path, with search highlights split between host and path. The Remote Host status bar item gains the remote icon, and shows its disconnected state as a warning-coloured label.
Co-authored-by: dengliu <[email protected]>
The agent status strip showed context usage, last-turn tokens, every usage-limit window and session cost inline. It now shows the context ring and percentage, plus any usage limit at 80% or more in its warning tone; everything else moves into one Session Info popover with a Context Window bar (reserved-for-response segment, System and User Context breakdown with token counts on hover), the last turn's tokens, usage limits and cost. Free space and deferred categories are skipped by name for Claude Code.
GitHub Copilot sessions now report a context breakdown through _openidea/context_usage (session.metadata.getContextAttribution, with contextInfo and usage_info fallbacks), accumulate AI-credit spend across turns and subagents, keep session cost across usage updates without cost, map /compact to session.history.compact, and label quota windows Chat, Completions and Premium requests.
Co-authored-by: dengliu <[email protected]>
Typing a slash command and a space (/skills, /sandbox, /remote, Codex's /goal) now offers its subcommands with descriptions, chains /skills info and /skills remove into the session's active skills, and shows a muted inline argument hint after /command until an argument is typed. AgentCommand keeps structured choices from Copilot's commands.list, Codex builtins and ACP available_commands_update, with a fallback that parses literal [a|b|c] hints. Enter on /skills and /mcp still opens the session pickers; Tab or a trailing space enters subcommands.
Co-authored-by: dengliu <[email protected]>
a_stopped_run_still_writes_its_profile sent SIGINT right after the fixture printed done, which could land before the loop ran, so the profile held only the initial fib(22) calls and the 'the loop ran' assertion failed. The fixture now prints looped after its first fib(18), and the test stops the run only after reading it, then checks for both completed passes.
Fixes#6585
Co-authored-by: principalwater <[email protected]>
attached_projects_keep_their_own_excluded_folders waited for the attached project's exclusion settings to change, then for the index to go idle. The settings become visible before the background refresh queues the rescan, so the index could be idle with its previous results. The test now waits for the newly included file to appear in the index.
Fixes#6584
Co-authored-by: principalwater <[email protected]>
Templates under src/main/resources/templates get a warning (underline and Problems) on a fragment expression whose template does not exist or does not define the fragment, as the inspection Thymeleaf > Unresolved template and fragment references. A fragment counts as defined by th:fragment, th:ref, an element of that name, or an id. It stays silent where names cannot be resolved as Spring Boot's defaults do: spring.thymeleaf.prefix or suffix set in application.properties / .yml, missing templates outside the project folder's own templates directory, ~{_}, ?: fallbacks, expression names, relative names and comments. Template names get .html unless they end in an extension Thymeleaf recognizes, which also fixes Go to Declaration on names with a dot.
Part of #2889
Co-authored-by: audichuang <[email protected]>
Archiving a task cancels its pending permission request. The reply handler checked whether to resume the task, released the state lock, then reacquired it to write Running; an archive finishing in between left running on disk, so the task came back outside the archive after a restart. The handler now records the answer and resumes the task under the same state lock, so a later archive still takes effect. A regression test overlaps settlement with archiving and checks the persisted Archived status and the recorded answer.
Fixes#6583
Co-authored-by: principalwater <[email protected]>
Merge All Project Windows only collected windows with a local project, so remote development windows were left out. Candidates now include every local or remote project window (welcome and LightEdit windows stay out), selected by a unit-tested merge_candidates helper in ide-workspace. A member that shares a native tab group or frame with a window outside the merge is split from it first, so that window is neither pulled in nor left hidden.
Co-authored-by: dengliu <[email protected]>
With the staging area off and the Commit tool window grouped by Staging State, the Staged / Unstaged nodes carry no changelist, so Move to Another Changelist… was hidden and New Changelist… (only on changelist headers) was unreachable. Their nodes and files now offer Move to Another Changelist… in the first group and New Changelist… next to Create Patch and Shelve. Nothing changes with the staging area on.
Fixes#6422
Co-authored-by: audichuang <[email protected]>
Jump to Source from a diff in the Compare with Branch window went to the comparison window's own editor area, which stays hidden until Show Diff, so nothing appeared. The comparison window now hands openFile to the project window's editor, as the diff window does, for files in any folder of the project (workspace projects included); files outside the project still open in the comparison window.
Fixes#6405
Co-authored-by: audichuang <[email protected]>
With an action handler registered, tauri-plugin-notification shows every macOS toast on a thread of its own that waits for a click. Toasts that are never clicked keep their thread and NSUserNotificationCenter work alive, so the app slowly gets laggy.
macOS now skips the action handler, so toasts are delivered without tracking; clicking one activates the app instead of focusing the exact window that raised it. Windows and Linux keep per-window focus.
Co-authored-by: PawelSzymanski89 <[email protected]>
Lines last changed by the file's current revision are drawn bold in a last-commit colour in the Annotate gutter. The current revision is the last commit to the file at HEAD, or at the annotated revision for Annotate Revision and the diff/merge panes; it is read with vcs_log after the gutter paints and again when HEAD moves. The colour is a new token, --git-annotations-last-commit, listed under Color Scheme > Git > Annotations > Last commit and imported/exported as ANNOTATIONS_LAST_COMMIT_COLOR.
Refs #6397
Co-authored-by: audichuang <[email protected]>
The built-in ClickHouse HTTP driver gives each SQL console its own named session: a second console finishes while the first one runs, and repeated statements in one console keep their SET values and temporary tables. Result paging, Explain and Stop use the same console identity, and closing the console's last editor or result releases it. Requests without a console stay stateless and can run concurrently. The PR also carries the TODO layout and bookmarks fixture fixes from #6507/#6458.
Closes#6433
Co-authored-by: principalwater <[email protected]>
In a folder scrolled so its top was out of view, New > File / Directory / Package showed no name field and keystrokes went to the tree's speed search: the tree is virtualized and the placeholder row was never mounted. Starting an inline edit (new item or rename) now scrolls its row into view through a new TreeHandle.scrollIntoView, leaving the viewport alone when the row is already visible.
Closes#6461
Co-authored-by: audichuang <[email protected]>
Go to Declaration on a literal URL in a RestTemplate, WebClient or RestClient call (the *For* methods, put, delete, exchange with HttpMethod.X, and the fluent .get()/.method(HttpMethod.X).uri(...)) in Java and Kotlin now opens the matching controller method, reusing the Feign controller index, path matching and service filtering. A bare host narrows the targets to that spring.application.name, and falls back to every matching endpoint when no module has that name. With no match, Cmd-click still opens the URL.
Refs #3882
Co-authored-by: audichuang <[email protected]>
The Annotate gutter's Options menu gets a Colors submenu with Author, Order (the default, tint by commit order) and Hide. Author gives the authors, sorted by name, the palette colours in turn. The choice is kept in localStorage and applies to every annotated editor, like the column and Names options.
Refs #6397
Co-authored-by: audichuang <[email protected]>
Change Project Color… did nothing in a remote development window: the window group's tab had no root, because it only looked up local projects. Remote windows now report their remote location (ssh://host/path) as the tab root, and the workbench reads the custom colour under the same key the project popup, Welcome and the window tabs store it, so the tab, title bar avatar and frame tint update. Window tabs refresh when a remote session connects or disconnects.
Co-authored-by: dengliu <[email protected]>
#6572 rustfmt-formatted the fixture's source, which changes its source fingerprint, so plugins/build.sh --check reported dist/plugin.wasm as stale. Rebuilt with plugins/build.sh.
Refs #6569
Nextest runs each test in its own process, so the per-process SERIAL mutex of the three Windows clipboard tests from #6549 did not keep them from writing the system clipboard at the same time. A Nextest test group with one slot runs them in turn while other tests stay parallel.
Closes#6571
Co-authored-by: principalwater <[email protected]>
Modify Table can change an existing table's primary key, add and drop unique keys, and create and drop indexes, each statement shown in the Preview. The index catalog query now marks the indexes that enforce a primary or unique key (DbIndexInfo.key), so they are listed under Keys and dropped with their constraint instead of a drop index the server rejects. Engines that cannot express a change don't offer it (SQLite: indexes only; Snowflake: primary key only). Existing keys and indexes are kept or dropped, not edited. The tree's Drop of a SQL Server index now emits drop index ix on schema.table.
Part of #6307
Co-authored-by: bertyhell <[email protected]>
#6468 increased the Tree's end inset while its scrollbar is visible, so in a narrow Coverage dock the percentage cells shifted 2 px from their headings. The Coverage header now uses the matching inset.
Closes#6499
Co-authored-by: principalwater <[email protected]>
#6471 opens a diff at its first change when the caller gives no line, so the cross-file navigation test clicked Next once too often before checking the boundary hint. The tests that navigate from the top now pass an explicit starting line.
Closes#6500
Co-authored-by: principalwater <[email protected]>
#6540 added vcs.commit.fixOnCommit, so the defaults JSON shape test now lists it. #5131 left the execution-output plugin fixture unformatted, which failed the plugin crates' cargo fmt --check.
While the .NET workspace scan runs, or after it failed, the Project view showed nothing where the solutions would appear. One placeholder .NET root now carries the state as grey detail text (Scanning… / Scan failed); idle and empty still registers no root, and a failed scan still retries on next use.
Refs #5635
Co-authored-by: Inf1mum <[email protected]>
reformat_file's description pointed agents at an optimize_imports tool for import-only cleanup, but none was registered. optimize_imports runs the existing organize-imports path (including the Ruff fallback for Python) on the given files without reformatting and returns the same capped unified diff as reformat_file. Documented in the English and Chinese MCP guides.
Co-authored-by: akbar1214 <[email protected]>
Code Vision usage counts run project-wide searches on the same language server and only gave way to Go to Declaration, so Alt+Enter, Refactor menu actions, Refactor This, code actions by kind and Apply Quick Fix queued behind them on a busy server (jdtls on a large project).
The foreground mark now covers every request the user waits for: those requests mark themselves while they ask the server, and the usage counts and implementation gutter markers cancel in-flight work and resume afterwards. Refactor menu actions show a pending hint while the server is busy.
Refs #6381
Co-authored-by: bertyhell <[email protected]>
In a remote window (WSL, SSH, dev container), a ~/ path in the terminal never became a Ctrl+hover link, and a ~/...:12 link opened only through the project-wide basename search, so it could open a same-named file in the project. Terminal links took ~ from the desktop's home only, and had no home at all in a remote window. Both now use the home of the machine the shell runs on: the desktop's home in a local window, and $HOME (else %USERPROFILE%) of the project host in a remote window, read through run_system_env, which runs on that host.
Closes#6246
Co-authored-by: bertyhell <[email protected]>
Editor > General gets a Gutter section with "Highlight modified lines in the gutter" and, under it, "Highlight modified lines in error stripe on the scrollbar". Both are on by default; turning off the first hides the scrollbar marks too, and the change applies to open editors right away through a changeMarkerDisplay facet set from the prefs compartment.
Fixes#6539
The Disk card in Remote Host Resources replaced total capacity with live read/write throughput once disk I/O counters arrived, leaving only the free space in its header. The header now shows used / total like the Memory card, and the subtitle and status bar tooltip keep the free space beside the read/write rates (or the used percentage when I/O counters are unavailable).
Co-authored-by: dengliu <[email protected]>
In a Django project the Python Console started a plain interpreter, so importing models failed with ImproperlyConfigured. When the project's manage.py sets DJANGO_SETTINGS_MODULE, the console now starts in manage.py's directory and its driver calls django.setup() with that settings module (one already in the environment wins, as for manage.py). On Django 5.2+ it also defines what manage.py shell imports automatically (the models, settings, timezone, ...) and keeps those names out of the Variables pane. The header shows the Django version; if setup fails, the traceback is printed and the console works as before.
Closes#6536
Co-authored-by: wildcatDownstairs <[email protected]>
In Model.objects.filter( (and exclude, get, get_or_create, update_or_create, also after other queryset calls) the keyword completes the model's fields: pk, fields inherited from project base models, and reverse relations by related_name or the lowercase model name. __ follows a relation, and after a plain field come its lookups, with date and time transforms for date fields. Models are read from the project's models.py files and read again when one changes.
When the project's interpreter has Django but neither django-types nor django-stubs, a banner on Python files offers to install django-types (pip as a background task, then the type checker restarts), so basedpyright types managers and model fields.
The stubs check and the manage.py, URL-name and model lookups run again once indexing ends, since on a fresh open they can run before the index has the project's files.
Closes#6541
Co-authored-by: wildcatDownstairs <[email protected]>
In Python files, the first string argument of reverse(, reverse_lazy(, redirect( and resolve_url( completes URL names, and Go to Declaration on it opens the path(..., name=...) entry. Names come from the project's urls.py files under their module's app_name (shop:product), with the file shown beside each, and are read again when a urls.py changes. They rank above the parameter names the language server suggests in the string.
Closes#6537
Co-authored-by: wildcatDownstairs <[email protected]>
Adds Run manage.py Task… (django.runManageTask), which opens Run Anything with manage.py typed. A Run Anything provider recognises manage.py lines (also ./manage.py and python manage.py), completes the command word from manage.py help (read once per project, shown with the app that defines each command), and runs the line with the project interpreter in manage.py's directory in a terminal-emulating Run tab, so createsuperuser and shell can prompt. runAnything.show now takes an optional initial line.
Closes#6535
Co-authored-by: wildcatDownstairs <[email protected]>
Import Settings now reads templates/*.xml from a JetBrains settings archive or settings folder and, after confirmation, merges the templates (group, abbreviation, description, body, variables and defaults, contexts, deactivated state) into the custom live templates under stable jetbrains.* ids, so importing again updates rather than duplicates. Built-in and unrelated custom templates are kept.
Contexts are read as IDEA writes them: the full context id first (JAVA_SCRIPT, SHELL_SCRIPT), then its shorter prefixes down to the language (JAVA_STATEMENT, Python_Class, JS_STATEMENT, KOTLIN_TOPLEVEL), OTHER as everywhere, and comment or string contexts expand outside code. Templates whose contexts don't map to a language are listed as not imported, never made global; expressions OpenIDEA can't evaluate are listed and kept as text.
Co-authored-by: muutot <[email protected]>
Closing a project while a debug launch was still starting (a Cargo build before CodeLLDB, or the adapter spawning and connecting) didn't stop it, so the adapter started for the closed project once the build finished: nothing between debug_start and session registration was tied to the project's lifetime.
Project now has a closed token that debug_start passes down. Closing the project cancels the Cargo build (killing its process tree, through a Job object on Windows) and the adapter launch.
Co-authored-by: audichuang <[email protected]>
Concurrent clipboard reads from the project tree raced on the Windows clipboard, which only one caller can open at a time, so a paste could fail with an access error. All Windows clipboard functions now hold a process-wide lock, and the project tree joins an OS clipboard refresh that is still running instead of starting another read.
Fixes#6388
Co-authored-by: guoyucode <[email protected]>
Adds a "Fix safe lint issues on save" Ruff setting that runs ruff check --fix-only on Python files when saving, and a commit check that applies the same safe fixes before committing. Safe fixes run separately from formatting and Format on save.
Also translates the new "No safe lint fixes to apply" message and drops the replaced on-save hint from the ko/ru/tr catalogs.
Co-authored-by: muutot <[email protected]>
Without an XML language server, the built-in parser's syntax check flagged a comment inside a start tag, which is read as whitespace. For the XML grammar the check now runs on the text with such comments blanked (lines and UTF-16 columns kept); an unclosed comment or an unterminated tag still reports.
XML files can keep attributes commented out inside a start tag (JGroups' configs do). Such a comment is accepted as whitespace, but LemMinX (Xerces) stops at <!-- and reports the whole tag as ElementUnterminated. That diagnostic is now dropped only when the reported tag is well-formed with its comments removed; real parser and schema errors stay.
Co-authored-by: akbar1214 <[email protected]>
Profile on a Python configuration runs it under cProfile from the standard library when py-spy can't sample without root (always on macOS), or when Settings > Python > Profiler chooses cProfile. Scripts, modules and pytest configurations run with their own interpreter; stopping the run still writes the snapshot, which opens in the profiler view.
Co-authored-by: wildcatDownstairs <[email protected]>
Each saved task kept the slash commands its agent last offered (up to ~200 entries) in memory and in the task list, archived ones included. Archiving now drops the list and tasks loaded archived start without it; completion for a task without a list uses what its agent last offered in the project.
Opening a project parsed every saved agent task in full and kept every conversation in memory for the whole session, archived ones included. Startup now decodes only each task's own fields; the conversation and turn checkouts are read from the task file on first use. A conversation that cannot be read shows empty and is never saved over. agent_entries runs on the blocking pool since its first call parses the file.
The Run/Debug with <title> actions of a plugin executor took only an object argument, while a plugin command passes text, so a plugin's own entry could start a configuration only as a plain run without the executor's Java agent. They now take a configuration id, or a services.context / services.toolbar command's argument as it came (the first selected service's configuration).
Fixes#6516