Графік комітів
3821 Коміти
Автор SHA1 Повідомлення Дата
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
Deng Liuтаdengliu 9ad7f91c04 fix(automations): allow scrolling overflowing schedule and run lists (#7901)
The list frame's overflow: hidden let it shrink to the editor height, so rows past the fold were clipped instead of scrolled. The header and tabs now stay pinned above a dedicated scroll body, the footer stays pinned below it, the scroll position resets on tab switch, and a deep-linked schedule row scrolls into view.

Co-authored-by: dengliu <[email protected]>
2026-12-04 09:46:43 +08:00
l0ng-ai 5ec05b3aca feat(keymap): rebound caret keys also move lists, popups and text fields (#7909)
Move Caret Up / Down / Left / Right / to Line Start / to Line End and their With Selection variants only acted in text editors. Where no text editor takes such a key, it now acts as the arrow / Home / End key on the focused list, tree, popup or text field, ahead of other actions on the same key; with the completion popup open, Move Caret Up / Down move its selection. Presets are unchanged.

Closes #7714
2026-12-04 09:42:18 +08:00
l0ng-ai 26688a79f7 feat(php): colour variables by name without server semantic tokens (#7905)
Semantic highlighting coloured locals only from server tokens, and Intelephense sends none, so PHP variables kept one colour with the option on. PHP now colours variables and parameters from the parse tree with the same name-to-colour rule; property declarations, static property access, $this and the superglobals are left out, and server tokens still win where they arrive.

Closes #7884
2026-12-04 09:27:27 +08:00
l0ng-ai 9e3077753d feat(window): Select Next / Previous Tab cycle a focused tool window's tabs (#7904)
In a focused tool window, Select Next Tab and Select Previous Tab select its next or previous content tab (terminal sessions, Run and Find tabs), wrapping around; with fewer than two tabs the key is left to the component. The terminal lets these actions through except on Alt+Left / Alt+Right, which a shell uses to move by a word.

Closes #7890
2026-12-04 09:22:46 +08:00
l0ng-ai 7d33b470f2 fix(keymap): let the terminal hand a shared key only to its allowed action (#7903)
#7892 ranked a preset binding whose keyWhen needs focus ahead of a context-free user binding everywhere, so in the editor a user's Ctrl+K for Move Caret Up lost to the preset's Cut to Line End and caretMovementActions.test.ts failed on main. The case it fixed belongs to the terminal: a key it passes to the IDE for an allowed action (New Tab's Ctrl+Shift+T) reached a user binding of Reopen Closed Tab instead. The terminal now limits such a keystroke to its allowed actions (limitKeyActions), and the dispatcher order is back to user bindings first.
2026-12-04 09:17:01 +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
faysouтаfaysou ab08c3d245 fix(project-view): show a folder's loading row only when its read is slow (#7898)
Expanding an uncached folder put a Loading… row under it at once, so a folder read in a few milliseconds flashed the loader. The read still starts on expand, but the row appears only if the listing is pending after 250 ms and goes as soon as it finishes.

Co-authored-by: faysou <[email protected]>
2026-12-04 08:57:54 +08:00
koeriaтаkoeria 1ee5f0d71d fix(keymap): keep a focused component's preset shortcut ahead of a context-free user binding (#7892)
A user shortcut without a context was tried before every preset binding, so giving Reopen Closed Tab the terminal's Ctrl+Shift+T reopened an editor tab while the terminal had focus. A preset binding whose keyWhen needs some focus to hold (terminalFocus, projectViewFocus, …) now runs before a context-free user binding inside that context; broad guards such as !popupOpen still rank below the user's binding, so a user shortcut sharing a key with Jump to Navigation Bar keeps working.

Closes #7889

Co-authored-by: koeria <[email protected]>
2026-12-04 08:55:28 +08:00
faysouтаfaysou d2686f922d test(database): stub table editor request cancellation (#7893)
The table editor tests stubbed the page request but left cancelRequest wired to the Tauri IPC, so a page unmounting mid-request left unhandled rejections in the run. Stub it with the other commands.

Co-authored-by: faysou <[email protected]>
2026-12-04 08:50:30 +08:00
l0ng-ai 35682aadc2 fix(vcs): open diffs in the diff window under the modal commit interface (#7899)
Under the modal commit interface, diffs opened as a dialog inside the IDE window and needed Show Diff in New Window for a separate one. They now open in the diff window directly, as with the non-modal interface when Open diff as editor tab is off; a combined diff, the browser shell or a window that fails to open fall back to the front diff dialog.

Fixes #7675
2026-12-04 08:46:17 +08:00
l0ng-ai f5abe8b509 fix(web): style the open-file confirmation with declared tokens (#7896)
The /api/file confirmation read --bg-surface, which no theme declares (customProperties.test.ts failed on main), and used fixed sizes; it now uses --bg-input and the spacing, radius and font-size tokens.
2026-12-04 08:32:26 +08:00
l0ng-ai c1cde544fb refactor(dotnet): register the NuGet source actions once (#7887)
The .NET feature listed dotnet.sources and dotnet.sourceChange twice (added by #7424 and again by #7434); the identical second copy is removed. No behaviour change.
2026-12-04 04:57:48 +08:00
Vadim LazukтаInf1mum 40ea4267bd feat(dotnet): show a project's folders and files under its solution tree node (#7882)
A .NET project node in the Project view's solution tree was a leaf for its .csproj holding only Dependencies. It now lists the project's folder (bin and obj left out) below Dependencies, keeps the project's .NET context actions, and Select Opened File reveals files of a project in the solution tree. The project file opens from the node's Edit '<name>.csproj' menu item.

Closes #7859

Co-authored-by: Inf1mum <[email protected]>
2026-12-04 04:56:41 +08:00
l0ng-ai 377e900e84 fix(java): go to the methods of a call whose arguments fit none (#7885)
jdtls resolves nothing for a Java call whose arguments fit no method (an argument being typed, a stray comma), so Go to Declaration reported no declaration. An unqualified call now goes to the current file's method of that name, or offers its overloads; a qualified call still needs its receiver's type and is left alone. The Cmd-hover link probe follows the same rule.

Fixes #7803
2026-12-04 04:48:40 +08:00
l0ng-ai 74b2b5113b fix(search): show the directory of same-named files in Find in Files rows (#7880)
Rows of the Find in Files popup showed only the file name in a single-project window, so matches in several index.vue files could not be told apart. Files that share a name in the results now get the distinguishing parent directory after the name, with the same rule as editor tabs and the Usages popup.

Fixes #7860
2026-12-04 04:31:57 +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 ba04c34710 feat(automations): configure effort level and context window (#7868)
The Create/Edit Automation dialog shows the selected model's settings (effort level, context size, and parameters such as Fast mode) next to the model picker, as the task composer does. Changing them on an automation that reuses a rolling session applies the new model first, then its per-model choices, to the live session, and then re-checks the unattended approval ceiling.

Co-authored-by: dengliu <[email protected]>
2026-12-04 04:14:34 +08:00
Vadim LazukтаInf1mum cddf57d4c7 fix(deployment): offer the deployment actions in Customize Main Toolbar (#7878)
Customize Main Toolbar lists only actions with an icon, and seven visible deployment actions (Upload to…, Download from…, Download from Default Server, the two Compare with Deployed Version actions and the two Sync with Deployed actions) had none. They now use the existing export, download, diff and refresh icons, so they can be added to the toolbar.

Closes #7863

Co-authored-by: Inf1mum <[email protected]>
2026-12-04 04:06:32 +08:00
Vadim LazukтаInf1mum a12999c3d5 fix(vcs): flip already-open diffs when clicking Swap Sides in Compare (#7875)
Swap Sides in the Compare tool window only changed the orientation of diffs opened afterwards, so a diff already open from that comparison kept its sides and Show Diff opened a second, opposite tab. Swap Sides now reopens the comparison's open diff tabs (single and all-in-one) with the sides flipped and closes the old ones, keeping the active tab last.

Closes #7869

Co-authored-by: Inf1mum <[email protected]>
2026-12-04 03:54:43 +08:00
koeriaтаkoeria 309a805794 fix(vcs): open Show Diff on multi-file selections as one diff chain (#7870)
Show Diff on the Changes changelist node, or on several changed files, opened the Changes between HEAD and Local Working Tree comparison window, because only single-file selections reached the file diff. A selection made only of changed files now opens one diff tab whose files form the F7 chain, as the modal commit interface already did; directories and changed submodule entries keep the comparison window.

Closes #7865

Co-authored-by: koeria <[email protected]>
2026-12-04 03:52:28 +08:00
audichuang ac9198dd52 fix(plugins): translate the command title in a failed plugin command's notification (#7874)
A failed plugin command's notification used the command's declared English title even when the plugin ships a translation that the menus and command palette already show. commandTitle now passes the title through that plugin's catalog.

Co-authored-by: audichuang <[email protected]>
2026-12-04 03:48:37 +08:00
l0ng-ai d1f311d2a3 fix(svn): line up the Merge dialog's fields (#7877)
Source branch/Source URL and Whitespace handling/Depth each share one grid, so their fields start at the same x.
2026-12-04 03:45:13 +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
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 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
Muuтаmuutot 7c9fa1dc3b feat(settings): show the effective Maven local repository from the Maven home and settings file (#7719)
Closes #7654

The Local repository field of Settings > Build Tools > Maven now shows, as its placeholder, the repository a build actually reads: the <localRepository> of the user settings file (the configured one, else ~/.m2/settings.xml), then of the Maven home's global conf/settings.xml, then ~/.m2/repository. It is recomputed when the Maven home or the settings file changes. Neither setting is written, so -s and -Dmaven.repo.local stay as the user left them.

The resolution runs on the backend in a read-only maven_local_repository command that reuses ide-build's settings helpers, so under Remote Development the remote host's paths and Maven home are used. A home that names bin or the mvn executable is reduced to the installation root, with either path separator.

Co-authored-by: muutot <[email protected]>
2026-12-04 02:11:36 +08:00
l0ng-ai c412491972 fix(keymap): list Configure Current File Analysis in the VS Code keymap (#7866)
The VS Code preset lists every action an IntelliJ action id maps to; editor.highlightingLevel (PopupHector) was missing, which failed keymap.test.ts on main. It is added unbound.
2026-12-04 02:04:07 +08:00
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 f1876f1260 feat(editor): highlighting level of the current file's editor (#7805)
Add Configure Current File Analysis… (editor.highlightingLevel, IDEA's PopupHector, Cmd+Alt+Shift+H / Ctrl+Alt+Shift+H) with the three levels None, Syntax and All Problems:

- All Problems (default): everything as before.
- Syntax: syntax and semantic colouring stay; diagnostics and their scrollbar marks leave the editor (Problems still lists them).
- None: plain text; the lezer highlighter is reconfigured out and semantic tokens are dropped.

The level lives in the editor state next to the other per-editor display overrides (cm/localAppearance.ts) and is not saved.

Co-authored-by: muutot <[email protected]>
2026-12-04 01:41:21 +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
Muuтаmuutot 16def0187c feat(editor): Move Caret to Text Start/End actions (#7836)
Add editor.textStart / editor.textEnd and their With Selection variants, mapped to EditorTextStart / EditorTextEnd / EditorTextStartWithSelection / EditorTextEndWithSelection for IdeaVim and imported keymaps.

The plain moves leave a single caret at the document boundary; the With Selection variants extend each selection from its anchor. The actions stay unbound in the default keymaps like the other plain caret moves, so the editor's own Ctrl+Home/End (Cmd+Home/End, Cmd+Up/Down on macOS) keep handling the keys and Navigation Bar, Jump to Source and Move Statement keep their macOS shortcuts.

Co-authored-by: muutot <[email protected]>
2026-12-04 01:31:14 +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