Графік комітів
5166 Коміти
Автор SHA1 Повідомлення Дата
Isaac Gallartтаigallart 091dd85ef0 fix(vcs): use symlink target history in the editor (#7891)
The repository scan skips symlinks, so a file opened through a file symlink or a symlinked directory whose target lies outside the registered Git roots had no Git Blame or change markers, even when Git tracked the target. Read-only editor commands (blame, line hunks) now use the target's repository, discovered with the restricted read policy and never registered for status or Commit; excluded mappings and a disabled Git integration are honoured. The editor probes once per open file whether the link has committed history: only then do Annotate and the markers apply, and ordinary files in projects without Git make no further backend calls on edits.

Co-authored-by: igallart <[email protected]>
2026-12-04 18:57:51 +08:00
LU XIANGRUIтаwildcatDownstairs 4eab243ef2 fix(vcs): mark the active changelist bold and list it first (#8004)
The Commit tool window meant to draw only the active changelist in bold, but the stylesheet only gave inactive lists font-weight 400, the weight every group label already has, so the active list looked like the others. Lists also appeared in creation order. The active list is now bold and comes first, the other lists follow by name in natural order, and Unversioned Files stays last.

Refs #7433

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 18:44:43 +08:00
LU XIANGRUIтаwildcatDownstairs 56c6e8090a fix(diff): cap the Next Difference scroll at 100 ms and move both panes together (#8002)
Next / Previous Difference scrolled with the browser's smooth scroll, whose duration grows with the distance, and the other pane only followed on scroll events, a frame behind. The jump now animates with an ease-out for at most 100 ms (none for a line or less, full length from eleven lines on), the other pane moves in the same frame, a wheel or pointer still interrupts it, and reduced motion still jumps instantly. The unified diff uses the same animation and stops an unfinished jump before the next one.

Refs #7433

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 18:39:49 +08:00
LU XIANGRUIтаwildcatDownstairs bd3f0cb651 fix(notebook): apply the Markdown soft line breaks setting to Markdown cells (#8000)
Notebook Markdown cells always parsed with a single Marked instance with breaks off and didn't read languages.markdown.softLineBreaks, so "Break on single newline" had no effect there. Markdown cells now use the setting and re-render when it changes; hard breaks, code blocks and math are unchanged.

Fixes #7941

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 18:30:41 +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
Александр Юрченкотаyaleksandr89 1c4aa9f1b2 docs(readme): add Russian translation (#7993)
Adds README.ru.md and links it from the language switcher of every README; the Chinese README also gains its missing link to the Turkish one.

Co-authored-by: yaleksandr89 <[email protected]>
2026-12-04 17:51:15 +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 f2b602a48e fix(editor): keep the current find match readable, show more Search Everywhere results (#8007)
Find selects the current match, and the selection is repainted inside the match's own mark. The selected text kept the match's foreground, meant for the yellow match fill, so on a dark theme the current match was dark text on the blue selection. Selected text inside a find match now takes the scheme's selection foreground, or the editor's when the scheme sets none.

The All tab of Search Everywhere showed 6 results per group before "more"; it now shows 15, as many as each "more" adds.

Fixes #7972
2026-12-04 17:39:59 +08:00
l0ng-ai b4c8a6708c fix(plugins): give the keyboard to a plugin dialog's or tool window's page (#8003)
A plugin dialog focused its Close button while its page loaded, and a plugin web tool window left the focus on its body when activated, so typing went nowhere until the user clicked into the page. WebKit doesn't let a sandboxed frame focus a field before the user acts on it, so the page's autofocus or focus() could not help.

The dialog and the tool window now focus the plugin frame, and the frame bridge sends a key typed while nothing in the page has the focus to the page's autofocus field. Shortcuts, Tab and Escape keep their meaning.

Fixes #7973
2026-12-04 17:31:55 +08:00
l0ng-ai 8e36365bc4 fix(vcs): keep agent worktrees and new worktrees out of the project (#7964)
Agents create full checkouts of the repository in .worktrees and .claude/worktrees below the project root, so Find in Files returned every file twice and navigation could land in the copy. Both folders are now excluded directly below the project root and each workspace project's root, like a Project Structure excluded folder; jdtls gets them as import exclusions only when they exist, so other Java projects keep their workspace.

New Worktree suggested the repository's parent folder, which is the project itself when the project is a folder holding the repository. The default location now starts next to the project folder and moves up while it is still inside the project, a content root or the repository.

Closes #7957
2026-12-04 17:19:48 +08:00
l0ng-ai b5a8a77cfa fix(vcs): open the GitHub sign-in terminal from the Get from Version Control window (#7965)
The clone window booted without the workbench and never provided the embedded terminal service the Sign In to GitHub CLI dialog uses, so Add account… showed "The terminal is not available in this window." The clone window now provides it lazily, as the Settings window does. The Sign In button on the not-logged-in state uses the same dialog.
2026-12-04 17:10:03 +08:00
Mollo-i 70a4fbec3a test(editor): cover the Rearrange code row in the Actions on Save layout test (#7992)
#7934 added Rearrange code to Settings > Actions on Save, so the table has five rows, but actionsOnSaveLayout.spec.ts still expected four and failed on main. The test now expects the new row, includes it in the alignment checks and asserts its trigger cell stays empty while the action is off.

Co-authored-by: Greenker <[email protected]>
2026-12-04 16:58:45 +08:00
l0ng-ai b640078b11 fix(settings): show the default font in font pickers and select the current one (#7995)
A cleared font field showed nothing and the font list gave no hint of the default family. Font pickers with a default (UI, editor, terminal, chat and chat code fonts) now show it as the placeholder of an empty field and mark it Default in the list, and opening the list selects and scrolls to the current family.

Fixes #7952
2026-12-04 16:54:24 +08:00
Deng Liuтаdengliu e186f74782 fix(agents): wrap long answered user choices inline and fold long question context (#7979)
Settled answers to agent questions and ACP elicitation forms were drawn in the single-line, ellipsized permission record, in reverse order (choice before question), and with a minus icon because permissionResult treated answers that matched no permission option as rejected. Answered questions and forms now render through a shared QuestionRecord row: a check or minus icon, the chosen answer wrapped in full, short prompts inline, and long or multi-item question or form context folded behind the existing Fold disclosure. Tool and command approval records stay single-line.

Co-authored-by: dengliu <[email protected]>
2026-12-04 16:47:23 +08:00
Mollo-i 25d0294947 fix(editor): keep the caret in place on screen when reformatting (#7971)
Reformat applied its edits with scrollIntoView: false and CodeMirror kept scrollTop, so when the formatter added or removed lines above the caret, the caret slid up or down on screen. The edit now measures the caret's viewport row before the transaction and compensates scrollTop after it, falling back to the caret's line block when its row is no longer drawn. Explicit Reformat Code, format on save and the external formatters all go through this path.

Co-authored-by: Greenker <[email protected]>
2026-12-04 16:39:05 +08:00
Ivan 5d26e44c0e fix(diff): navigate from the working-copy pane with the keyboard (#7961)
Go to Implementation(s), Go to Declaration or Usages, Go to Type Declaration and Super Method required an active text editor tab, so they did nothing while a diff had focus. They now run on the focused diff pane when it shows a file's document; revision panes have no document and keep them disabled. Option+Command-click focuses the clicked pane before checking whether the action is enabled.

Closes #7960

Co-authored-by: Pecnikas <[email protected]>
2026-12-04 16:29:18 +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 81d1285e38 fix(sdk): grant every capability without a value in MockHost::install() (#7983)
The mock's default grant list lacked project.write, database.schema, secrets, agents and java.agent, so tests using MockHost::install() got Denied from calls the mock itself checks. It now has every capability that takes no value; an SDK test pins it to the names the mock requires and a host test to the capabilities the manifest parser accepts. Plugin components rebuilt.

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

Refs #7929
2026-12-04 15:40:44 +08:00
audichuang 3eb4b54525 fix(workspace): restore a file's case when undoing a case-only rename (#7944)
On a case-insensitive file system a case-only rename's two roots name one directory entry. The workspace edit snapshotted both, and restore deleted and recreated each in turn, so undo left the new spelling on disk. Now only the spelling on disk keeps a snapshot, and restore clears the roots without one before recreating the others.

Co-authored-by: audichuang <[email protected]>
2026-12-04 15:16:29 +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 b16d485f35 feat(vcs): get files from the branch comparison window (#7953)
The Compare with Branch window gets a Get action (toolbar and dialog button) that replaces the selected local files with their content in the compared revision: missing files are created, files the revision lacks are deleted, and a renamed file is restored under its old path. The window can be maximized where the app draws its own title bar.

A file of the revision that is back in the working tree as an untracked file is now one change (modified, or omitted when identical) instead of a deletion plus an untracked file.

Closes #7917
2026-12-04 14:19:28 +08:00
l0ng-ai 34739e181d feat(plugins): download several marketplace plugins at once (#7950)
Installing a marketplace plugin disabled every other Install and Update button until it finished. Each marketplace plugin now tracks its own download: others can be installed meanwhile, and the install pages of finished downloads follow one another. A second click on a plugin already on its way does nothing.

Refs #7911
2026-12-04 14:03:58 +08:00
l0ng-ai 2cf5f5369f fix(run): put a Tomcat run tab's toolbar in its tab row (#7949)
The Tomcat run tab showed its Rerun / Stop / Debug / Update / Open in Browser toolbar on a row of its own above the Server, Deployment and log tabs. The toolbar now follows those tabs in their row, with Edit Configurations at the end, so the output gets that row back.

Closes #7912
2026-12-04 13:59:34 +08:00
l0ng-ai b27ef431a6 feat(vcs): show a changed file's whole path when the panel cuts its row off (#7947)
Hovering any part of a Commit window file row that the panel cuts off shows the file's path relative to its root; a row that fits keeps its parts' own tooltips. The tooltip host takes this as data-tooltip-clipped, shown while the element's content runs past a clipping ancestor or is ellipsised.

Closes #7926
2026-12-04 13:47:12 +08:00
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