Графік комітів
767 Коміти
Автор SHA1 Повідомлення Дата
科里亚таl0ng-ai 13b8024588 fix(titlebar): do not start a stuck window drag when activating on Windows (#7146)
* 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]>
2026-12-05 22:16:16 +08:00
LU XIANGRUIтаwildcatDownstairs 65545d3563 feat(svn): rework the Subversion tool window tabs: Incoming, Update Info and Working Copies (#8212)
Reworks the Subversion tabs of the bottom version control tool window:

- Incoming lists the revisions committed after the working copy's BASE (new svn_incoming_revisions command, svn log -v BASE+1:HEAD per working copy) in one tree grouped by date or user, with the selected revisions' files beside it, an icon toolbar (Refresh, Show Details, Update Project, Filter by, Group by, Expand/Collapse All, Copy Revision Number), a context menu and per-file diffs between N-1 and N. It is now the first tab.
- After an SVN update, a "{n} Files Updated" balloon with View opens an "Update Info: {time}" tab: Update Project > Updated from server > Updated / Created / Deleted / Restored, then Skipped, conflicts, Merged, Not in repository, Replaced, parsed from svn update's file lines, with group-by-package and by-changelist, Jump to Source, Delete and before/after-update diffs.
- Subversion Working Copies Information: vertical Refresh toolbar, copies sorted by path, decoded URLs, the format shown as its release with Change running svn upgrade --compatible-version (new svn_upgrade command), Depth Fix running svn update --set-depth infinity, External/Switched/Working copy root markers, Cleanup / Configure Branches / Merge From... links, and a detection-error balloon with Fix it. A new Show Working Copies action selects the tab.
- The console's empty state names Subversion in an SVN-only project, the stripe uses the version control icon for every VCS, and new strings are in en and zh.

Refs #7433

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-05 19:08:39 +08:00
l0ng-ai 7d30d23a56 feat(agents): redesign composer controls, branch switching, and worktree reuse (#8167)
* feat(agents): redesign composer controls, branch switching, and worktree reuse

* fix(agents): address PR #8167 review findings for worktree safety, branch checkout, and composer UX
2026-12-05 14:03:16 +08:00
LU XIANGRUIтаwildcatDownstairs 749c34df7a feat(plugins): add views.set-badge API for plugin tool window badges (#8165)
Adds `views.set-badge` (`host::set_view_badge`) to plugin API 1.21: a plugin sets or clears a short badge on the stripe icon of one of its declared `[[contributes.views]]` tool windows, per invoking window, without a capability. Text is at most 4 characters (no control characters), numbers above 99 show as "99+", and `None`, "" or "0" clear it. Badges are dropped when the plugin is disabled, reloaded or uninstalled and when the window closes; a window reads the current set with `plugin_view_badges` and follows `ViewBadgeChanged` events. Plugin views reuse the workbench `StripeBadge` (honouring Show tool window badges); grouped views show each member's badge on its tab and an aggregate on the stripe.

Closes #8006

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-05 13:58:37 +08:00
astesiaтаkirito1105 05a88394fb feat(plugins): Project view panes and Git branch menu commands (API 1.21) (#7980)
Plugins can add panes to the Project tool window and commands to the Git branch menus:

- `[[contributes.projectViewPanes]]` with the `project-view-provider` export regroups a directory's native children under virtual folders. Existing nodes keep their icons, Git status and actions. `project-view.refresh` / `select-in` and `projectViewContext` menu items work against these panes. Requires `project.read`.
- `git.branches.popup` and `git.branch.context` menus. `invocation.git-action-context` gives the command the repository roots and the full ref of the clicked branch. Requires `vcs.read`.
- `views.open-revision-comparison` opens the IDE's comparison of two full commit IDs as a Compare tool window tab, the same one Compare Versions opens. The repository must be a mapped Git root of the invoking trusted project. Requires `vcs.read`.

All of this is part of plugin API 1.21. A project-view test fixture and host tests cover the provider, the branch menu context and the comparison call. The plugin components and bindings are rebuilt.

Co-authored-by: kirito1105 <[email protected]>
2026-12-05 12:24:10 +08:00
l0ng-ai 455e32ab76 refactor(agents): replace per-file memory controls with native-only auto-memory controls (#8068)
* refactor(agents): replace per-file memory controls with native-only auto-memory controls

* test(e2e): update agentComposerPopup memory catalog fixture

* fix(agents): add missing memory i18n keys, valid spacing token, and rollout count
2026-12-05 11:51:00 +08:00
Mario Serrano Leonesтаmarioserrano09 ef986fbeca fix(updates): install RPM updates with --nosignature on RPM 6 (#7268)
In-app updates of the RPM build failed on Fedora 43+ (RPM 6), which refuses packages without an OpenPGP signature; the release RPMs carry none and the plugin's error was swallowed. On Linux RPM installs the IDE now runs `pkexec rpm -U --nosignature` itself: the update has passed the updater's minisign check and rpm still checks the payload digests. The verified bytes are written to a new file in a private (0700) temporary folder for rpm rather than re-read from the download cache, and rpm's message goes into the error and the log, as do other install failures. --nosignature can go once CI signs the RPMs.

Co-authored-by: marioserrano09 <[email protected]>
2026-12-05 10:47:55 +08:00
Serbin Yaroslavтаwislert 6d576e8ff5 fix(macos): ask for camera and microphone access instead of denying it silently (#8104)
Programs started from the IDE (terminal, run configurations) and web views could never use the camera or microphone on macOS: the request was refused without a prompt and OpenIDEA was never listed under Privacy & Security. The bundle now declares NSCameraUsageDescription and NSMicrophoneUsageDescription (src-tauri/Info.plist, merged by Tauri) and the hardened runtime gets the com.apple.security.device.camera and device.audio-input entitlements, so macOS asks the user instead.

Co-authored-by: wislert <[email protected]>
2026-12-05 10:34:47 +08:00
Alexandro Trevisanтаl0ng-ai 579ce3f731 feat(run): choose the run device from plugin device providers (#7822)
* feat(run): choose the run device from plugin device providers

Plugins can declare device providers (`[[contributes.devices]]`): a program
that lists simulators, emulators or phones as JSON, the run configurations
it applies to, and how a chosen device reaches the run (extra arguments,
environment, an optional prepare step that boots it). The title bar shows a
device chooser for the selected configuration; Run and Debug prepare the
chosen device first. Before-launch and build-on-update runs skip the device.

* feat(plugins): document run devices and require plugin API 1.21

`[[contributes.devices]]` now needs `engines.openidea = "^1.21"` and uses
camelCase fields (`appliesTo`, `runArgs`) like the other run contribution
points. The plugin README, the manifest reference and the API versions page
(en/zh) describe it, and `plugins/official/android-devices` is a small
example that lists the devices adb sees for Gradle install tasks.

* fix(plugins): harden device runner process handling, guard refresh races, verbatim headers, and add en.json entries

* fix(plugins): use portable process:sh capability in android-devices example and README

---------

Co-authored-by: l0ng-ai <[email protected]>
2026-12-05 09:34:41 +08:00
LU XIANGRUIтаwildcatDownstairs 71ded3e4c0 feat(dotnet): show the .NET SDK a project uses and pin it in global.json (#7740)
Adds Settings › Languages & Frameworks › .NET: the SDK `dotnet --version` resolves in the project folder (so global.json and rollForward apply), the installed SDKs, and the global.json being read, also from a parent folder. Choosing a version writes sdk.version to the project folder's global.json, creating it if needed and keeping every other byte (comments, BOM, layout). A pinned version that is not installed and a global.json that does not parse are called out; depending on the SDK, dotnet ignores such a file (10.0.401) or fails to start (10.0.404). Both commands are refused in Restricted Mode. The Rust CI job installs the .NET 10 SDK (actions/setup-dotnet pinned to v5.4.0) for the real-CLI test.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-05 09:32:11 +08:00
nako-ruruтаnako-ruru 7d4d0cb921 feat(cli): print the build id on --version (#7129)
`openidea --version` prints a second line `Build #<id>` from `OPENIDEA_BUILD` at compile time (`dev` when unset, like the About dialog). The release build job now sets `OPENIDEA_BUILD` to the commit SHA, so official builds report it in About and on --version instead of `dev`.

Co-authored-by: nako-ruru <[email protected]>
2026-12-05 09:06:15 +08:00
audichuangтаl0ng-ai 61a4118921 fix(project-tree): select java-analyzer library files under External Libraries (#8119)
* fix(project-tree): select java-analyzer library files under External Libraries

* fix(project-tree): prefer the reported binary jar; ask only running servers

* fix(project-tree): select stubs of class directory libraries

* test: record lsp_library_source_origin in the command snapshot

* test(ide-lsp): build the source origin test's paths per platform

* fix(project-tree): skip virtual URIs in sourceOrigin lookup and normalize class dir slashes

---------

Co-authored-by: l0ng-ai <[email protected]>
2026-12-05 08:55:06 +08:00
Deng Liuтаdengliu 1eb91d4cef feat(services): add live 2x2 container resource charts to Docker Dashboard (#8123)
The container Dashboard's Resource Usage rows showed only the last 3-second docker stats reading, so spikes, memory growth and I/O bursts were invisible. They are replaced by a live, synchronized 2x2 grid of CPU, memory, disk I/O and network I/O charts fed by a new docker_container_stats_stream command (Engine API stats stream, falling back to streaming docker stats). A toolbar picks the 1/5/15-minute window, rate or total I/O, auto or limit memory scaling, and pauses or clears; hovering or the arrow keys move one crosshair across all four charts, and the last session's history stays visible after the container stops. Adds the --chart-series-secondary token.

Co-authored-by: dengliu <[email protected]>
2026-12-05 04:53:02 +08:00
RuyimgByCN 42ba15665b feat(plugins): add run.output events and console link rules (#8118)
Plugin API 1.21 adds ui.set-console-links: regex rules (validated like console highlight rules) that make matches in Run and Debug console output clickable and run one of the plugin's declared commands with { text, line, argument }; built-in file and URL links win where they overlap. It also adds the run.output capability: plugins subscribed to run-output receive the output of runs and debug sessions started in trusted projects, in chunks of at most 16 KiB, and nothing is wrapped while no plugin subscribes. Includes SDK types and MockHost support, a fixture plugin with a host integration test, regenerated bindings, rebuilt plugin components, the capability's description in the text catalog, and a README section.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-05 03:54:28 +08:00
84ae5bb179 fix(windows): open every auxiliary window with keyboard focus in its content (#8113)
A diff opened with Show Diff in New Window came up with nothing focused, so the first F7 / Shift+F7 did nothing until a click; the comparison window's file tree took no keys either. installInitialFocus now runs for every auxiliary window: it tries focus candidates ([data-autofocus], editor hosts, trees, grids, lists, editor text) until one accepts focus, restores focus when the focused content is replaced (the next diff), skips disabled, hidden and inert content, and stops once the user acts. The diff window's body forwards focus to the diff editor and the comparison tree is marked as its window's focus target.

Also forgets a closed window's cached menu state.

Refs #7250. Supersedes #7282.

Co-authored-by: albince-mi <[email protected]>
Co-authored-by: arookieofc-ai <[email protected]>
2026-12-05 02:39:21 +08:00
f49302d365 fix(windows): stop menu items doing nothing in diff and other auxiliary windows (#8112)
Auxiliary windows (diff, comparison, editor, Sync with Deployed) boot a fixed set of features, so application actions they never register looked enabled in the menu but did nothing, some key equivalents were dropped because the page appeared to decline them, and Sync with Deployed had no menu bridge. Application actions now run in the project window (raised when it shows their result), Toggle Full Screen stays in the focused window, and menu enablement is cached per window so parent-routed items follow the destination window's state.

Supersedes #7280.

Co-authored-by: albince-mi <[email protected]>
Co-authored-by: arookieofc-ai <[email protected]>
2026-12-05 02:38:47 +08:00
35f525dbde fix(windows): let ⌘` reach diff and other auxiliary windows (#8111)
Next / Previous Window only stepped through project windows, and auxiliary windows did not register the actions, so a diff opened with Show Diff in New Window could never be reached or left with the keymap. windows::cycle now steps through every open window, each project window followed by its shown auxiliary windows; auxiliary windows register the actions and route the menu item to the backend cycle, while project windows keep it in their own page.

Supersedes #7279.

Co-authored-by: albince-mi <[email protected]>
Co-authored-by: arookieofc-ai <[email protected]>
2026-12-05 02:37:28 +08:00
l0ng-ai d48146f52d fix(agents): keep agent_refresh_models off the main thread and cache newest_install (#8070)
Opening the New Agent Task page froze the UI when a native agent such as Codex had several installs on PATH: agent_refresh_models was a synchronous command, so it resolved provider specs and ran <agent> --version for every candidate on the main thread, while agent_commands, agent_probe and catalog completion repeated the same blocking lookup on Tokio workers. agent_refresh_models now runs on the blocking pool, the remaining provider_specs / resolve_for_launch / catalog requests move to spawn_blocking, and newest_install probes candidates in parallel with a per-binary cache (canonical path, mtime, size, inode; 60 s) and single-flight deduplication.
2026-12-05 01:59:50 +08:00
l0ng-ai 5b1e4a31f2 fix(remote-dev): show remote project loading inside its new tab (#8055)
* fix(remote-dev): show remote project loading inside its new tab

* fix(remote-dev): preserve active remote session on cancel and style grouped Welcome tabs
2026-12-04 23:32:03 +08:00
a5f958d544 fix(windows): roll back failed macOS tab joins (#8036)
* fix(windows): roll back failed macOS tab joins

* fix(windows): notify on join rollback, preserve existing groups, and show standalone fallback

---------

Co-authored-by: arookieofc <[email protected]>
Co-authored-by: l0ng-ai <[email protected]>
2026-12-04 23:19:54 +08:00
arookieofc-ai[bot]таarookieofc-ai 67c00a986a feat(plugins): add clone sources to the Clone Repository dialog (#7948)
[[contributes.cloneSources]] (API 1.21) adds an entry to the Get from VCS source list whose required web page lists repositories and hands the chosen one to the dialog with {"op": "clone-url", "url": …}. The page is served and messaged like other plugin web UI under the key cloneSources/<id>; the dialog fills its URL and directory and git only runs what the user confirms. The standalone Get from VCS window registers only this contribution point. plugin_web_page and plugin_view_event now also run in projectless windows (outside_restricted); Restricted Mode still runs no plugin UI or code. Docs list the point under API 1.21.

Fixes #5572

Co-authored-by: arookieofc-ai <[email protected]>
2026-12-04 20:46:11 +08:00
Isaac Gallartтаigallart 091dd85ef0 fix(vcs): use symlink target history in the editor (#7891)
The repository scan skips symlinks, so a file opened through a file symlink or a symlinked directory whose target lies outside the registered Git roots had no Git Blame or change markers, even when Git tracked the target. Read-only editor commands (blame, line hunks) now use the target's repository, discovered with the restricted read policy and never registered for status or Commit; excluded mappings and a disabled Git integration are honoured. The editor probes once per open file whether the link has committed history: only then do Annotate and the markers apply, and ordinary files in projects without Git make no further backend calls on edits.

Co-authored-by: igallart <[email protected]>
2026-12-04 18:57:51 +08:00
l0ng-ai 8a92a7b10c fix(remote): trust the projects of a trusted remote folder on this machine too (#7977)
Trust Folder in a remote window trusted the parent folder on the server, but this machine kept only the one project's decision, so opening another project in that folder asked again. The desktop now records trusted folders per remote target and treats projects under them as trusted (an explicit Don't Trust still wins); Remove Trusted Location in a remote window forgets the folder here too. Existing per-project decisions keep their key.

Refs #7929
2026-12-04 15:40:44 +08:00
l0ng-ai 2b0cc6b733 fix(dotnet): build, clean and restore .NET projects in the Build window (#7922)
Build, Restore and Clean .NET Project ran dotnet as a background task of the .NET tool window, with no Build window output, no status bar progress and no notification; the output appeared only in the NuGet Packages window afterwards. They now run through a new build_dotnet_command host command on the shared .NET build runner, so output and errors stream into the Build window, Stop Build cancels, Rerun repeats, and a notification reports the result. The selected project is re-evaluated (and audited after a restore) only when the command succeeds.

Fixes #7853
2026-12-04 10:38:02 +08:00
LU XIANGRUIтаwildcatDownstairs a223f3e6b2 feat(dotnet): run with dotnet watch and publish projects from the IDE (#7910)
A .NET Project run configuration gains a Run with dotnet watch option: dotnet watch --non-interactive in the same Run tab, with launch profiles still applied and the terminal emulated so Stop ends the watcher; Debug and tests run without it.

C#, F# and Visual Basic projects gain Publish .NET Project...: choose a folder publish profile (server and container profiles are not listed), or set configuration, framework, runtime, self-contained and output folder. dotnet publish streams into the Build tool window, can be cancelled and rerun, through a new build_dotnet_publish command sharing the dotnet format runner.

Closes #7900

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 10:20:08 +08:00
LU XIANGRUIтаLU XIANGRUI 9c73f7d784 feat(updates): choose the update channel (Stable / Nightly) (#7684)
* feat(updates): choose the update channel (Stable / Nightly)

- Settings › System Settings › Updates gets an Update channel select next to Update source
- Its default follows the running build; nightly is on GitHub only, stable keeps the CNB mirror
- OPENIDEA_UPDATE_ENDPOINT still overrides both channels

* fix(updates): shorten the update channel hint so Check Now stays in view

- At 520px wide and 680px high the long hint pushed Check Now out of the Settings dialog
- The Updates e2e also checks that Update channel sits between the automatic check and Update source

---------

Co-authored-by: LU XIANGRUI <[email protected]>
2026-12-04 10:52:08 +09:00
Bruno Valladares 5bfdaf679d feat(plugins): reload linked plugins when their files change (#7888)
Plugins linked with openidea-plugin link are read in place, but edits showed only after Reload. Each linked folder is now watched (.git, target, node_modules and editor temp files ignored); a change wakes the plugin event pump, which reloads the plugin under the lifecycle lock. Installed and project plugins are not watched. A reloaded plugin that provides the selected theme restyles in place: the theme setting is reconciled after the contribution swap instead of in between, so the IDE no longer drops to the built-in theme.

Co-authored-by: Bruno0416 <[email protected]>
2026-12-04 09:10:21 +08:00
arookieofcтаarookieofc 68a322edad feat(web): add built-in HTTP /api/file/<path>:<line> server (#7360)
The built-in server now listens on a configurable loopback port (Settings > Build, Execution, Deployment > Debugger > Built-in Server, default 63342, falling back to the next free ports) and opens /api/file/<path>[:line[:column]] in the project window that holds the file. Paths resolve root-relative, under common source roots, or through the project's file-name index with a suffix match, and never leave a project root.

Requests from a web page (Origin, Referer or Sec-Fetch-Site) ask for confirmation in the project window first; an allowed origin is remembered for the session. Requests with a non-loopback Host are refused.

Browser previews keep a random port per root, so a fixed port never hands one project's browser storage to another.

Co-authored-by: arookieofc <[email protected]>
2026-12-04 04:26:18 +08:00
Deng Liuтаdengliu a050a8054f fix(macos): honor keepAliveInBackground without requiring autoStartService (#7872)
Closing the last window on macOS kept the app alive for local automations only when autoStartService was also on. That setting is off by default while keepAliveInBackground is on, so with default settings the app quit and scheduled automations stopped. The app now stays alive while keepAliveInBackground is on and there are enabled schedules or in-flight runs.

A project retained headlessly on window close now keeps its internal automation watchers subscribed and drops only the window's UI sinks, so runs still record completion after the window closes.

Co-authored-by: dengliu <[email protected]>
2026-12-04 04:02:34 +08:00
RuyimgByCN 52e81f8158 feat(svn): add Incoming and Working Copies tabs, Configure Branches and Compare with Branch (#7355)
Adds an Incoming tab listing the changes an update would bring (with local edits and locks), a Working Copies Information panel that also lists switched descendants and offers Show Log, Update Project, Cleanup, Relocate, Switch to URL, Compare with Branch and Configure Branches for each working copy, per-root branch layouts shared by browsing, switching and merging, Switch to URL with revision, depth and ignore-ancestry options, and Compare with Branch for the selected working item against its counterpart on another branch.

The Working Copies panel replaces the earlier read-only view of the same tab. URL and revision validation is shared with the repository browser.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-04 03:42:45 +08:00
RuyimgByCN 7cca129a8e feat(svn): add a repository browser, Export dialog and checkout depth/revision options (#7353)
Adds a Subversion repository browser (list, history, preview, checkout, export, and remote copy/mkdir/delete) that keeps the selected revision through every view and disables remote changes in historical ones, an Export dialog with depth, externals and an explicit overwrite choice, and revision/depth/externals options for Subversion checkout.

Child URLs are built from encoded path segments, listings are keyed by URL and revision so a stale response cannot replace a newer one, historical paths are pegged at their revision, and a file preview checks its size before downloading. The Export dialog's fields share one grid so they line up.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-04 03:20:21 +08:00
RuyimgByCN 006ab617e8 feat(svn): add svn:ignore UI, properties diff and presets, cleanup/unlock/update options and Copy URL (#7347)
Adds Subversion working-copy operations: an svn:ignore dialog that adds names or patterns to the parent directory's property (escaping literal names, grouped by parent), a properties view with diffs and common presets, Cleanup with scoped options that skip nested VCS directories, Unlock, Update with revision/depth/externals options, and Copy URL.

Backed by new ide-svn operations and ide-host commands with tests; the Update dialog's revision and depth fields share one grid so they line up.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-04 03:02:06 +08:00
l0ng-ai fbc4c51c8f test: list maven_local_repository in the command snapshot (#7871)
#7719 added the command without updating src-tauri/tests/commands.snap.
2026-12-04 02:57:34 +08:00
l0ng-ai 75c57e2691 feat(branding): use the gradient OpenIDEA logo (#7618)
Replace the OpenIDEA mark with the gradient ring artwork on the startup, welcome, About, clone and project-opening screens, in the OS icon bundle and in the documentation branding. The in-app logo is a bundled asset so it resolves under a Web IDE subpath. Dogfood keeps a greyscale version of the same artwork, and the Rust build tracks the embedded icon inputs so icon-only changes rebuild the development Dock icon.

Closes #3948
2026-12-03 21:59:06 +08:00
RuyimgByCN b83c1a60c2 feat(plugins): run lifecycle events, run.stop, configuration upsert, Java debug attach, log tail tabs and console toolbar (API 1.21) (#7776)
Plugin API 1.21:
- run-started events, and run-exited for user-launched plugin configurations (plugins on API 1.21 only).
- run.stop(id) for runs of the plugin's own configurations; run.upsert-configuration and run.open-edit-configurations for the plugin's own run configuration types.
- prepareCommand receives the run/debug mode; plugin configurations can declare a loopback JDWP attach target.
- runConfigTypes.ownsBeforeLaunch, log file tabs in the run console (plugin_run_log_tail, authorised by the plugin's project.read / fs.read grants), and the runConsole.toolbar menu in the Run and Debug consoles.

Review fixes: RunView log tab state keyed by the string session id, tail chunks cut on a UTF-8 boundary, user-run exits gated to API 1.21.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-03 20:29:31 +08:00
audichuang 954180beb0 feat(java): Spring bean gutter icons between beans and injection points (#7589)
Java files in Spring projects get gutter icons between beans and the places they are injected: an injection point (field, constructor or @Bean method parameter) navigates to the beans it receives, and a bean declaration to its injection points. One target jumps straight there; several open the inheritance chooser, with candidates marked. The editor asks once per file for a server-independent SpringBeanMarker shape, cancels stale requests and asks again after edits, when the server reports changed markers, or when a server settles or stops. java-analyzer is the first source (java-analyzer/springBeanMarkers, declared in its experimental capabilities); without such a server nothing is requested. Icons follow Gutter Icons, excluded folders and the server's features.

Refs #7140

Co-authored-by: audichuang <[email protected]>
2026-12-03 19:51:27 +08:00
ntbang0901 72e1d6afc1 fix(project-tree): never lose an existing file to a copy or paste (#7772)
Copy or Save As of an open file onto a taken name in a folder the tree had not loaded replaced that file without asking, because the Copy dialog only knew loaded folders and copy_as overwrote its target. The dialog now reads the folder, and copy_as refuses any existing target. Pasting a file from the OS clipboard into its own folder (or dropping it there through another path) and choosing Overwrite trashed the source itself; such a file now gets a copy next to it, checked with a new fs_same_file command, and an overwrite whose import fails or is cancelled restores the old file.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-03 18:32:44 +08:00
LU XIANGRUIтаwildcatDownstairs fa0783ab03 feat(python): search in comments and strings when renaming a symbol (#7679)
The Python Rename dialog offers Search in comments and strings (off by default, remembered; in-place rename follows it). Whole-word, case-sensitive matches in comments and string text are merged into the language server's workspace edit, so they preview, apply and undo with it; a rename that gains text matches is always previewed with the matches under Non-code usages, and applying fails if a matched file changed after the preview. Locals and parameters are searched in their function, other symbols in the project's .py / .pyi files including unsaved buffers; symlinks leading out of the project are skipped.

Refs #4968

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-03 17:23:45 +08:00
LU XIANGRUIтаwildcatDownstairs 14ed7aa647 feat(csharp): format with CSharpier and run dotnet format (#7645)
In a project that uses CSharpier (a dotnet tool manifest entry, or a .csharpierrc* / .csharpierignore with CSharpier installed), Reformat Code and format on save of a whole .cs file run CSharpier; selections and other projects keep the language server. CSharpier 0.x uses its pipe protocol. Solutions and projects get Run dotnet format and Verify dotnet format (No Changes) in the Project view and Find Action, with output in the Build window. The real SDK tests are ignored by default.

Closes #7626

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-03 16:58:35 +08:00
Sameh Elhawaryтаsamehelhawary 92c71837cb feat(debugger): debug PHP in a Docker or Compose run target with Xdebug (#7613)
PHP configurations that run in a Docker or Compose run target can be debugged. The debugger listens first on a free port with the container's mounts mapped (run_container_xdebug), then the run starts with XDEBUG_MODE=debug, XDEBUG_SESSION=1 and XDEBUG_CONFIG pointing at host.docker.internal (docker run gets --add-host host-gateway); the debug session is linked to the run and stops with it. Install and Debug after installing php-debug repeats the whole flow. PHP on SSH targets stays refused.

Refs #4582

Co-authored-by: samehelhawary <[email protected]>
2026-12-03 16:12:19 +08:00
Sameh Elhawaryтаsamehelhawary a8773a196c feat(php): show the version and Xdebug of a container run target's PHP (#7612)
When PHP runs in a Docker or Compose run target, Settings › PHP shows the version and Xdebug of the PHP in the container instead of this machine's. The IDE runs the target's PHP once in a removed container (entrypoint and service dependencies skipped, XDEBUG_MODE=off), keeps the answer per project and target configuration, and reads it again on refresh. php_probe_args shares the run/compose run part with the Python probe.

Refs #4582

Co-authored-by: samehelhawary <[email protected]>
2026-12-03 15:54:37 +08:00
Deng Liuтаdengliu 637e227efa feat(agents): browse and install MCP servers from an MCP Registry (#7627)
Add an in-app MCP Registry browser to Settings › Agents › MCP Connections. It searches an open MCP Registry (v0.1, falling back to v0) — the GitHub MCP Registry by default, the official registry or a custom https URL — with infinite scroll and server icons. Servers install to Global or Project scope in one click when no input is needed, or through a dialog that asks for variables and secrets and confirms a missing local runtime. Installed servers record their registry name and URL.

Agent Plugins also offers two suggested marketplaces to browse or add when they are not registered yet.

Co-authored-by: dengliu <[email protected]>
2026-12-03 14:07:19 +08:00
l0ng-ai ceb020857a chore: v0.1.57 2026-12-03 12:09:33 +08:00
l0ng-ai db57c0961e fix(svn): require a trusted project to read a repository file at a revision (#7615)
svn_repository_file_at contacts the working copy's repository, like svn_repository_info, so
Restricted Mode no longer allows it. Fixes the Restricted Mode VCS command
sweep that failed on main.
2026-12-03 08:14:45 +08:00
l0ng-ai af2e515d0f fix(svn): file history diffs, annotation details and new-file confirmation (#7606)
SVN annotation menu named the right system; single-revision history and cross-working-copy log diffs use each path's own previous revision and read paths outside the checkout from the repository; annotation details look up the requested revision; new SVN files follow the When files are created confirmation setting. Refs #7433.
2026-12-03 05:43:01 +08:00
Furkan Şahin Kulaksız 5ae211ecd6 feat(plugins): add syntax-aware editor decoration providers (#7579)
Adds an optional syntax-decorations-provider export on plugin API 1.20: a plugin paints foreground colours on ranges of an open text editor from a bounded slice of the editor's own syntax tree (no second parser). A mark is a theme token (rainbow-1 … rainbow-5, mapped onto --syn-rainbow-*) or its own dark and light colours (#rrggbb / #rrggbbaa, the set-styled format; SyntaxMark::colored in the SDK). The host validates the snapshot, drops marks with unknown tokens or invalid colours, debounces and cancels superseded requests, and the editor stylesheet picks the dark or light colour, so a theme change does not ask the plugin again. Sticky Scroll lines keep the marks.

Co-authored-by: fsk <[email protected]>
2026-12-03 03:52:27 +08:00
l0ng-ai 55274d2dd1 feat(agents): install a built-in agent's CLI from Agent Setup, also on remote hosts (#7600)
Agent Setup offers Install CLI for a built-in agent whose CLI is missing, showing the host and exact command; it runs as a cancellable job on the project host and enables Sign In once the launcher is verified. npm packages cover nine built-ins, vendor installers the rest; update checks work in remote windows.

Fixes #7581
2026-12-03 03:44:57 +08:00
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 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
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