Графік комітів
5194 Коміти
Автор SHA1 Повідомлення Дата
ae9804bc8b feat(vcs): add option to filter Git Log on single click in Branches pane (#8040)
* feat(vcs): add option to filter Git Log on single click in Branches pane

* fix(vcs): do not update branch filter on context-menu right click

---------

Co-authored-by: LU XIANGRUI <[email protected]>
Co-authored-by: l0ng-ai <[email protected]>
2026-12-04 23:19:31 +08:00
faysou 644a380616 perf(project-tree): reuse file rows when expanding folders (#8046)
Reuse the file rows from unchanged directory listings when another folder opens. Recompute rows when filtering, sorting, or the listing changes, and keep compact folder chains dependent on their descendants.
2026-12-04 23:19:24 +08:00
l0ng-ai 4a41b14992 fix(database): select the matching cell when navigating into a CSV file shown as Data (#8067)
Find in Files, Go to Line and other navigation into a CSV file on its Data tab moved the caret in the hidden Text editor only. The table now maps the revealed offset to its record and field the way the CSV parser reads the file (quotes, CRLF, blank lines, header row), scrolls to that cell wherever local sorting put it, selects it and takes the focus; a row hidden by a filter is left alone.

Fixes #8043
2026-12-04 23:11:43 +08:00
audichuang 551328c901 fix(code-insight): say no usages were found when a search in the open Show Usages popup ends with none (#8058)
When a new search in the open Show Usages popup found nothing (e.g. switching the scope to Project Files for a symbol used only in libraries), the list said "No usages match the access filters" with no filter set. It now says "No usages found" when the search found nothing, and keeps the access-filter text for results the filters hide.

Co-authored-by: audichuang <[email protected]>
2026-12-04 23:04:08 +08:00
Vadim LazukтаInf1mum 54ce7ac6f8 fix(editor): re-ask semantic tokens when a server settles after a slow project load (#8060)
A file opened while csharp-ls was still loading the solution never got semantic colours: its only semantic tokens request timed out (a protocol error the plugin ignores), and csharp-ls sends no workspace/semanticTokens/refresh when the load ends. The semantic plugin now also re-requests when a server's long busy spell settles, the recovery signal inlay hints and code lens already use. Server-initiated refreshes and the unavailable backoff are unchanged.

Closes #8052

Co-authored-by: Inf1mum <[email protected]>
2026-12-04 23:02:47 +08:00
l0ng-ai a33c46465b fix(settings): use theme-aware Project Structure icons 2026-12-04 22:59:23 +08:00
l0ng-ai b747e81cb6 fix(lsp): offer the kotlin-lsp update when a running build expires (#8059)
A kotlin-lsp build past its date only crashes when it starts. A running one reports that its license expired, keeps working for a short grace period, then parks and stops answering, so Go to Declaration silently did nothing and no update was offered. A license-expiry notice in window/showMessage or window/logMessage now marks the running instance; its Ready/Busy status says the build expired, and the UI offers the same update as for a crashed expired build, once per instance. The "renew or activate a license" notice is no longer shown as is.

Fixes #8033
2026-12-04 22:47:03 +08:00
l0ng-ai 24fdbb54db fix(i18n): translate the Edit Commit Message warning title and allow the var() swatch tooltip (#8057)
textCatalog.test.ts failed on main: the pushed-history warning of Edit Commit Message passed an untranslated "Edit commit message" literal as its title, now the action's catalog title "Edit Commit Message"; and the color gutter's var(--name) = value tooltip is CSS shown as written, now listed in TEMPLATES_AS_WRITTEN.
2026-12-04 22:35:56 +08:00
LU XIANGRUIтаwildcatDownstairs 535f7584ee fix(maven): show default-active profiles in grey and pass explicit -P choices (#8042)
Profiles active by default (activeByDefault in a POM or settings.xml, or listed in settings.xml activeProfiles) now show a grey check, and a profile the user checks explicitly is always passed in -P: before, checking a default-active profile next to another one left it out of -P, so Maven deactivated it. A click goes from the default to explicitly disabled, then explicitly enabled, then back to the default; an inactive profile goes enabled and back. activeByDefault is read case-insensitively, declarations of one profile in parent, module and settings.xml are merged, and profile ids are shown verbatim instead of through the text catalog.

Closes #8005

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 22:24:17 +08:00
audichuang 49e26d1de1 fix(code-insight): hide the usage count while Show Usages is still searching with nothing found (#8041)
Show Usages opens 300 ms into a slow search, before anything is found, and its header then read "0 found" as if the search had finished empty. The count is hidden while the search runs with no results; the header spinner and "Searching for usages…" show progress, and the count appears once usages arrive or the search ends.

Refs #6823

Co-authored-by: audichuang <[email protected]>
2026-12-04 22:10:49 +08:00
audichuang 40fb4923e6 fix(editor): keep Rearrange Code from moving a generator under a field without a semicolon (#8039)
Rearrange Code could move a method starting with *, in or instanceof to the top of a class right below a field with no semicolon, where it continued the field's initializer (x = 1 then *gen() {} reads as 1 * gen()). The same happened when the only semicolon ending the field sat on a comment line that moved with the method. Such classes are now left alone; a semicolon or static block above, or a first method that stays first, still lets the class rearrange.

Co-authored-by: audichuang <[email protected]>
2026-12-04 22:08:27 +08:00
LU XIANGRUIтаwildcatDownstairs 8fefbc1c82 fix(vcs): allow editing commit message of merge commits (#8037)
Edit Commit Message refused any range with a merge commit because it validated the range like an interactive rebase, and the backend reword kept only one parent. Rewording never changes trees, so it now keeps every parent of the commit and rewrites its ancestry-path descendants with their parents remapped, which preserves the history graph; the index and working tree stay untouched. Works for a merge commit at HEAD (right after a merge) and earlier on the current branch; commits outside the current branch and protected history are still refused.

Closes #7991

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 22:05:40 +08:00
LU XIANGRUIтаwildcatDownstairs 059dca5b34 fix(editor): isolate ParseContext skipped ranges across state updates (#8035)
ParseContext.changes() in @codemirror/language handed the parent context's skipped array to the child whenever there was nothing to remap, so a speculative state.update() (paste reindent, Shift+Enter, Move Line, Complete Statement) let StreamLanguage's skipUntilInView push a range past the live document's end into the live state's array. Applying the real transaction then threw RangeError in ChangeSet.mapPos and broke the editor for .properties and other StreamLanguage files longer than the viewport. The patch gives every child context its own skipped array.

Closes #7989

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 21:51:46 +08:00
Vadim LazukтаInf1mum 277464e93b feat(color-preview): resolve var() usages and detect modern color syntaxes in the gutter (#8026)
The color gutter now shows a swatch for every color on a line, side by side in source order: literals as before, plus each var(--name) whose value resolves to a color through the project's custom properties (web_css_variables, the same data the var( completion uses), following nested references and fallbacks with a depth limit and cycle check. oklch(), oklab(), lch(), lab(), hwb(), color() and color-mix() are detected as colors (swatch only). A color function with var() inside takes the project's values instead of the IDE's own custom properties, and shows no swatch when one doesn't resolve.

Closes #8017

Co-authored-by: Inf1mum <[email protected]>
2026-12-04 21:35:17 +08:00
Vadim LazukтаInf1mum a6e9c79c96 feat(editor): fill indent levels under rainbow indent guides (opt-in) (#8018)
Adds Editor > General > Appearance > Rainbow indent guides > Fill indent levels (off by default). With it on, each indent level's whitespace is tinted in its rainbow colour at low strength, including code lens rows and blank lines; the caret's and matched-brace levels are highlighted the same way. The setting is declared in the backend settings schema so it can be saved.

Closes #7883

Co-authored-by: Inf1mum <[email protected]>
2026-12-04 21:25:24 +08:00
audichuang 1a6c0dff36 ci: run the Kotlin smoke against kotlin-lsp 271.3588.0 (#8034)
* ci: run the Kotlin smoke against kotlin-lsp 271.3588.0

* docs(smoke): list kotlin-lsp 271.3588.0 as the pinned version
2026-12-04 21:17:16 +08:00
l0ng-ai 73708c8e7d test(e2e): wait for editor session stream before zooming in agentMarkdown (#8045) 2026-12-04 21:16:53 +08:00
l0ng-ai d2cc2093b1 docs: escape placeholder angle brackets in MDX files (#8044) 2026-12-04 21:16:46 +08:00
Vadim LazukтаInf1mum ff9a48eb0e feat(vcs): open branch and revision comparisons as Compare tool window tabs (#8021)
Compare with Branch… / Compare with Revision… on a folder or multi-selection, two-commit Compare Versions from the Git Log, the branches' Show Branch Diff and Show Diff with Working Tree now open one closable, titled tab per comparison in the Compare tool window instead of a separate comparison window. Only the active comparison loads; closing the last tab, or switching projects, removes the stripe button, which shows the number of open comparisons as its badge. The tabs use the shared Tabs strip (hidden-tabs dropdown, Close Tab / Close All Tabs / Close Other Tabs). Compare with Current keeps the two-pane branch comparison editor and a single file still opens its diff tab.

Closes #7813

Co-authored-by: Inf1mum <[email protected]>
2026-12-04 21:08:45 +08:00
l0ng-ai 24e42bb302 fix(terminal): let PowerShell run npm.ps1 and other script shims on Windows (#7939)
Windows PowerShell's default execution policy is Restricted, so in the integrated terminal npm.ps1, nvm/Volta Node shims and a virtualenv's Activate.ps1 could not run. A plain PowerShell start in the terminal now gets -ExecutionPolicy Bypass (process scope) before -NoExit -Command <init>, and MCP run_command running a line in PowerShell on Windows gets the same. Process scope changes nothing outside that PowerShell process, a Group Policy setting still takes precedence, and a shell with explicitly configured arguments starts as configured.

Fixes #7920
2026-12-04 20:52:22 +08:00
arookieofc-ai[bot]таarookieofc-ai 67c00a986a feat(plugins): add clone sources to the Clone Repository dialog (#7948)
[[contributes.cloneSources]] (API 1.21) adds an entry to the Get from VCS source list whose required web page lists repositories and hands the chosen one to the dialog with {"op": "clone-url", "url": …}. The page is served and messaged like other plugin web UI under the key cloneSources/<id>; the dialog fills its URL and directory and git only runs what the user confirms. The standalone Get from VCS window registers only this contribution point. plugin_web_page and plugin_view_event now also run in projectless windows (outside_restricted); Restricted Mode still runs no plugin UI or code. Docs list the point under API 1.21.

Fixes #5572

Co-authored-by: arookieofc-ai <[email protected]>
2026-12-04 20:46:11 +08:00
l0ng-ai 896ec3b924 fix(agents): keep following the chat end when a row grows after its render (#8015)
While a reply streamed, the conversation followed the end only after a React render or when the stream itself resized, so a row that grew later on its own (a highlighted code block, a laid-out diagram or image) left the end of the reply hidden under the composer. The rows' ResizeObserver now brings the view back to the end while it follows the end and nothing else moved the offset: not while the reader scrolls up, drags, uses Find, has fold slack below, or while the tab is hidden.
2026-12-04 20:30:49 +08:00
ambersariya 2f18cacbaf fix(project-tree): reveal individual folders in compacted chains (#8029)
New and Paste on a compacted folder row (TEST/123) always target the deepest folder, so a folder in the middle of the chain could not be reached from the tree. A Show Individual Folders entry in the context menu of a compacted row now shows each folder of that chain as its own row for the current session, so an intermediate folder can be selected for New, Paste and the other folder actions. The compacted row keeps targeting its deepest folder, and the Compact Middle Packages option is unchanged.

Fixes #8022

Co-authored-by: ambersariya <[email protected]>
2026-12-04 20:23:15 +08:00
Vadim LazukтаInf1mum 2cad48b401 fix(build-tools): running a goal or task from the tool window leaves the selected configuration alone (#8028)
Running a Maven goal or Gradle task from its tool window went through run.runConfig with a temporary configuration, and adoptTemporary always selected it, so the just-run goal replaced the configuration selected in the Run Configurations dropdown. The tool window now passes select: false and adoptTemporary only selects when asked; editor and gutter runs still select their temporary configuration.

Fixes #8016

Co-authored-by: Inf1mum <[email protected]>
2026-12-04 20:17:47 +08:00
LU XIANGRUIтаwildcatDownstairs 1f8cf7e3a8 feat(vcs): one changelist at a time and included counts in the Commit Changes dialog (#8012)
The modal Commit Changes dialog now has a Changelist chooser above the changes. It starts at the active changelist; the tree shows that list's changes plus unversioned files, and only that list's changes are committed, so a file ticked in another changelist can no longer slip into the commit. A legend below the tree counts the included files as added (new + unversioned), modified and deleted. The non-modal commit view is unchanged.

Refs #7433

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 20:12:41 +08:00
Deng Liuтаdengliu 978bcd6dd4 feat(roots): auto-exclude nested linked Git worktrees from indexing and search (#7967)
Linked worktrees of the repository at the project root that live below the root (any path, e.g. some/folder or .wt/topic) are now detected from <common_dir>/worktrees/*/gitdir and marked excluded, so they stay out of indexing, the file watcher, Find in Files and the Commit module list. Worktrees of other repositories, submodules, a linked worktree opened as the project root, attached workspace members and Cancel Exclusion are unaffected.

Co-authored-by: dengliu <[email protected]>
2026-12-04 20:01:51 +08:00
l0ng-aiтаarookieofc a1d406beb3 test(plugins): expect the editor's visible lines in remote focus events (#8032)
API 1.21 added the editor's visible lines as a third element of an event's editor payload, null when the client sent none. The remote focus test still expected the two-element form and failed on every Linux run.

Co-authored-by: arookieofc <[email protected]>
2026-12-04 19:47:38 +08:00
faysouтаfaysou b46c467fc3 fix(markdown): enable Find in rendered previews (#8014)
The Find shortcut did nothing in Markdown Preview Only. It now opens the console find bar above the preview (Match Case, Words, Regex, match counter, previous/next), searches the rendered text including inline formatting and offscreen matches, follows the configured Find shortcuts, and Escape returns focus to the preview. The source editor keeps its own Find in split and editor views.

Co-authored-by: faysou <[email protected]>
2026-12-04 19:02:30 +08:00
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