Графік комітів
4928 Коміти
Автор SHA1 Повідомлення Дата
l0ng-ai eace2fc741 perf(code-insight): read usage lines of many files in one call (#7598)
Usage lists read the line text of each file with one IPC call per file, which for ~1800 files took as long as the references request. fs_read_texts reads them in one call on a few threads (265-377 ms -> 57-59 ms on macOS); open editors and virtual documents keep using their editor text.

Refs #6823
2026-12-03 03:20:18 +08:00
Ivan f39b728947 fix(agents): sign in to Codex with a device code on remote hosts (#7586)
Signing in to Codex in a remote project uses the device-code flow on the project host, since the browser callback can't reach it; the code and link are shown in the IDE and the sign-in can be cancelled. Tokens stay in Codex's own credential store and out of remote wire logs.

Co-authored-by: Pecnikas <[email protected]>
2026-12-03 02:56:00 +08:00
Ivan f307355369 fix(remote): manage custom agents on the project host (#7585)
In a remote project, adding, editing and removing custom agents now acts on the project host instead of the local machine, with trust checks applied there. Edits run off the UI thread, concurrent writes are serialized, and sensitive values are kept out of remote wire logs.

Co-authored-by: Pecnikas <[email protected]>
2026-12-03 02:53:06 +08:00
l0ng-ai 611f40c6ce fix(ui): offer Cut, Copy, Paste and Select All on a right-click in a text field (#7593)
A right-click in a text field showed nothing: the webview's menu is blocked
everywhere and the fallback Copy menu skipped editable elements. A text
field, text area or contenteditable element without a menu of its own now
gets Cut, Copy, Paste and Select All, acting through the field's editing
commands so undo and input events follow. Cut and Paste are disabled in
read-only or disabled fields, Cut and Copy in password fields and without a
selection; non-text inputs get no menu.

Fixes #7570
2026-12-03 02:21:05 +08:00
Deng Liuтаdengliu 391b91539f feat(mcp): built-in MCP tools for project automations (#7377)
Agents can list, inspect and schedule the project's automations through built-in MCP tools. Calls carry an unspoofable per-session capability nonce, scheduling authority is tied to the live session that owns the active turn, project writes always ask for confirmation, and a run cannot undo a user pause. Self-scheduling needs an enabled automation, and the configured trigger and prompt survive an override. The Edit Automation dialog shows pending overrides and gets consistent insets.

Co-authored-by: dengliu <[email protected]>
2026-12-03 02:15:13 +08:00
audichuang 5633d76da1 feat(settings): Override File Type opens a list that filters as you type (#7578)
Override File Type shows a sorted list of file types that filters as you type, keeps its position as results narrow, tells apart languages with the same display name, and returns focus to where it was when closed.

Co-authored-by: audichuang <[email protected]>
2026-12-03 01:52:09 +08:00
l0ng-ai 310cbaad66 fix(vcs): scroll the merge window from its dividers (#7590)
The wheel over either merge-window divider now scrolls Result with the side panes and ribbons following; the two-way diff divider converts line and page wheel deltas to pixels.

Fixes #7566
2026-12-03 01:51:42 +08:00
Vadim LazukтаInf1mum bc63e8e029 fix(notebook): Copy Path/Reference and file bookmarks from a notebook cell (#7584)
Copy Path/Reference and file bookmarks work from a notebook cell: the chooser uses the same file path rows as the text editor, and file bookmarks target the active notebook tab even after focus leaves its cell.

Co-authored-by: Inf1mum <[email protected]>
2026-12-03 01:49:51 +08:00
Akbar Husain a579d81694 fix(vcs): navigate past deleted diffs in a chain (#7587)
Next/previous difference across a diff chain stopped at a file that was deleted (or added), because the viewer swaps sides for it and navigation read the swapped request. It now follows the original request, for direct file navigation and the difference-boundary hint in both directions.

Co-authored-by: akbar1214 <[email protected]>
2026-12-03 01:49:42 +08:00
faysouтаfaysou 6eb1f0713d test(vcs): verify the single-row Worktrees layout (#7588)
The Worktrees panel shows the folder, branch and path on one row, but the
layout spec still expected the folder above the branch and failed. It now
checks the three columns in order on one line, keeping the toolbar,
submodule and keyboard selection checks.

Co-authored-by: faysou <[email protected]>
2026-12-03 01:37:04 +08:00
audichuang 95d4a41b62 fix(vcs): close the Maximize Commit Message dialog before going to a linked commit (#7572)
Clicking a commit hash, parent or containing branch in the Maximize Commit
Message dialog selected the commit in the log behind the dialog, which stayed
open over it. The dialog now closes first, then goes to the commit; the log
list takes focus once the commit is selected unless focus moved elsewhere, and
a hash not in the log shows the "not found in the log" warning. Links in the
commit details pane are unchanged.

Closes #7554

Co-authored-by: audichuang <[email protected]>
2026-12-03 01:35:54 +08:00
l0ng-ai 18ac414b52 fix(code-insight): open Show Usages while a slow search has found nothing yet (#7583)
Show Usages opened early only once a partial result arrived, so a search
whose results come in one batch (usages of a Kotlin declaration found by
jdtls) showed only a caret hint until it was done. The popup now opens after
300 ms either way, with a spinner and "Searching for usages…", and fills in
as usages arrive. A search ending with none or one usage closes a popup that
showed none yet and answers with the hint or the jump. Ctrl+click on a
declaration drops its "Finding navigation target…" hint when it hands over
to Show Usages.

Refs #6823
2026-12-03 01:01:35 +08:00
tongkangwangтаchiyanking 10e399cbec fix(code-insight): fit the Show Usages filename column to its content (#7571)
The Show Usages filename column had a fixed cap, so widening the popup did
not reveal more of a truncated filename. The column now takes the width of
the longest filename among all results (measured off-screen, so virtualized
rows, speed search and filters keep the columns aligned), capped at 176px
(38% when narrow) or a fifth of a wider popup; the code column gets the rest.
It is remeasured when results or font metrics change. Same-named files keep
their directory captions.

Co-authored-by: chiyanking <[email protected]>
2026-12-03 00:56:09 +08:00
l0ng-ai ce4b2f9655 feat(deployment): compare a file with its deployed version (#7580)
Compare with Deployed Version (default server) and Compare with Deployed Version on… (choose a server) open the diff viewer with the editable local file against a read-only snapshot of the deployed one; binary and oversized files show a notice.

Fixes #7546
2026-12-03 00:41:16 +08:00
Sameh Elhawaryтаsamehelhawary 65686e246e feat(lsp): send a server the documents it registers a selector for (#7558)
A language server marked dynamic-documents (Phoxite for PHP and Blade) is sent the other-language documents it registers a document selector for, such as a framework's YAML, XML or JSON files, alongside their own servers.

Malformed selectors match no documents, relative glob restrictions are kept, and withdrawing a selector closes the documents it opened.

Co-authored-by: samehelhawary <[email protected]>
2026-12-03 00:39:11 +08:00
Sameh Elhawaryтаsamehelhawary 3078674a86 feat(http-client): Laravel and Symfony endpoints (#7559)
Laravel and Symfony routes are indexed as HTTP endpoints for the Endpoints view and HTTP client navigation. The route index publishes only after the latest reads finish, and exclusions are evaluated relative to each scanned project root.

Co-authored-by: samehelhawary <[email protected]>
2026-12-03 00:35:21 +08:00
l0ng-ai 82d8a6ea19 fix(lsp): stop syntax errors in files a shared server already checks (#7573)
One clangd serves C and C++. A header detected as C joined the instance started for C++, but the UI's list of the languages a running server checks was refreshed only on a status change, so the built-in syntax check parsed the C++ header as C and reported false syntax errors. A running server now reports its status again when it is given a new language; the Arduino server taking over a sketch's C++ files does the same.
2026-12-03 00:30:29 +08:00
Sameh Elhawaryтаsamehelhawary 3785b75582 feat(run): Symfony server run configuration (#7557)
Symfony projects (framework dependency, bin/console and public/index.php present) get a detected PHP built-in server run configuration serving through the front controller; Debug keeps PHP's web-server arguments.

Co-authored-by: samehelhawary <[email protected]>
2026-12-03 00:29:45 +08:00
Sameh Elhawaryтаsamehelhawary 15b55c66ca feat(php): Blade and Twig languages, and framework files read as PHP (#7556)
Blade and Twig templates get their own languages with highlighting, and framework files that are PHP under other names are associated with PHP.

The Blade highlighter's preceding-character check runs on WebKit, and language-server sharing between languages follows direct definitions only, preventing cycles and letting a shadowed server detach.

Co-authored-by: samehelhawary <[email protected]>
2026-12-03 00:28:52 +08:00
a2499123744-delтаa2499123744-del d6d6fd0909 fix(language): detect C++ standard headers from their first line (#7567)
Extensionless headers carrying an Emacs -*- C++ -*- mode line (libstdc++, libc++) or an MSVC "// <name> standard header" comment open as C++ even outside a known toolchain include tree, complementing the include-tree detection from #7547. Known extensions and shebangs keep precedence.

Co-authored-by: a2499123744-del <[email protected]>
2026-12-03 00:26:43 +08:00
RuyimgByCN 7bfad25bb5 feat(plugins): run configuration types with a plugin-provided form (#7445)
Plugins can contribute run configuration types (contributes.runConfigTypes, plugin API 1.20) whose settings form is rendered from the plugin's web view and prepared by the plugin.

Every plugin-owned configuration, including ones the user creates from such a form, is launched by the host only after checking the plugin's process grant and executable pin; the debugger launch rechecks them, and Stop revalidates the executable. Tests cover user-created configurations and grant revocation.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-03 00:26:01 +08:00
RuyimgByCN 5c31ccfe70 feat(svn): add Subversion merge dialog, eligible revisions picker, and reverse merge (#7344)
Subversion merge workflows on the built-in SVN backend. VCS > Subversion > Merge From... picks a source branch or URL, then merges selected eligible revisions (svn mergeinfo --show-revs eligible, paged), all revisions, or reintegrates a branch, with a test (dry-run) merge, depth, whitespace modes, --ignore-ancestry and --force. Reverse Merge (svn merge -c -REV) is in the VCS Log commit menu for Subversion revisions.

For a checkout of a subtree (trunk/module), the source URL keeps the working copy's path inside the branch. Revision ranges stay in SVN's native form (-r 100:120). Unsaved documents are saved and local changes are offered for review before merging. Streamed merge output runs under the working copy's write lock, so a merge cannot race Rollback.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-03 00:22:39 +08:00
Yohann CATHERINEтаyohannlog 304674d0fe feat(cpp): report functions declared but never defined (#7540)
A C or C++ function declared but never defined only failed at link time. A new inspection, Function declared but never defined (C/C++, weak warning), reports a prototype when clangd's go to definition finds only the declaration itself. Pure virtual, defaulted and deleted functions, operators, macro calls and Qt signals are left out. Quick fixes: Create Definition in the header's source file, and Implement Inline.

Co-authored-by: yohannlog <[email protected]>
2026-12-03 00:01:25 +08:00
Yohann CATHERINEтаyohannlog aa003541a3 feat(cpp): grey out inactive preprocessor code, show macro expansions, create library projects (#7539)
Three C / C++ gaps. Code left out by an #if / #ifdef branch is greyed out from clangd's inactive-code semantic tokens in C, C++ and Objective-C(++). View > Show Macro Expansion shows what the macro at the caret expands to, from clangd's hover. New Project > C/C++ has a project type: Executable, or a static or shared Library with a public include/ folder.

The template engine dropped only a bare LF after a block tag, so on Windows, where Git checks the generators out with CRLF, every {{#if}} line left a blank line in the generated files. It now drops a CRLF too.

Co-authored-by: yohannlog <[email protected]>
2026-12-03 00:00:14 +08:00
Yohann CATHERINEтаyohannlog d2699c430e feat(cpp): GoogleTest, Catch2, doctest and CTest results in the test tree (#7538)
C++ test executables ran as plain applications and CTest as one block of console output, so no test appeared in the test tree. CMake detection now marks an executable whose sources include GoogleTest, Catch2 v3 or doctest as a test configuration, and CTest as one too. Their output fills the test tree with each failure's message and location. GoogleTest, Catch2 and doctest test declarations get gutter icons that run one test through the framework's filter.

Co-authored-by: yohannlog <[email protected]>
2026-12-02 23:59:15 +08:00
Yohann CATHERINEтаyohannlog f404a33e7a feat(cpp): clangd reads the active CMake profile's compilation database (#7551)
In a CMake project with profiles or presets, clangd searched for compile_commands.json in each file's parent folders and their build/, so it could read another profile's or a stale database: test sources showed missing GoogleTest headers although the active profile compiles them. clangd now starts with --compile-commands-dir set to the active profile's build directory once it has a compile_commands.json. The window restarts this project's clangd when another profile becomes active, or when the IDE configures the active profile's directory for the first time. That first configure runs as a build task, so the restart follows the configurations reloading without the needs-configure mark instead of a run session's exit. An explicit --compile-commands-dir, a root compile_commands.json and a .clangd naming a CompilationDatabase are left alone.

Co-authored-by: yohannlog <[email protected]>
2026-12-02 23:55:03 +08:00
l0ng-ai 05e7db4be6 test(color-scheme): check bold on the Go package token (#7568)
Go package references have their own token since #7561, so Bold on the Go page sets --syn-go-package-bold; the settings test now reads that variable.
2026-12-02 23:36:23 +08:00
LU XIANGRUIтаwildcatDownstairs 8ad3fc4faf fix(vfs): keep a dangling Windows junction from listing as a folder (#7486)
On Windows, a dangling directory junction showed in the Project view as an expandable folder that listed nothing. lstat of a junction reports size 0, and the UI reads a size-0 link as a link to a folder. read_dir now sizes a dangling link by its target's length, which is what lstat already reports on macOS and Linux, so their behaviour is unchanged. A Windows test creates real junctions with mklink /J and lists them the way the Project view does. The Git workflow fixture names its extra clones by a hash so long paths stay under MAX_PATH.

Refs #7419

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-02 23:27:01 +08:00
faysouтаfaysou 3f7b83e8fd test: fix Windows Rust fixture paths (#7552)
Three Rust tests failed on Windows. Two dev-container tests built Unix-style labels while the Windows CLI supplies native paths, so their label lookups returned nothing. The Git batching test could hit Git for Windows' file path limit before it reached the command-line length case. The labels now use native paths, and the temporary test repositories enable core.longpaths.

Co-authored-by: faysou <[email protected]>
2026-12-02 23:25:22 +08:00
l0ng-ai 7fa280e9e0 feat(remote): open a dev container from the Welcome screen and from devcontainer.json (#7565)
The Welcome screen lists local dev container configurations and an open devcontainer.json offers Open in Container, both through the existing Reopen in Container flow with trust and host checks; the reopen prompt remembers dismissal per project.

Fixes #7417
2026-12-02 23:24:09 +08:00
l0ng-ai 3c8acf8ee3 feat(database): table DDL for custom JDBC sources (#7564)
The JDBC bridge builds CREATE TABLE from JDBC metadata (columns, defaults, primary key, indexes, foreign keys) for custom drivers and reports whether a failure is unsupported, a permission problem or a database error.

Fixes #7451
2026-12-02 23:23:59 +08:00
l0ng-ai 0d94a8973e feat(html): highlight HTML inside template script blocks (#7563)
text/html and text/template script blocks get the HTML parser, and the fallback syntax checker ignores errors inside complete FreeMarker directives.

Fixes #7400
2026-12-02 23:23:45 +08:00
l0ng-ai 18f28cd804 feat(code-insight): compact Language Services status widget for the current file (#7562)
The status item is a compact icon whose badge reflects the active file's servers; the popup lists the current file's servers first, then the project's others, keeping restart, log and update actions.

Fixes #7489
2026-12-02 23:23:37 +08:00
l0ng-ai 37f2dd3ced feat(go): distinct colours for variables, calls, packages and types (#7561)
gopls semantic roles for variables, package qualifiers, calls and types map to distinct colours in every bundled theme and are exposed in the Go colour scheme settings.

Fixes #7487
2026-12-02 23:23:29 +08:00
Muuтаmuutot ba5eb92c70 fix(python): let a selected Ruff format below [tool.black] (#7476)
Choosing Ruff as the Python formatter had no effect below a pyproject.toml with [tool.black]: the formatter lookup picked Black whenever Black was enabled and configured, before it looked at which tool the user had selected. An explicit choice now wins. A selected Black formats Python even without [tool.black] and before a selected Ruff. A selected Ruff formats Python below [tool.black]. Without an explicit choice, [tool.black] still hands formatting to Black.

The Ruff and Black settings pages stay where they are, and their hints now say how the two choices interact.

Fixes #7178

Co-authored-by: muutot <[email protected]>
2026-12-02 23:23:23 +08:00
l0ng-ai bbbcf23c77 feat(vim): move through the completion list with Ctrl+N / Ctrl+P in Insert mode (#7525)
With Vim on Windows and Linux, Ctrl+N and Ctrl+P in Insert mode went to the IDE keymap (Go to
Class, Parameter Info) even while a completion list was open. While a list is open in Insert
mode they now move its selection, unless the user set a handler for the stroke; Normal and Visual
modes are unchanged.

Fixes #7418
2026-12-02 23:19:12 +08:00
Isaac Gallartтаigallart ac9f745dcf feat(navigation-bar): reveal folders in Project on double-click (#7545)
Double-clicking a folder in the navigation bar or in its dropdown now selects it in the Project
view, closes the popup and focuses the tree. A single click still opens the dropdown; a folder
row in the dropdown waits briefly before browsing so a double-click can land on it.

Closes #7555

Co-authored-by: igallart <[email protected]>
2026-12-02 23:18:59 +08:00
faysouтаfaysou 86cfabfbe4 fix(markdown): align split scroll within lists and paragraphs (#7189)
The Markdown split view interpolated within whole top-level blocks, so the preview could land on a
different passage than the source when a list or paragraph wrapped unevenly. List items now carry
their source line offset (nested items included) and plain paragraphs map lines through the text
range, so scroll sync aligns within them; other blocks keep the existing mapping.

Co-authored-by: faysou <[email protected]>
2026-12-02 23:18:47 +08:00
Onur Ugur 6b038245fd fix(color-scheme): show Language Defaults overrides on a language's comment attributes (#7473)
A language's comment attribute (JavaScript Line comment) resolved against the scheme without the
user's Language Defaults overrides, so turning italic off under Language Defaults left the
language page's Italic checkbox checked. resolvedAttribute now applies those overrides for
language-scoped attributes, as the editor does.

The plugin-theme part of #7453 was fixed by #7474; this PR keeps the remaining fix.

Co-authored-by: OnurrUgur <[email protected]>
2026-12-02 23:18:35 +08:00
l0ng-ai e985322f3a fix(ui): use the spacing scale for new 2px gaps (#7560)
Services deployment rows and the dev container resources panel used a literal gap: 2px, failing spacingScale.test.ts on main; both use var(--space-0-5).
2026-12-02 23:16:55 +08:00
RuyimgByCN 1f329cbc87 feat(tomcat): show Tomcat in Services with deployment controls and log tabs (#7494)
Tomcat run configurations appear in the Services tool window with their deployed artifacts, deploy/redeploy/undeploy controls and separate server and application log tabs. Deployment state follows the server's lifecycle output rather than the presence of context XML, failed operations stay visible across refresh, and Run and Debug route like other run configurations.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-02 23:04:31 +08:00
Onur Ugur 0f0cdd4672 fix(macos): route Cmd+` natively and drop spurious Cmd text insertion (#7436)
On macOS, Cmd+/ and Cmd+` left a character at the caret (`/` and a backtick under ABC, `、` and
`·` under Pinyin), and Cmd+` did not switch project windows: WKWebView's performKeyEquivalent
routed the key through NSTextInputContext before NSMenu. WryWebView's performKeyEquivalent now
dispatches window.next / window.previous for Cmd+` / Cmd+Shift+`, and insertText is dropped for a
Command key-down without marked text. A frontend guard drops text beforeinput events right after
a Command key-down as a fallback.

Closes #7334

Co-authored-by: OnurrUgur <[email protected]>
2026-12-02 23:02:11 +08:00
audichuang 875b17938e fix(macos): wait for windows to finish leaving full screen before Merge All moves tabs (#7480)
Merge All Project Windows invoked from a group in native full screen aborted the app: tabs were
moved with `addTabbedWindow` while the full-screen exit animation was still running, and AppKit
threw. `merge` now waits (up to 3 s) for the windows that were in full screen, or already leaving
it, to finish, then re-checks the candidates before moving tabs.

Co-authored-by: audichuang <[email protected]>
2026-12-02 23:01:45 +08:00
audichuang 6820d27af5 fix(macos): keep the window group's selected tab when the Window menu switches tabs (#7462)
Picking another tab of a project window group from the macOS Window menu switched tabs in
AppKit without going through `window_groups::select`, so the group's saved selection stayed on
the previous tab and the group reopened on it after a restart. When a tab gains focus while its
native tab group shows it and holds every member of the model's group, the model's selection now
follows, emits the same events and persists as `window_group_select` does.

Co-authored-by: audichuang <[email protected]>
2026-12-02 23:01:31 +08:00
LU XIANGRUIтаwildcatDownstairs 02aa916a26 fix(xcode): show a short command line instead of the run's launch script (#7485)
An Xcode run or debug session printed its whole generated `/bin/sh -c 'set -e ...'` launch
script as the console's first line. `RunExtras` gains a `display` override (never saved or sent
to the frontend) that `invocation()` echoes instead of the real command line; `xcode::prepare`
sets it to the xcodebuild build plus what happens to the app (install & launch on a simulator or
device, or launch on the Mac). The real command line is still logged at debug level.

Closes #7483

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-02 22:49:26 +08:00
solhovoy a7b9529109 feat(bookmarks): start the Bookmarks tree collapsed and reveal new bookmarks (#7532)
The Bookmarks tool window tree starts collapsed and expands just enough to reveal a newly added bookmark. Expansion state is kept per tree, and a bookmark replaced by an edit is not treated as new.

Co-authored-by: solhovoy <[email protected]>
2026-12-02 22:44:07 +08:00
Yohann CATHERINEтаyohannlog 0303a513cd feat(cmake): Reload CMake Project and Reset Cache and Reload (#7537)
Adds Reload CMake Project, which configures the active profile again and refreshes its targets and compile_commands.json, and Reset Cache and Reload CMake Project, which first deletes the build directory's CMakeCache.txt and CMakeFiles through the new cmake_reset_cache command and keeps the build type the cache held. A failed delete is reported and nothing is configured. Both are in a Build > CMake submenu shown while the project has CMake configurations, in Find Action and in the title-bar CMake profile switcher; the configure output shows in the Run window.

Co-authored-by: yohannlog <[email protected]>
2026-12-02 22:05:29 +08:00
l0ng-ai a2bf7fb0c4 refactor(terminal): remove selection occurrence highlights
Selecting text in the terminal no longer highlights its other visible
occurrences; Find (⌘F) covers this with match counts and navigation.
Removes the terminal.highlightSelection setting and its toggle.
2026-12-02 22:05:18 +08:00
Yohann CATHERINEтаyohannlog 17dd723a3d feat(cpp): generate constructors, accessors and operators in C++ classes (#7536)
Generate (Cmd+N / Alt+Insert) in a C++ class or struct now offers Constructor, Getter, Setter, Getter and Setter, Equality Operators and Stream Output Operator next to clangd's own generate actions. Fields are picked in the member chooser and the members are written at the end of the class in a public section; accessors with no field left to write are listed greyed out with the reason. Stream output adds #include <ostream> when no stream header is included. Headers opened as C get the entries when they hold C++ code, and clangd's "Declare implicit copy/move members" now counts as a generate action.

Co-authored-by: yohannlog <[email protected]>
2026-12-02 21:59:57 +08:00
Isaac Gallartтаigallart f1097831d7 fix(project-tree): smooth scrollbar thumb dragging (#7541)
Dragging the vertical scrollbar thumb in a large tree could stutter: every pointer move updated the virtual rows and remeasured the scrollbar, and the tree remeasured the widths of rows that stayed mounted. The thumb drag now applies the latest pointer position once per frame (and on release), reuses the scrollbar geometry while dragging, and the tree measures only new or resized rows on scroll, remeasuring all of them when its content changes.

Closes #7543

Co-authored-by: igallart <[email protected]>
2026-12-02 21:57:32 +08:00