Графік комітів
5140 Коміти
Автор SHA1 Повідомлення Дата
l0ng-ai 166ef2dffa test(e2e): fix the main branch's failing layout and caret key specs (#7945)
caretKeysEverywhere bound "Control+H", which is not a key stroke, so Move Caret Left was never bound; it passed on macOS only because Ctrl+H deletes backward there. compactMode expects the 30px status bar, toolbarCustomization measures the first visible item after the Center group, the commit check spec accepts a sub-pixel clip, and codeLensLayout waits for the editor to measure.
2026-12-04 13:40:15 +08:00
l0ng-ai ed57059cad fix(editor): parameter info for a nested call whose arguments start on the next line (#7943)
Right after the `(` of a call followed by blanks or a line break, jdtls answers signature help for the enclosing call, so `outer(inner(⏎ args))` showed outer's signatures. The request now asks past those blanks.

Parameter info rows show the parameter list alone, without the method name and return type, and `<no parameters>` for an overload without any.

Fixes #7927
2026-12-04 13:24:33 +08:00
l0ng-ai 31e7b420ae feat(vcs): close a committed file's local changes diff after the commit (#7942)
When a commit leaves a file with no local changes, its HEAD/index vs working copy diff tab closes. Pinned tabs, files with changes left after a partial commit, and other diffs (Log, Compare with Branch) stay open.

Closes #7914
2026-12-04 13:04:44 +08:00
l0ng-ai 70a7932939 fix(run): keep Rerun and Stop readable on the running Run widget under icon themes (#7940)
An icon theme that replaces rerun-filled / stop-filled with coloured icons (Atom Material Icons) left a green icon on the green Rerun button and a red one on the red Stop button. A theme's icon for these on-fill names now keeps its shape but takes the button's foreground, and the filled buttons give monochrome icons that foreground.

Fixes #7923
2026-12-04 12:52:15 +08:00
l0ng-ai 8b1ca86526 fix(search): show a library class's archive instead of its document URI (#7938)
Search Everywhere listed classes from dependency jars and the JDK with the language server's raw jdt:// URI as their location. Library rows now show the archive or JDK module, and the status line the archive and package.

Refs #7919
2026-12-04 12:37:54 +08:00
l0ng-ai 16e160f5b9 feat(themes): let themes set the Git log's current-branch background (#7936)
The Git log tints commits on the current branch (View Options > Highlight > Current Branch) with --bg-log-current-branch, an accent mix themes could not override. It is now a themeable token in the vcs group (Harbor Night template and theme docs updated; palette themes keep their base's mix), and IntelliJ theme import reads it from VersionControl.Log.Commit.currentBranchBackground.

Refs #7918
2026-12-04 12:23:20 +08:00
l0ng-ai 0d3e9a27cc fix(titlebar): release the toolbar spacer when the Center group goes (#7935)
The main toolbar centres its Center group by giving the spacer before it a fixed width. The cleanup looked that spacer up by its marker attribute, which React had already removed, so the width stayed after the Center group went away (emptied, Restore Default Toolbar, or the main menu expanded) and the right group sat away from the right edge. The hook now keeps the spacer it sized and releases it.

Fixes #7915
2026-12-04 12:09:55 +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
audichuang 693b24bf65 fix(editor): keep the class brace in place when Rearrange Code moves the last method (#7921)
Rearrange Code moves TypeScript and JavaScript methods as whole lines. When a class's closing brace, or a block comment running on below, shared a line with the last method and that method moved up, the brace moved with it and the methods after it ended up outside the class. Such a class is now left alone; when the last method stays last, the class is rearranged as before.

Co-authored-by: audichuang <[email protected]>
2026-12-04 12:04:04 +08:00
@鹿 6304811ac9 fix(java): run a single Java file on the project JDK, including JDK 6 (#7925)
A single Java file ran on the java found on PATH, so a JDK 6/8 project could not start it: those launchers have no source mode. The file now runs on the project or module JDK; when that JDK has no source launcher, or the file belongs to an Eclipse module, it is compiled with the JDK's javac (source folders, jars, encoding and referenced workspace projects from .classpath) and started with java -cp. JDK 6 is detected from rt.jar's manifest. The class name comes from the package declaration, and the source path from where the package path starts, so Maven-style layouts resolve correctly. JDWP and VM options stay before -cp, program arguments after the class.

Co-authored-by: T-fenlin <[email protected]>
2026-12-04 11:24:42 +08:00
l0ng-ai d55f116add feat(editor): style Java static, constant and final fields separately (#7930)
Java fields get their own colour scheme attributes under Java > Class Fields: instance field, instance final field, static field and constant (static final field), each falling back through the field kind it refines to Language Defaults > Identifiers > Static field / Instance field. Interface fields count as constants. The resolver and settings preview follow the whole inherit chain; .icls import maps the matching attributes.

Fixes #7643
2026-12-04 11:17:26 +08:00
l0ng-ai d62c978032 fix(agents): place New Agent Task before Search and shorten its label
A saved main toolbar layout now puts widgets registered since next to their
default neighbours instead of at the end of the side, so New Agent Task lands
between the Run widget and Search Everywhere rather than after Search. The
toolbar button reads "New Task"; its tooltip still names the agent.

Refs #4000
2026-12-04 10:49:43 +08:00
l0ng-ai 5f452a8e36 Revert "fix(agents): keep following the chat end when a row grows after its render (#7811)"
This reverts commit 437008c517.
2026-12-04 10:49:02 +08:00
sonnartliao 7992063ef2 feat(editor): make inactive preprocessor dimming optional (#7913)
clangd reports inactive #if/#ifdef branches as comment semantic tokens, which the editor greys out. Projects without a compilation database (such as U-Boot without a board .config) end up with most of a file grey. A new editor.dimInactiveCode setting (default on, so existing settings keep the grey) adds a Dim inactive preprocessor code checkbox under Settings > Editor > Color Scheme > Language Defaults; turning it off keeps the syntax colours of inactive regions and re-decorates open editors immediately.

Co-authored-by: sonnartliao <[email protected]>
2026-12-04 10:47:35 +08:00
l0ng-ai 34cb6a45cd fix(workbench): restore the 30px status bar height
The status bar is a widget's label height plus StatusBar.Widget.widgetInsets 6,8 (30px at the
default font), not 34px; the breadcrumbs sit 1px above the middle per
StatusBar.Breadcrumbs.navBarInsets 3,0,4,4. Compact mode is unchanged.
2026-12-04 10:39:34 +08:00
LU XIANGRUIтаwildcatDownstairs e670463b8e feat(markdown): add configurable soft line breaks for preview (#7907)
Settings > Languages & Frameworks > Markdown > Preview gains a Soft line breaks option: Standard Markdown (default, a single newline collapses into a space) or Break on single newline (rendered as <br>). Stored as languages.markdown.softLineBreaks, defaulting to standard for existing settings files. Open previews re-render immediately; cached and parked preview markup is kept per mode, and the preview worker restarts with the new mode.

Closes #7844

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 10:38:45 +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
Yohann CATHERINEтаyohannlog 152f7123a0 fix(terminal): Git Bash tabs no longer always count as running a command (#7839)
On Windows, a Git Bash tab's shell runs under a bash.exe launcher process, so the running-command check always found a child process and closing the tab or quitting always asked for confirmation. The check now looks past the shell's own launcher before deciding a command is running.

Co-authored-by: yohannlog <[email protected]>
2026-12-04 10:20:37 +08:00
LU XIANGRUIтаwildcatDownstairs a223f3e6b2 feat(dotnet): run with dotnet watch and publish projects from the IDE (#7910)
A .NET Project run configuration gains a Run with dotnet watch option: dotnet watch --non-interactive in the same Run tab, with launch profiles still applied and the terminal emulated so Stop ends the watcher; Debug and tests run without it.

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

Closes #7900

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

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

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

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

---------

Co-authored-by: LU XIANGRUI <[email protected]>
2026-12-04 10:52:08 +09:00
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 c6428a8e4c fix(terminal): give the Windows environment tests a module of their own (#7886)
#7837 and #7838 were merged side by side and each added a Windows-only test module named windows_sessions to ide-terminal, so the Windows build failed with E0428. The registry environment test's module is renamed to windows_environment.
2026-12-04 09:23:15 +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 35529ddd64 test(project-view): use a project name that fits a narrow tree on Linux too (#7897)
On the Linux runner's font the old project name alone was wider than the narrow tree, so the spec failed on every main run; a shorter name still needs the path to give way and fits on both platforms.
2026-12-04 08:33:19 +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
l0ng-ai 8c82d9924c fix(http-client): join pasted curl cookies with "; " (#7879)
Several -b cookies of a pasted curl command are joined into one Cookie header with "; ", the RFC 6265 separator. The curl comparison test now ignores the whitespace after ";" in Cookie headers, since curl releases differ there (macOS curl 8.7 sends "a=1;b=2", ubuntu-latest sends "a=1; b=2").
2026-12-04 04:04:35 +08:00
Deng Liuтаdengliu a050a8054f fix(macos): honor keepAliveInBackground without requiring autoStartService (#7872)
Closing the last window on macOS kept the app alive for local automations only when autoStartService was also on. That setting is off by default while keepAliveInBackground is on, so with default settings the app quit and scheduled automations stopped. The app now stays alive while keepAliveInBackground is on and there are enabled schedules or in-flight runs.

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

Co-authored-by: dengliu <[email protected]>
2026-12-04 04:02:34 +08:00
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
Yohann CATHERINEтаyohannlog 7eed207163 fix(terminal): pick up environment changes made after the IDE started on Windows (#7837)
Children of the IDE copied the IDE's own environment, frozen at launch, so a tool installed while the IDE was open (Node.js, a JDK…) was not found in a new terminal until a restart. New terminals, runs and tools now read the user and machine environment from the registry again, so they see variables changed since the IDE started.

Closes #7762

Co-authored-by: yohannlog <[email protected]>
2026-12-04 03:46:47 +08:00
Yohann CATHERINEтаyohannlog 952c67f752 perf(terminal): show the PowerShell prompt sooner (#7838)
The PowerShell shell integration read Clear-Host with Get-Command and wrapped it in a closure before the first prompt, which cost about 90 ms. It now reads the function drive and defines a plain function.

Co-authored-by: yohannlog <[email protected]>
2026-12-04 03:46:23 +08:00
Yohann CATHERINEтаyohannlog e4d0a36b5a fix(terminal): recognise Windows shells whatever the case of their file name (#7841)
Windows file names ignore case, so shell detection now compares the shell's file name case-insensitively: a shell set as Bash.exe or BASH.EXE starts as bash with -l, MSYSTEM and CHERE_INVOKING, like bash.exe.

Co-authored-by: yohannlog <[email protected]>
2026-12-04 03:46:09 +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