Графік комітів
584 Коміти
Автор SHA1 Повідомлення Дата
LU XIANGRUIтаwildcatDownstairs cff33ee70d feat(dotnet): run .NET tests with coverage (#7736)
Run with Coverage now works for `dotnet test` configurations: VSTest projects collect with coverlet.collector, Microsoft.Testing.Platform projects with Microsoft.Testing.Extensions.CodeCoverage (Cobertura output). The runner is chosen from global.json's test.runner and an MSBuild evaluation of the project; a test project without the package gets an Install notification that runs `dotnet add <project> package …`. Each run writes to its own results directory and the reports of every test project are merged (the TRX logger's copies are not counted twice). Cobertura branch flags are read case-insensitively (coverlet writes `True`). The Rust CI job's .NET 10 SDK step now also serves ide-coverage's real-CLI test.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-05 09:51:24 +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
LU XIANGRUIтаwildcatDownstairs 59397c4842 feat(profiler): profile Python allocations with memray (#7699)
Profile '…' Allocations now works for Python scripts, modules and pytest configurations on macOS and Linux. The run is tracked by memray in the project's interpreter through python_profile.py (trace_python_allocators on), the capture is read with `memray transform csv` with the project folder kept off sys.path, and the snapshot shows what was allocated at peak memory in the existing allocation views. When memray is missing, the Install notification offers pip / uv / poetry / pdm. Live objects stay JVM only; Windows and run targets are refused with a reason. The Rust CI job installs memray 1.21.0 in a venv on GitHub-hosted macOS and Linux runners so the real-memray tests run there.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-05 09:18:18 +08:00
76cb012b92 feat(cmake): use a Visual Studio toolchain's environment (vcvarsall) (#7956)
* feat(cmake): use a Visual Studio toolchain's environment

Supersedes #4051.

Co-authored-by: Bert Verhelst <[email protected]>

* fix(cmake): compact long PATH for vcvarsall, run toolchain_check off async thread, regenerate bindings and clean stale zh keys

---------

Co-authored-by: arookieofc <[email protected]>
Co-authored-by: Bert Verhelst <[email protected]>
Co-authored-by: l0ng-ai <[email protected]>
2026-12-05 09:14:16 +08:00
Mark Renier B. Fostanesтаmrfost07 11db5c34d9 docs(plugins): refresh the marketplace catalog (#7873)
Regenerates docs/snippets/plugin-catalog.jsx from the published plugin index with scripts/gen-plugin-catalog.ts (now 200 plugins from 110 publishers; it was last generated with about 100).

Co-authored-by: mrfost07 <[email protected]>
2026-12-05 09:09:17 +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
l0ng-ai 6a1cd830f5 docs(install): state the Linux minimum: glibc 2.35 and WebKitGTK 4.1 (#8109)
The Linux install section now states the minimum (glibc 2.35 and WebKitGTK 4.1, as in Ubuntu 22.04 and Debian 12 or later), explains that the AppImage bundles WebKitGTK but not glibc or libstdc++, and names the unsupported distributions (RHEL 9 and rebuilds, Debian 11 and older derivatives).
2026-12-05 02:24:13 +08:00
RuyimgByCNтаl0ng-ai bc019ace9d feat(plugins): add database schema discovery and query execution APIs (API 1.21) (#7958)
* feat(plugins): add database schema discovery and query execution APIs (API 1.21)

* docs(plugins): list API 1.21 database discovery and query additions in versioning

* fix(plugins): address database discovery/query review findings and rebuild dist

---------

Co-authored-by: l0ng-ai <[email protected]>
2026-12-04 23:38:50 +08:00
Michał Dobaczewskiтаl0ng-ai 4aeeb4d883 feat(agents): duplicate a built-in agent to run it with its own configuration (#8048)
* feat(agents): duplicate a built-in agent to run it with its own configuration

* fix(agents): preserve instance launch command, login secrets, provider cache, and reactive icons

---------

Co-authored-by: l0ng-ai <[email protected]>
2026-12-04 23:19:46 +08:00
audichuang 1a6c0dff36 ci: run the Kotlin smoke against kotlin-lsp 271.3588.0 (#8034)
* ci: run the Kotlin smoke against kotlin-lsp 271.3588.0

* docs(smoke): list kotlin-lsp 271.3588.0 as the pinned version
2026-12-04 21:17:16 +08:00
l0ng-ai d2cc2093b1 docs: escape placeholder angle brackets in MDX files (#8044) 2026-12-04 21:16:46 +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
l0ng-ai fe1838aca6 fix(plugins): skip files a full navigation graph can't take instead of failing (#8011)
Once a project has more matching files than a plugin navigation graph covers, discovery fills the graph with exactly that many files. Opening, saving or changing any other matching file then failed its whole index batch with "navigation file limit reached", showed a raw error notification, and ran the plugin's indexer before throwing the result away.

A full graph now keeps updating the files it covers and skips the others before calling the plugin. Discovery picks the covered files by path, so the same files keep navigation across index rebuilds.

Fixes #7985
2026-12-04 18:07:07 +08:00
aLiEz 9737adb66c feat(run): open recent projects from Run Anything (#7959)
Typing open in Run Anything lists recent projects and filters them as the user keeps typing. Choosing one opens it as Open Recent does: an open project's window comes to the front, otherwise the Open project in setting applies. Opening a project is not added to the Run Anything command history (new optional RunAnythingItem.addToHistory).

Co-authored-by: aLIEz1 <[email protected]>
2026-12-04 17:56:14 +08:00
l0ng-ai 4335cf46af feat(plugins): popup dialogs that close on a click outside (API 1.21) (#8009)
A plugin dialog is modal: like the IDE's own dialogs, a click outside it does nothing. popup = true on [[contributes.dialogs]] (API 1.21) opens it as a lightweight popup instead, as Search Everywhere is: the title heads the popup rather than a title bar, and a click outside it or switching to another window closes it, with the same closed view event. Without the field nothing changes.

Closes #7974
2026-12-04 17:49:49 +08:00
l0ng-ai 6e327e6ffc feat(remote): remember the backend choice when closing a remote window (#7990)
The Close Remote Development Window dialog gets a Don't ask again checkbox that saves Stop Backend or Keep Backend Running to the new client setting general.closeRemoteWindow (ask | keep | stop); later closes apply it without asking. Settings > Tools > Remote Development > When closing a remote window changes it back.

Refs #7929
2026-12-04 16:12:43 +08:00
l0ng-ai 5dd0565456 feat(plugins): tell plugins which editor lines are on screen (API 1.21) (#7969)
text-editor.visible-lines (editor.read) returns the first and last document line shown in the editor when the command or event was invoked, or none when the editor is not on screen. The workbench fills it from the focused editor view with the rest of the plugin editor context; older clients leave it out. SDK: TextEditor::visible_lines and MockHost::set_visible_lines. Plugin components rebuilt.

Refs #7928
2026-12-04 15:12:17 +08:00
l0ng-ai 3a31ec25aa feat(editor): rearrange code from Reformat File and on save (#7934)
Reformat File gains a Rearrange entries option (Python, TypeScript, JavaScript; whole-file scope only, remembered with the other options), and Tools > Actions on Save gains Rearrange code (actionsOnSave.rearrange, off by default), run after Optimize imports and before cleanup and reformatting. Rearranging from either place is quiet when nothing moves.

Refs #7783
2026-12-04 12:05:17 +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
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
JunChang Peng 6f68b8659d feat(plugins): make Ctrl+\ bindable in plugin keymaps; filter box for pick lists (#7488)
- Plugin keymaps accept the Backslash and Backquote key names (API 1.21), and a declared key is translated to the character the keystroke types, so Ctrl+Backslash (and Ctrl+Slash) from a plugin now match the key pressed.
- Pick dialogs with 15 or more candidates, and every plugin quickPick, get a filter field: with it the field holds focus and its arrows drive the list; without it the list keeps focus as before.

Co-authored-by: junchangpeng <[email protected]>
2026-12-04 02:27:14 +08:00
RuyimgByCN f49782daaf feat(plugins): add build.sdks and build.artifacts APIs (1.21) (#7775)
Plugin API 1.21 adds two read-only calls behind the build.read capability and the trusted-project gate:

- build.sdks(project, kind?): the installed JDKs, interpreters and toolchains of a kind (or all), with the one the project uses marked active.
- build.artifacts(project): the deployable WAR modules of the build model (origin build-model, with the ids the server run configurations use, e.g. maven:app/pom.xml) followed by the Project Structure > Artifacts entries (origin project-structure).

The Rust SDK, its mock and the docs cover both, and the official plugins and test fixtures are rebuilt. Used by https://github.com/RuyimgByCN/openidea-smart-tomcat.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-04 02:21:47 +08:00
RuyimgByCN 69374c8868 feat(plugins): support icons and optional text for statusBar items (#7737)
A [[contributes.statusBar]] item can declare an icon (a built-in icon name or a package SVG, with iconDark for dark themes) and leave text out, gated on plugin API 1.21. An icon-only item takes its tooltip, else the plugin's name, as its accessible label. The manifest docs list the new fields.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-04 02:14:18 +08:00
ntbang0901 d61ffa5430 feat(notebook): run cells from the keyboard with Ctrl/Cmd+Enter and Shift+Enter (#7845)
Ctrl+Enter (also Cmd+Enter on macOS) runs the notebook cell and keeps the caret in it, and Shift+Enter runs it and selects the next cell, adding a code cell at the end of the notebook. Run Cell, Run Cell and Select Below and Run Cell and Insert Below are actions in Find Action and the keymap settings; they take these keys only while the notebook has focus (notebookFocus), ahead of the editor's Split Line / Start New Line, and the notebook's own key handler is gone. Markdown cells render instead of running; while a cell runs, the keys do nothing on a code cell. Alt+Enter stays Show Intentions, so Insert Below has no default key except in the VS Code keymaps.

Closes #7624

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 01:27:05 +08:00
ntbang0901 42b6363646 fix(http-client): encode the credentials of Authorization: Basic user password (#7855)
Authorization: Basic user password in a .http file went out as written, so the server answered 401 to a correct password; a converted curl -u user:password writes that same line. The credentials are now Base64-encoded when the request is prepared. The line is split before variables are filled in, so a variable's value may contain spaces; credentials that are already encoded, also from a variable, are sent unchanged.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 01:02:52 +08:00
ntbang0901 a53e25f398 fix(http-client): send the files of a request body byte for byte (#7849)
A file included in a .http request body (< ./a.png, whole body or multipart part) was read as UTF-8 with replacement characters and lost its trailing line breaks, so images, archives and Latin-1 files arrived corrupted. The prepared body is now a list of text and file bytes and a file is sent exactly as it is on disk; included text files keep their trailing line break. A binary file shows as its < path line in the history and the Request tab, and Convert to cURL reads it by path (--data-binary @path, or a printf/cat pipe into --data-binary @- for a mixed body). History entries written by the previous version still load.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 00:58:04 +08:00
Anders JenboтаAJenbo d4a2a84c36 fix(php): give PHPantom the template, configuration and settings support it has (#7827)
PHPantom has its own Blade, Twig and framework support, but Twig, YAML and XML files were never sent to it, laravel-lsp kept running alongside it, and it was never told the project is trusted. PHPantom now joins twig, yaml and xml (XML limited to *.xml, *.xlf, *.xliff), replaces laravel-lsp, gets .phpantom.toml as a root marker, and configure_phpantom sends workspaceTrusted (servers only start outside Restricted Mode) plus the excluded folders and PHP file-type extensions as its indexing filters at startup and on every configuration change. Docs updated.

Co-authored-by: AJenbo <[email protected]>
2026-12-03 23:06:52 +08:00
l0ng-ai d8e58296be feat(agents): redesign Settings > Agents pages (#7825)
Reorganize Settings > Agents into General, Coding Agents, Permissions, Rules & Memory, Skills, MCP (External Servers, IDE Server), Agent Plugins and Automations, with redirects from the old MCP page ids. List pages share a master-detail layout and form pages align their fields. The IDE Server options stay in the settings search, and the docs use the new page names.
2026-12-03 22:32:31 +08:00
l0ng-ai 272a183442 docs(plugins): mark released API versions with their OpenIDEA release (#7826)
API 1.11, 1.12, 1.14, 1.15, 1.19 and 1.20 were still listed as in development; each now names the release it shipped in, and the plugin overview names 1.20.0 as the latest released API and 1.21.0 as in development.
2026-12-03 22:12:14 +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
Bruno Valladares 3f7a072fa1 feat(plugins): icon theme choices that switch pattern groups, shown as radio buttons (#7694)
A choice option of an icon theme can list the groups it turns on (those groups are owned by the choice and leave the checkbox list), and can set the theme's default folder icons (folder, folderExpanded, folderOpen). A choice settings item takes presentation select, radio or segmented. Themes may declare up to 64 choices. Themes using none of the new keys produce the same mapping and page as before; stored per-group values of owned groups are ignored, not deleted.

Part of #7688.

Co-authored-by: Bruno0416 <[email protected]>
2026-12-03 21:11:10 +08:00
Bruno Valladares c9a2b6200e feat(plugins): let icon theme users show file icons instead of code element icons (#7695)
An icon theme can offer a fileIconsForCode checkbox (off by default). When on, Java and Kotlin files with a declaration show the theme's file icon in the Project tree and tabs, and the element kind stays visible as a corner badge in the tree. Off, or without a theme, nothing changes; settings written by older versions read as off.

Part of #7688.

Co-authored-by: Bruno0416 <[email protected]>
2026-12-03 21:05:34 +08:00
Bruno Valladares c1d552e578 feat(plugins): radio, segmented, slider, color and checkbox-list controls for plugin settings (#7693)
Plugin API 1.21 adds optional settings schema fields: presentation (select, radio, segmented, slider, color, checkbox-list), enumOptions (label, description, icon per enum value), minimum / maximum / step, and when conditions on another setting of the page. New src/ui primitives RadioGroup, SegmentedControl, CheckboxGroup, Slider and ColorInput. Schemas that use none of them render as before; manifests admitting an older API keep ignoring JSON Schema bounds.

Review changes: the fields are gated on API 1.21 (1.20 shipped in 0.1.57), and the colour swatch fill is stretched inside its button.

Part of #7688.

Co-authored-by: Bruno0416 <[email protected]>
2026-12-03 21:00:11 +08:00
Bruno Valladares 02d22fe658 feat(plugins): show icon previews on icon theme settings pages (#7692)
A group or a choice option of an icon theme can name one of the theme's icons with an optional icon key; the theme's settings page draws it whether or not the theme is applied. Previews are registered apart from the applied theme's icons and released with the page. Unknown icon ids are refused at install.

Part of #7688.

Co-authored-by: Bruno0416 <[email protected]>
2026-12-03 20:55:24 +08:00
Bruno Valladares 7f9a618cac feat(plugins): link an icon theme's settings page from the plugin details (#7691)
Each File Icon Themes row in a plugin's details gets a Settings… button while that theme's settings page is registered; it opens Settings at the page through file.settings.

Part of #7688.

Co-authored-by: Bruno0416 <[email protected]>
2026-12-03 20:53:31 +08:00
Bruno Valladares 1877d8c1a1 feat(ui): let icon themes tell Spring YAML and properties config files apart (#7690)
Spring application*/bootstrap* config files now use spring-config-yaml or spring-config-properties. Both render like spring-config by default and fall back to a theme's spring-config override, so existing themes keep working while a theme can override either one.

Part of #7688.

Co-authored-by: Bruno0416 <[email protected]>
2026-12-03 20:52:41 +08:00
Bruno Valladares 839da450f7 feat(plugins): let icon themes name folders that have a role (#7689)
An icon theme can list folder roles (source roots, packages, excluded, module folders, ...) in roleFolderNames; folders of a listed role then match the theme's folderNames and folder patterns before the role icon. An unmatched folder keeps the role icon only when the theme overrides it, otherwise it gets the theme's folder. Roles are validated at install; themes without the key behave as before.

Part of #7688.

Co-authored-by: Bruno0416 <[email protected]>
2026-12-03 20:51:49 +08:00
l0ng-ai 2b359f9a98 docs(plugins): format the manifest, versioning and README tables (#7808)
Run oxfmt on the plugin docs #7776 left unformatted, so pnpm format:check passes on main.
2026-12-03 20:40:02 +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
LU XIANGRUIтаwildcatDownstairs a75c332905 feat(csharp): schema completion and validation for launchSettings.json and global.json (#7732)
Properties/launchSettings.json and global.json opened as plain JSON, with no key completion and no check of values such as commandName or rollForward. Both file names are now associated with their SchemaStore schemas in languages/json.toml, next to package.json and tsconfig.json; a $schema in the file still wins.

Closes #7729

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-03 19:52:36 +08:00
l0ng-ai 6c9c02417e fix(ssh): reach older servers through the algorithm lists of ~/.ssh/config (#7799)
The built-in SSH client only offered russh's defaults and ignored the algorithm options of ~/.ssh/config, so a server that only speaks older algorithms could not be reached. The client now starts from the OpenSSH client's defaults (adding the ECDH key exchanges, aes128-gcm and the SHA-1 MACs) and applies KexAlgorithms, HostKeyAlgorithms, Ciphers and MACs with OpenSSH's +, - and ^ forms. They apply to SSH configurations that sign in with a password or key as well as to OpenSSH config hosts. When negotiation fails, the error names what the server offers and the line that allows it.

Fixes #7757
2026-12-03 19:36:01 +08:00
Anka Tamaтаxirf 1dc1c67095 feat(agents): add Google Antigravity CLI as a built-in ACP agent (#7761)
Google Antigravity's CLI ships a native ACP server (`agy acp`, since v1.5.0), so it joins the built-in agents with `agy acp --login` as its sign-in command. A registry install of antigravity-acp runs a separate ACP server binary, so it keeps the generic sign-in hint instead of inheriting the CLI's login subcommand. Adds the Chinese text for the sign-in hint and the agent to the docs tables.

Co-authored-by: xirf <[email protected]>
2026-12-03 19:02:17 +08:00
ntbang0901 f5732dd706 fix(database): keep a console's transaction, temporary tables and settings on one connection (#7747)
In Tx: Auto each console statement ran on whichever pooled connection was free, so BEGIN ... ROLLBACK did not roll back, temporary tables and SET were lost between statements, and a forgotten BEGIN stayed open on a connection other features reused. A console now keeps its own connection from the first statement that leaves state on it (a transaction, a temporary table, a setting) until the console and its results are closed; plain queries and changes still run on the pool with the same result cursors. Applies to the built-in PostgreSQL, MySQL, SQL Server, Oracle and SQLite drivers; ClickHouse and JDBC already had console sessions, Snowflake and read-only PostgreSQL sources are unchanged. A pooled connection left inside a transaction is discarded instead of returned.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-03 18:04:58 +08:00
LU XIANGRUIтаwildcatDownstairs fc60719d4b feat(python): move top-level functions, classes and variables to another module (#7680)
Refactor > Move (F6) in a .py file moves top-level functions, classes and variables to another module. The dialog has From file, To file (a .py path in the project, new or existing) and Elements to Move. An embedded ast-based helper, run with the pylsp-rope environment's Python, moves the code with its decorators and attached comments, places it by import-time dependencies, writes the imports both modules need and rewrites module.name uses; from ... import statements across the project go through the existing module-move rewriter. Unsaved buffers are read, a file changed meanwhile is refused, and every changed file is parsed again before the edit is returned. A name already defined at the destination is refused; risky cases are confirmed first. The tests needing pylsp are ignored by default.

Refs #901

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-03 17:41:54 +08:00
LU XIANGRUIтаwildcatDownstairs e35ba7d805 feat(python): Change Signature through rope (#7622)
Refactor > Change Signature works on Python functions, methods and classes (their __init__). pylsp-rope has no such command, so the IDE runs an embedded helper with the pylsp-rope environment's Python: rope finds the function, its overrides and calls and renames parameters scope-aware; the parameter list and arguments are rewritten from the ast so annotations, defaults, the * and / markers and keyword arguments survive. Unsaved buffers are read through an overlay, calls rope can't resolve come from the type checker's references, and calls that can't be rewritten or likely mistakes are listed in a confirmation first. The result is a normal workspace edit (Preview, Refactor, one undo). The dialog is the Java one reduced to Name and Default value. The rope tests are ignored by default.

Refs #901

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-03 17:36:01 +08:00
LU XIANGRUIтаwildcatDownstairs 5338a34008 feat(languages): Jinja2 templates in Flask projects, with template name completion and navigation (#7657)
.html files under a templates folder open as Jinja2 HTML when the nearest folder above that declares anything declares flask, quart, fastapi, starlette or jinja2 (pyproject.toml, requirements*.txt, Pipfile, setup.cfg, setup.py). A Django project (django declared or manage.py), package.json, angular.json, .git and the home folder end the search; File Types associations and Override File Type win; .htm is untouched; dependency files edited in place are detected again. Template names complete and navigate in extends / include / import / from and in render_template, stream_template, get_template, select_template and TemplateResponse.

Closes #7656

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-03 17:15:32 +08:00
LU XIANGRUIтаwildcatDownstairs 1d3547a953 feat(fsharp): tree-sitter grammars for outline, folding and symbols (#7640)
F# had only the CodeMirror mode, so without FsAutoComplete the Structure view was empty, indented blocks did not fold and F# declarations were missing from the symbol index. tree-sitter-fsharp 0.3.13 (MIT) is bundled: the main grammar for .fs / .fsx and its signature grammar for .fsi, with outline queries, folding, symbols and declaration-name highlighting over the existing mode. .fsi files are the language fsharp.signature, sharing one FsAutoComplete with source files and sent as languageId fsharp.

Closes #7637

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-03 17:10:44 +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