Графік комітів
2996 Коміти
Автор SHA1 Повідомлення Дата
LU XIANGRUIтаwildcatDownstairs 6fbbab6c6f fix(vcs): show the file's diff to the right of file history (#7744)
Fixes #6406

Git > Show History for a file now keeps the revisions and their commit details on the left (details below the revisions) and shows the selected revision's diff of that file on the right. Directory history keeps the repository log layout.

The diff follows Show Diff Preview and file history's own Diff Preview Location (Right by default; Bottom puts it below; Editor leaves it out and Show Diff opens a tab). The split is remembered per location. The details pane's change loading and preview are shared with the new pane, and the rename-aware matching of the history file's changes moved to historyFileChanges so Show Diff and the pane agree.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 02:00:01 +08:00
l0ng-ai 7fd5ad50b8 fix(ui): unify tool window icons as monochrome and fix dark-mode icon contrast (#7842)
Tool windows that borrowed coloured file, status, action or vendor icons (Documentation, Find Usages, GitHub Actions, Logcat, Python Console, NuGet, Python Packages, Jupyter Variables, Ports, the Flutter DevTools windows, Coverage) get dedicated monochrome icons at 16 and 20 px; the coloured originals stay where trees, badges and VCS use them. Database Consoles and Query Workspace get a console icon instead of the table grid, and data source entries use the database cylinder.

Icons in the project view, trees, tabs, menus and several popups take --fg-icon instead of --fg-muted / --fg-subtle, so monochrome icons have the same contrast in dark themes.
2026-12-04 01:52:52 +08:00
Muuтаmuutot 703c33a089 feat(find): export results to a text file (#7835)
Add Export to Text File… (find.exportToTextFile) to the Find tool window's toolbar and results context menu. The report follows the tree as shown: the tab title, the match/file summary, then each file with its folder and its 1-based match lines; excluded matches are left out and a failed write shows an error notification.

The per-tab exclude/replace marks move to a small store in the find feature so the action can read them.

Co-authored-by: muutot <[email protected]>
2026-12-04 01:35:28 +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
János Kranczlerтаjanoskranczler 9fcd7c1468 perf(agents): skip re-rendering conversation rows on unrelated task updates (#7815)
Each conversation row got the full task object, and every task update (usage, queue, settings) made a new one, so all replies rendered again while the agent worked. Rows now get a memoized RowTask with only the fields they show (id, provider, cwd, status, error, isolation, branch, base, fork/rollback capabilities); the RowTask type keeps a row from reading another field until it is added there. One usage_update in a 3580-entry session went from 185 ms (532 reply renders) to 3.3 ms (0).

Co-authored-by: janoskranczler <[email protected]>
2026-12-04 01:25:42 +08:00
ntbang0901 ea4ac8cc6e fix(run): attribute Vitest and Jest results to their file, project and title (#7858)
Rerun Failed often ran no test and exited 0 for Vitest and Jest: a test file with (, ) or a space in its path (a Next.js route group such as app/(auth)/login.test.ts) was not recognised, so its failures landed on the previous file; Vitest project labels (|unit| src/a.test.ts) and Jest display names hid the file; and titles holding ' > ' were split, so -t matched nothing. Files are now read up to their extension, a project is a node under its file and the rerun passes --project, and names come from the printed tree where there is one; where the text can't tell a separator from a title the rerun pattern accepts both readings. Jest's Console block is no longer a failed test, and a Vitest file that cannot be loaded gets its error.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 01:09:25 +08:00
ntbang0901 f62b89fccc fix(run): rerun the failed cargo tests of the crate they belong to (#7856)
Rerun Failed on a failing should_panic test ran nothing and reported success, because the parser kept libtest's ' - should panic' suffix in the name. In a workspace the tests of every crate shared the node src/lib.rs, so a failure in one crate failed the same-named test of another and a rerun ran both; current cargo-nextest lines (FAIL [0.007s] (1/8) crate test) were read as tests of a crate called (1/8). A test binary's node is now 'src/lib.rs (crate)', renamed to cargo's selector ('src/lib.rs (-p a --lib)') when cargo prints it for a failed target. Rerun Failed and Run Selected use that selector, replace earlier names and targets, and start one run per test binary (one nextest run with a filterset).

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 01:07:43 +08:00
ntbang0901 3edc7ee1a0 fix(debugger): keep breakpoints when their file is renamed or moved (#7857)
After a file or folder was renamed or moved in the IDE, its breakpoints stayed stored under the old path and disappeared from the editor; nothing in the debugger listened to the IDE's file moves. Line breakpoints now follow with their id, properties and status, as do the source lines of method breakpoints and field watchpoints and an open properties popover; Undo moves them back. Where the new path already had a breakpoint on the same line, the moved file's stays. movedPath moves to platform/fileOps so the debugger can use it without importing the editor.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 01:06:00 +08:00
ntbang0901 ade8bdd36a fix(run): attach pytest failures to the test that failed (#7848)
With tests of the same name in several files, the test tree showed a failed test's traceback on another test and Rerun Failed could run nothing. The pytest parser matched a failure section to the first test whose name ended like the section title, cut short-summary ids at the first ' - ' (so test_eval[5 - 1-5] became a phantom test_eval[5), read a collection error as a test, and missed headings too long to be underlined. Sections are now held until the run ends and given to the tests reported with that outcome and title in report order, and ids are read with their [...] case in mind.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 00:55:37 +08:00
ntbang0901 0e221ba78a fix(database): ask before dropping a table's unsubmitted edits (#7850)
In a table tab, paging, reloading, sorting, filtering or changing the page size after editing a cell dropped the edit without a word, and paging or rerunning a result tab did the same. Both now ask "Changes are not submitted. Data will be lost. Continue?" first; Cancel keeps the edits and the page, sort, filter and page size as they were. Rows can't be edited or added while a page loads, since the load drops them.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 00:54:30 +08:00
ntbang0901 5f31f1292a fix(database): write copied and exported SQL for the table it was read from, with each dialect's literals (#7847)
SQL copied or exported from a grid could change the value or hit another table: MySQL backslashes were not escaped, "" and 0x10 in numeric columns were written unquoted, binary cells were quoted as their 0x... text, an UPDATE of a table whose columns are all keys had an empty SET, and statements named the table without its schema. Exports, One-Row copies and the console's log of submitted edits now share one literal writer per dialect (decimal numbers only, X'..' / 0x.. for binary columns), and statements name the table as the table tab or the query does, with the schema the query ran in when it has the table.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 00:40:37 +08:00
ntbang0901 5de7b0964e fix(database): keep a script's statements whole around each dialect's literals and comments (#7846)
The console's statement splitter cut some literals and comments, so part of one could run as a statement of its own (PostgreSQL /* outer /* inner */ ; DELETE FROM b; */ ran the DELETE). It now knows PostgreSQL and SQL Server nested comments, PostgreSQL E'...' strings and $ inside names, MySQL backslash escapes in double-quoted strings and its rule that -- needs a blank after it, SQL Server [a]]b] and SQLite [a;b] and backtick names. The TypeScript lexer behind the unsafe-statement warning reads the same literals alike.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 00:37:25 +08:00
Vadim LazukтаInf1mum 61418e9cb5 fix(vcs): honor the "Open project in" setting when opening worktrees (#7852)
Opening a worktree always spawned a new window because every entry point passed newWindow = true, which skips the Open project in policy. Double-click / Enter in the Worktrees panel, Create and Open in New Worktree, Open Existing Worktree in the branch menu and the Open Worktree action of an update failure now go through the policy; the explicit Open in New Window button and menu item still open a new window, and remote SSH/WSL worktrees still open a remote window.

Closes #7843

Co-authored-by: Inf1mum <[email protected]>
2026-12-04 00:35:43 +08:00
LU XIANGRUIтаwildcatDownstairs e666bb2e33 fix(workbench): main toolbar, tool window stripe and status bar metrics (#7829)
Main toolbar items get a 10px pitch and the dropdowns 10/6px insets with a 16px chevron; stripe buttons get 5px padding on both sides; the status bar is 34px with 4px widget hover insets, its breadcrumbs lifted 5px, and the islands keep a 3px inset above it. Language Services moves after the caret position in the status bar. Compact mode keeps its previous metrics.

Fixed-viewport e2e layouts (commit checks, project tree second click, main toolbar label compression next to the New Agent Task button) get room for the wider gaps and the taller status bar.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 00:29:29 +08:00
l0ng-ai 4f2d85007b fix(agents): add scheduling to the new task composer (#7652)
The New Agent Task composer gets the clock button next to Start. It opens New Automation prefilled with the draft instructions, agent, model settings and workspace; opening or cancelling the dialog keeps the draft, and unattended permissions stay configured in the dialog.
2026-12-03 23:55:56 +08:00
l0ng-ai 6e5f91f7fd feat(agents): add a New Agent Task button to the main toolbar (#7718)
The main toolbar shows New Agent Task by default, between the Run widget and Search. It carries the selected agent's icon and runs agents.newTask; its menu lists the installed agents to start a task with another one, and ends with More Agents. Customize Main Toolbar can remove it. Below 480px the button is hidden so the toolbar keeps fitting the window.

Closes #4000
2026-12-03 23:28:13 +08:00
l0ng-ai e38599b82b fix(agents): restore the Install Skill dialog and memory picker styles (#7851)
The Settings > Agents redesign dropped the SkillsPage.module.css rules the Install Skill dialog uses and the MemoryPage.module.css rules of the memory picker's auto rows, and used an undeclared --space-2-5 (so those gaps were 0). The rules come back, the gaps are 10px, and Language smoke's paths follow the dialog's app icon to src/assets/openidea-logo.png. Fixes cssModules, customProperties and smoke-paths tests on main.
2026-12-03 23:27:39 +08:00
l0ng-ai 437008c517 fix(agents): keep following the chat end when a row grows after its render (#7811)
A row that changes height after its render (a message laid out late, a highlighted code block, an image loading) now scrolls the conversation to its end while it is following, instead of only being held in place.
2026-12-03 23:14:14 +08:00
LU XIANGRUIтаwildcatDownstairs 5947204022 fix(settings): Settings window title bar, tree, header, form indents and buttons (#7824)
The Settings window's title bar was 8px taller than the platform dialog, the search field, breadcrumb and content sat a few pixels off, the tree drew 12px chevrons, untitled sections were indented away from the group titles, checkbox rows were 26px apart and the button bar had no separator. The window is now titled "Settings – <project>", uses a 32px dialog title bar on macOS (--h-dialog-titlebar), 16px tree chevrons, 22px group and indent insets, 11/16/16/16 content padding, field-height checkbox rows and a hairline above the buttons. Also types the label/box pairs of the Appearance e2e check.

Closes #7817

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-03 23:13:14 +08:00
Vadim LazukтаInf1mum b9014f34cf fix(vcs): diff the selected commit's changes with Show Diff from the Git Log list (#7818)
Show Diff with focus in the Git Log's commit list said "Select a changed file to show its diff": the diff actions ask the focused view for its diff source and the commit list never registered one. The list now registers the changes pane's source: the pane's file selection when it has one, else the commit's first file with every file of the commit in the chain. A file-history list keeps its file-focused diff.

Closes #7810

Co-authored-by: Inf1mum <[email protected]>
2026-12-03 23:01:01 +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 196057019f fix(build-tools): offer builds found in subfolders instead of syncing them on open (#7830)
Opening a folder whose Maven or Gradle builds sit only in subfolders (samples, fixtures) started mvn/gradle for each of them and showed an error when the tool was missing. Only builds at the project root (or a workspace member's root) and builds the user linked now load on their own; the rest are offered in a "Maven/Gradle build scripts found" notification with Load Maven Project / Load Gradle Project.

Closes #7802
2026-12-03 22:25:01 +08:00
Jacob Kjeldahlтаkjeldahl 45dd96cdeb fix(run): gutter run for Java 25 compact source files (#7814)
A Java 25 compact source file (JEP 512: a top-level void main, no class) showed no gutter Run icon, because the run-target scanner only accepted main inside a class. A top-level main is now the main of the file's implicit class, named after the file, and the Java single-file producer launches such files with the source launcher (java File.java) instead of taking the first declared type as the main class.

Co-authored-by: kjeldahl <[email protected]>
2026-12-03 22:09:08 +08:00
LU XIANGRUIтаwildcatDownstairs 343dd51082 fix(project-view): match IntelliJ tree insets, indent and Scratches label (#7806)
Trees pad the whole Tree.border themselves: --tree-inset 12px (8px compact) plus 4px (2px) top and bottom, rows end 2px from the selection, indent 18px per level, 4px selection corners; tool window headers are 41px (32px compact). The old 6px inset assumed the island gap was inside the island. The Scratches root is now translated and relabelled when the UI language changes; agent task rows show Pin/Archive in place of the age on hover.

Closes #7795

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-03 22:01:47 +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
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
l0ng-ai f213999338 feat(agents): fork a running agent task up to its finished turns (#7720)
Fork was greyed out while a task's turn ran. It now copies the conversation up to the last finished turn while the source keeps running, and any finished turn can be forked from a message. The copy used to take the whole session and drop extra turns when it first loaded, which is wrong once the source has moved on: session/fork now takes _meta.openidea.forkTurns and the agent cuts the copy as it forks (Claude Code pins the fork point in its transcript, Codex rolls the forked thread back by the turns it holds). Agents without rollback still need the task to be idle; a task in its first turn has nothing to fork yet.
2026-12-03 20:04:10 +08:00
Deng Liuтаdengliu 920e321109 feat(agents): display plugin icons when browsing and previewing agent plugins (#7705)
Agent plugin marketplace entries and the plugin preview header showed text only, while MCP Connections › Browse shows server icons. Plugin icons are now resolved without extra network requests: explicit manifest or marketplace icon fields (https URLs validated, repo-relative images as raw.githubusercontent.com URLs or small data: URIs for local plugins), then conventional icon files in the fetched tree or local folder, then the GitHub owner's avatar. A shared AgentRemoteIcon tile renders them in both lists, theme-aware, with a fallback for monochrome icons.

Co-authored-by: dengliu <[email protected]>
2026-12-03 20:01:49 +08:00
Deng Liuтаdengliu ede0705bd5 feat(agents): discover deeply nested workspace skills via ProjectIndex (#7711)
Workspace skill discovery only walked two levels below each workspace root, so skills in deeper monorepo packages were missed. The skills policy now also takes the non-ignored SKILL.md files the project index already knows, and keeps those inside a known skills folder (.agents/skills, .openidea/skills, .claude/skills, .github/skills, .codex/skills, .cursor/skills) at depth 0-2, skipping hidden and build directories. The direct and depth 1-2 disk scans still come first, so discovery works before indexing completes and shallower packages win on name clashes. The Skills page reloads when indexing finishes.

Co-authored-by: dengliu <[email protected]>
2026-12-03 19:57:52 +08:00
l0ng-ai eb6483030c fix(run): browse the remote host for .env files and paths in a remote window (#7801)
Run/Debug Configurations opened their own local file dialog and hid every Browse button in a remote window, so .env files, the working directory and Tomcat paths on the remote host could only be typed. The run configuration form and the Tomcat settings now use the project-host chooser, which browses the remote host in a remote window and opens the system dialog locally.

Fixes #7715
2026-12-03 19:39:58 +08:00
l0ng-ai 0bda7b194b fix(svn): report the files an update changed instead of "All files are up-to-date" (#7797)
An update of a Subversion working copy has no commit range, so the update result always said all files were up to date, even when svn update changed files. Backend::update now returns how many files and folders the update added, deleted, changed or merged (read from svn update's status lines), vcs_remote returns it as an update report, and the result reads "N files updated". Covers Update Project and Update File / Update Directory.
2026-12-03 19:28:08 +08:00
LU XIANGRUIтаwildcatDownstairs 9ab90941ef feat(svn): Update File / Update Directory in the Subversion submenu (#7748)
The Subversion submenu had no way to update a single file or folder; only Update Project updated the whole working copy. A new svn.updateFiles action sits after Add and is named for the selection (Update File, Update Directory, Update Files, Update Directories). It runs `svn update` on the selected paths only, one update per working copy, through the same remote round as Update Project, so progress, console, conflicts and the result notification behave the same. Backend::update now takes the paths to update (empty means the whole working copy); a Git repository refuses the new RemoteOp::UpdateFiles.

Refs #7433

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-03 19:13:20 +08:00
LU XIANGRUIтаwildcatDownstairs 6f7c8e246f fix(run): keep a plugin form's errors blocking OK and Apply (#7787)
Since only added or edited configurations block saving, errors a plugin form reported with runConfig.setErrors on an unedited configuration left OK and Apply enabled, although the plugin API documents that they block them. The configuration on screen now blocks while its form reports errors; after selecting another one, an unedited configuration no longer blocks.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-03 18:54:24 +08:00
l0ng-ai 5638f8d04e test(plugins): edit the run configuration before its form errors block saving (#7791)
Since #7708 only configurations changed in Run/Debug Configurations block saving, so the plugin run configuration form test now patches the configuration before reporting errors.
2026-12-03 18:52:52 +08:00
l0ng-ai f156baa976 fix(tools,plugins): show updates installed in another project window (#7790)
Tool installs and the plugin host are shared by every project window, but each window kept its own copy of installed versions and updates, so after an update in one window another still offered it. After an install, uninstall, update or rollback, a window now writes a localStorage marker; the others read the tools or plugins (and the marketplace's installed versions) again on its storage event and take in the stored tool updates. The plugin update notice now has a key and is hidden once every update it offered is installed.

Fixes #7742
2026-12-03 18:51:27 +08:00
JunChang Peng 9087fa61d9 perf(database): prefetch a table's DDL so Go to DDL opens at once (#7779)
Go to DDL queried the server on every click, so the editor opened a few hundred milliseconds late. A table's DDL is now prefetched when its data view opens and cached with the other metadata; Go to DDL serves the cache and fetches once on a miss. The cache is dropped on refresh, disconnect and after a console statement that changes the schema, and the generated file's Reload refreshes it.

Closes #7777

Co-authored-by: junchangpeng <[email protected]>
2026-12-03 18:41:58 +08:00
nICKтаNickYadance 6404c30718 fix(notebook): restore measured cell heights with scroll position (#7764)
Returning to a notebook tab restored the saved pixel offset against fresh 220 px cell estimates, because the virtualizer's measured heights were lost on unmount, so the viewport jumped away from the selected cell. The notebook session now keeps the virtualizer's measurement snapshot and restores it together with the scroll position.

Closes #7754

Co-authored-by: NickYadance <[email protected]>
2026-12-03 18:40:44 +08:00
Anka Tamaтаxirf fe1b5eacf8 fix(run): honor configured Node.js package manager in install prompts and config names (#7782)
An explicit Package manager in Settings > Languages & Frameworks > Node.js changed the spawned command, but the dependency-install notification and its run config, the package.json gutter fallback and detected npm run configuration names still showed the lockfile-detected manager. The configured manager now comes first in the gutter fallback, the install prompt rechecks when the setting changes (keeping an Ignore for the same dependency state), and detected config names have their leading package manager rewritten (bun run dev -> npm run dev, also after a workspace prefix).

Co-authored-by: xirf <[email protected]>
2026-12-03 18:38:19 +08:00
ntbang0901 21c4b08a5d fix(vcs): give the commit keys back when the focused commit list is removed (#7774)
Closing a file history tab with the keyboard while its commit list had focus left vcsLogCommitsFocus on, because React reports no blur for a focused element it removes; Left and Right in the editor then moved to the child or parent commit instead of the caret. The commit list now clears that context when it is removed, as it already did for vcsLogRevisionFocus.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-03 18:36:19 +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
ntbang0901 8ffd6c9e2c fix(search): read $1_new in a regex replacement as group 1 and report unknown groups (#7771)
With Regex on, Replace in Files read $1_new as a group named 1_new, which does not exist, so matches were replaced with nothing in every file. $1 now takes further digits only while the pattern has that group, and a template naming a group the pattern lacks is reported at the replacement field and changes no file. The editor's Replace now expands the same template, so $0, ${1}, $name and \$1 work there too and an optional group that did not match no longer writes undefined.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-03 18:27:33 +08:00
ntbang0901 dbfec0c433 fix(vcs): keep the other branch's changes in a merge commit with files left unchecked (#7770)
During a merge, an incoming file left unchecked went into the merge commit as HEAD had it, so the merge counted as done without that change and merging the branch again reported Already up to date; with nothing checked the whole merge could be dropped. With nothing checked, the commit now takes the merge as the index holds it. When some incoming changes (whole files or blocks) are left out, Commit first asks Changes Excluded from Merge Commit, with Cancel as the default. An unresolved conflict anywhere in a Git repository being committed now refuses the commit up front instead of failing later with a raw Git error.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-03 18:19:49 +08:00
Orca 0425004ecd fix(agents): drop the task list focus when its focused element is removed (#7752)
Clicking a task in the Agents tool window replaces the list with the conversation while the list still has focus; React sends no blur for an element it removes, so the agentTaskListFocus context stayed on and Del in the editor asked to delete the open conversation. The same happened after picking a session from the history popup, archiving a row, or removing the last task while its search field had focus. The context is now cleared when the list element goes away and whenever focus lands outside the list.

Closes #7725

Co-authored-by: og-orca <[email protected]>
2026-12-03 18:07:49 +08:00