Графік комітів
4312 Коміти
Автор SHA1 Повідомлення Дата
Vladislav Kuzmin 4b3717618f fix(database): isolate JDBC console sessions (#6553)
Two SQL consoles on one JDBC data source waited on the same connection, so a long query, cancellation or close in one blocked the other. The JDBC bridge now multiplexes one connection per console inside the existing bridge JVM (capped at 32, with bounded reply buffers), and result reads, cancel and close are routed to the originating console's connection. DuckDB console connections share the database and its attachments with separate temporary tables and session settings; anonymous SQLite and H2 databases keep one shared connection so their contents stay visible.

Fixes #6484

Co-authored-by: principalwater <[email protected]>
2026-11-28 08:05:59 +08:00
Vladislav Kuzmin 8fd5ee382d fix(database): isolate PostgreSQL manual transactions by SQL console (#6482)
Two PostgreSQL consoles on the same data source shared one manual transaction, so one console could see and commit the other's pending work. Each console now owns its manual transaction: Commit, Roll Back, Stop, result reads and close act on the originating console, retained results keep their transaction until the last reference closes, and a statement for a lost transaction fails before executing. The pool reserves capacity for ordinary work; up to two manual transactions can hold a connection per target, and a third gets a message on how to free a slot. Auto-commit and the transaction-pooler read-only path are unchanged.

Fixes #6445

Co-authored-by: principalwater <[email protected]>
2026-11-28 07:57:17 +08:00
Vladislav Kuzmin 3a3b2e424a perf(remote): reuse the verified release archive for SSH installs (#6288)
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]>
2026-11-28 07:44:18 +08:00
Vladislav Kuzmin b9d0e28f7a fix(database): bound idle waits for ClickHouse HTTP responses (#6456)
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]>
2026-11-28 07:39:50 +08:00
Vladislav Kuzmin 53627ea2e9 fix(database): reject session SET on stateless ClickHouse HTTP (#6442)
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]>
2026-11-28 07:38:29 +08:00
Vladislav Kuzmin 55366a2a31 test(build): report Gradle output when fixture preparation fails (#6564)
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]>
2026-11-28 07:37:09 +08:00
Deng Liuтаdengliu 0b9610fe69 feat(appearance): add a project color strength setting (#6592)
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]>
2026-11-28 07:34:23 +08:00
l0ng-ai 43e3575eb2 test(settings): expect the Thymeleaf inspection group (#6599)
#6598 added the Thymeleaf inspection group; the inspections tree test still listed the old groups.
2026-11-28 07:33:01 +08:00
Deng Liuтаdengliu bc4a422424 feat(remote-dev): show the remote host in grouped project window tabs (#6577)
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]>
2026-11-28 07:26:55 +08:00
Deng Liuтаdengliu 7ccaa10496 feat(remote-dev): distinguish remote windows and project switcher entries (#6557)
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]>
2026-11-28 07:21:32 +08:00
Deng Liuтаdengliu b5e45ca98b feat(agents): consolidate session stats into a Session Info popover (#6563)
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]>
2026-11-28 07:19:50 +08:00
Deng Liuтаdengliu 6faff1b1a8 feat(agents): autocomplete slash command arguments and show inline hints (#6567)
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]>
2026-11-28 07:14:43 +08:00
Vladislav Kuzmin 1edfa9180b test(profiler): wait for profiled loop work before stopping (#6588)
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]>
2026-11-28 07:09:47 +08:00
Vladislav Kuzmin b15c56cdb0 test(project): wait for the updated attached-root index (#6587)
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]>
2026-11-28 07:09:15 +08:00
audichuang 91ff5c8a15 feat(thymeleaf): warn on fragment expressions naming a missing template or fragment (#6598)
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]>
2026-11-28 07:07:06 +08:00
Vladislav Kuzmin 929b6837f9 fix(agents): keep archived tasks from resuming on a permission reply (#6586)
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]>
2026-11-28 07:05:44 +08:00
Deng Liuтаdengliu d1af5f656a fix(windows): include remote development windows in Merge All Project Windows (#6593)
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]>
2026-11-28 07:02:55 +08:00
audichuang 604e9348f2 fix(vcs): offer New Changelist and Move under Group By Staging State (#6596)
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]>
2026-11-28 07:01:37 +08:00
audichuang 9592b9ee1b fix(vcs): Jump to Source in the comparison window opens the file in the project window (#6595)
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]>
2026-11-28 06:59:28 +08:00
Paweł SzymańskiтаPawelSzymanski89 c658b3eb88 fix(notifications): stop leaking a thread per macOS system toast (#6597)
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]>
2026-11-28 06:57:19 +08:00
audichuang cc5d9d95e4 feat(vcs): bold the current revision's lines in the annotate gutter (#6594)
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]>
2026-11-28 05:55:03 +08:00
Vladislav Kuzmin 75a15b7eed fix(database): isolate ClickHouse console sessions (#6455)
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]>
2026-11-28 05:50:23 +08:00
audichuang b2998cb37a fix(project-tree): scroll the inline name field into view when it starts (#6590)
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]>
2026-11-28 05:43:05 +08:00
audichuang 5c131edb7e feat(http-client): go to the Spring endpoint from a RestTemplate or WebClient URL (#6581)
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]>
2026-11-28 05:41:20 +08:00
audichuang bb8906edb8 feat(vcs): Colors submenu in the Annotate Options menu (#6582)
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]>
2026-11-28 05:40:40 +08:00
Deng Liuтаdengliu 2e3b087db7 fix(remote-dev): apply custom project color on remote windows and tabs (#6576)
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]>
2026-11-28 05:38:40 +08:00
l0ng-ai 0c5f1ffabf fix(ci): rebuild the execution-output plugin component after formatting its source (#6591)
#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
2026-11-28 05:35:34 +08:00
Vladislav Kuzmin 0a9055b40d test(clipboard): serialize Windows clipboard fixtures in Nextest (#6574)
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]>
2026-11-28 05:32:15 +08:00
Bert Verhelstтаbertyhell 8776bf536f feat(database): add and drop keys and indexes from Modify Table (#6578)
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]>
2026-11-28 04:19:28 +08:00
Vladislav Kuzmin 9cc781717d fix(coverage): align headers while the tree scrolls (#6506)
#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]>
2026-11-28 04:14:12 +08:00
Vladislav Kuzmin 8f1e95e5a2 test(diff): align navigation fixtures with the initial difference (#6505)
#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]>
2026-11-28 04:14:03 +08:00
l0ng-ai e49c634064 fix(ci): expect commit fixOnCommit in default settings and format the execution-output fixture (#6572)
#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.
2026-11-28 03:38:37 +08:00
Vadim LazukтаInf1mum 4e82599c49 feat(dotnet): show solution tree discovery states (#6566)
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]>
2026-11-28 03:26:26 +08:00
Akbar Husain e08de6771d feat(mcp): add optimize_imports tool (#6562)
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]>
2026-11-28 02:24:34 +08:00
Bert Verhelstтаbertyhell d31a22b5dd perf(editor): let Alt+Enter and refactorings go before Code Vision usage counts (#6560)
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]>
2026-11-28 02:20:06 +08:00
Bert Verhelstтаbertyhell cead5f08f7 fix(terminal): expand ~ to the remote home in remote windows (#6559)
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]>
2026-11-28 02:13:02 +08:00
l0ng-ai 1fc9a9f5d5 feat(vcs): settings to hide the change markers in the gutter and on the scrollbar (#6558)
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
2026-11-28 02:01:47 +08:00
Deng Liuтаdengliu 11a8152988 feat(remote-dev): show used and total disk space in resources dashboard (#6554)
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]>
2026-11-28 01:53:16 +08:00
LU XIANGRUIтаwildcatDownstairs 10b459268e feat(python): set Django up in the Python Console of a Django project (#6543)
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]>
2026-11-28 01:51:13 +08:00
LU XIANGRUIтаwildcatDownstairs 382c22cfc3 feat(python): complete Django field lookups and offer django-types for model typing (#6545)
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]>
2026-11-28 01:50:02 +08:00
LU XIANGRUIтаwildcatDownstairs 7bb69e353d feat(python): complete and navigate Django URL names in reverse() calls (#6544)
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]>
2026-11-28 01:48:54 +08:00
LU XIANGRUIтаwildcatDownstairs 988f93be46 feat(python): run manage.py tasks from Run Anything with command completion (#6542)
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]>
2026-11-28 01:48:00 +08:00
Muuтаmuutot 494dd61193 feat(settings): import JetBrains live templates (#6546)
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]>
2026-11-28 01:39:19 +08:00
audichuang cbabb5e9b5 fix(debug): cancel pending debug builds and launches when closing a project (#6282)
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]>
2026-11-28 01:35:15 +08:00
GuoYuтаguoyucode 75997ae0ee fix(clipboard): read and write the Windows clipboard one call at a time (#6549)
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]>
2026-11-28 01:25:36 +08:00
Muuтаmuutot 81df8f2649 feat(python): apply Ruff safe fixes on save and commit (#6540)
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]>
2026-11-28 01:23:52 +08:00
l0ng-ai 26992ec4ce fix(syntax): comments between a start tag's attributes are not XML syntax errors (#6551)
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.
2026-11-28 01:03:23 +08:00
Akbar Husain 2c22574be0 fix(lsp): drop LemMinX's comment-in-start-tag error in XML (#6548)
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]>
2026-11-28 01:00:09 +08:00
LU XIANGRUIтаwildcatDownstairs 93368d4379 feat(profiler): profile Python runs with cProfile (#6512)
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]>
2026-11-28 00:54:42 +08:00
l0ng-ai 14741101bd perf(agents): don't keep the slash command list of archived tasks (#6528)
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.
2026-11-28 00:47:38 +08:00