Графік комітів
5227 Коміти
Автор SHA1 Повідомлення Дата
l0ng-ai f07b2fbcb6 feat(keymap): add Visual Studio and ReSharper keymap presets
Settings › Keymap gains Visual Studio and ReSharper presets (Windows/Linux
and macOS), generated from JetBrains' Visual Studio and ReSharper keymaps
with the same parent chain: Visual Studio builds on the IntelliJ preset of
the OS, ReSharper on Visual Studio. Where a preset gives a key to another
action, inherited bindings of context-free actions on that key are dropped
so the key does one thing.

IDEA_ACTIONS gains 64 standard IDEA action ids (Resume, StepOver, FindNext,
CompileDirty, SwitchHeaderSource, …), which also helps imported IDEA
keymaps and IdeaVim's :action, and imported keymaps based on Visual Studio,
ReSharper or NetBeans now pick that preset as their parent.
2026-12-05 02:13:27 +08:00
Jason HanтаJackzigen 8f1d2afb0c fix(github): add a root node to the pull request changes tree (#8101)
The pull request changes tree had no node for the whole change set, so F7 walked only from the file first opened and root dotfiles sorted before it were reachable only with Shift+F7. The tree now has the repository's node on top (named after the repository folder, with the file count beside it), in both groupings; selecting it selects every change, so Show Diff walks the whole pull request and the viewed toggle covers every file. An empty pull request shows no root row.

Co-authored-by: Jackzigen <[email protected]>
2026-12-05 02:01:20 +08:00
l0ng-ai d48146f52d fix(agents): keep agent_refresh_models off the main thread and cache newest_install (#8070)
Opening the New Agent Task page froze the UI when a native agent such as Codex had several installs on PATH: agent_refresh_models was a synchronous command, so it resolved provider specs and ran <agent> --version for every candidate on the main thread, while agent_commands, agent_probe and catalog completion repeated the same blocking lookup on Tokio workers. agent_refresh_models now runs on the blocking pool, the remaining provider_specs / resolve_for_launch / catalog requests move to spawn_blocking, and newest_install probes candidates in parallel with a per-binary cache (canonical path, mtime, size, inode; 60 s) and single-flight deduplication.
2026-12-05 01:59:50 +08:00
Christer Söderlundтаchristerso 5cfd5157d0 feat(scaffold): add an Odin project to New Project, with Odin icons (#8096)
New Project gains an Odin entry. Odin has no init command, so the generator writes main.odin, an ols.json and a .gitignore, and checks that odin is installed. .odin files get a file icon (light and dark), and New Project uses the Odin logo from Simple Icons, credited in THIRD_PARTY_LICENSES.md.

Co-authored-by: christerso <[email protected]>
2026-12-05 01:45:16 +08:00
Christer Söderlundтаchristerso 0ba39f732e feat(languages): add Odin with OLS, its tree-sitter grammar and outline (#8095)
.odin files open as Odin: highlighting from tree-sitter-odin, a Structure view from a new outline query (every name of a multi-name field listed), and OLS as the language server, installable from Language Servers settings. OLS release archives name the program after the platform (ols-x86_64-pc-windows-msvc.exe), so the installer also locates ols-*.

Co-authored-by: christerso <[email protected]>
2026-12-05 01:43:26 +08:00
arookieofc-ai[bot]таarookieofc-ai 194b01d74f feat(scaffold): add CakePHP project generator (#8090)
New Project › PHP gains CakePHP, generated with composer create-project cakephp/app (PHP 8.2 or later and Composer required).

Co-authored-by: arookieofc-ai <[email protected]>
2026-12-05 01:28:12 +08:00
arookieofc-ai[bot]таarookieofc-ai 6ea187f0d0 feat(scaffold): add CodeIgniter project generator (#8088)
New Project › PHP gains CodeIgniter, generated with composer create-project codeigniter4/appstarter (PHP 8.2 or later and Composer required).

Co-authored-by: arookieofc-ai <[email protected]>
2026-12-05 01:27:01 +08:00
arookieofc-ai[bot]таarookieofc-ai 0fe7fa9b48 feat(scaffold): add Fastify project generator (#8086)
New Project › JavaScript gains Fastify, generated with the official create-fastify package, with the package manager choice and the optional dependency install the other Node generators have.

Co-authored-by: arookieofc-ai <[email protected]>
2026-12-05 01:26:47 +08:00
l0ng-ai f75b1c0a04 feat(java): copy string concatenation text to the clipboard (#8100)
A Java intention copies the text a string concatenation at the caret builds, with ? for each operand that isn't a literal and a line break where the operands continue on a new line; on a lone string literal or text block it copies the literal's value (escapes interpreted, text block indentation removed). It reads the syntax tree, so it is offered before jdtls is ready.
2026-12-05 01:24:05 +08:00
audichuang e5642b0631 fix(i18n): keep known text a locale lacks in English instead of half-translating it (#8083)
In a locale that lacked a sentence, txTemplate matched the English source against loose templates such as '{count} class' and translated only the literal part, so hints and notifications showed half-translated text. A text that is a key of text/en.json and missing from the locale now comes back in English with no template matching (decided in #8047); runtime text that is not in the catalog still matches templates, and the same check runs before text built by a tx tag is rebuilt. text/en.json is loaded with any other locale; if it fails to load, translation behaves as before.

Co-authored-by: audichuang <[email protected]>
2026-12-05 01:16:05 +08:00
faysouтаfaysou 632ee77580 perf(project-tree): avoid pairwise library root comparisons (#8085)
Building the Project tree model counted, for each library root of a group, how many sibling roots hold it by comparing it with every sibling. SDK groups with thousands of roots made that quadratic and delayed expanding even small folders. Nested roots are now counted by looking up each root's normalized directory prefixes, with the same result (same-path roots with a different spelling, trailing separators and Windows paths included).

Co-authored-by: faysou <[email protected]>
2026-12-05 01:10:26 +08:00
l0ng-ai 51227d5898 fix(agents): keep text an agent sends before the prompt out of the reply (#8098)
pi-acp sends its startup info as an agent message right after session/new, before the prompt. The timeline appended the reply to that entry, so Generate Commit Message with Agent put the startup info into the commit message. The timeline is now sealed when session/prompt is sent, so the reply's text (agent or thought) starts an entry of its own.
2026-12-05 01:08:53 +08:00
l0ng-ai f5180392f2 fix(vcs): focus the changes tree when the Commit tool window opens (#8097)
Opening the Commit tool window put the focus in the commit message, which was the window's activation target. The changes tree now takes the activation focus; Commit… (Cmd/Ctrl+K) requests the message through the commit store, and the message keeps the activation focus until it loses focus. The modal Commit dialog still focuses its message.
2026-12-05 01:02:28 +08:00
Serbin Yaroslavтаwislert 3278eab0c8 fix(viewers): zoom the image viewer a step per Ctrl+wheel notch (#8089)
One Ctrl+wheel notch could zoom the image viewer from 94% to 693% on Windows: the handler multiplied the zoom by exp(-deltaY * 0.01) with no per-event limit, so a large pixel-mode notch zoomed several times over. The wheel curve the Mermaid preview already used (about 15% a notch, at most x1.5 or /1.5 per event, trackpads continuous) is now shared as wheelZoomFactor and used by the image viewer and the database ER diagram, which had the same formula.

Co-authored-by: wislert <[email protected]>
2026-12-05 00:56:28 +08:00
l0ng-ai 71bfc70996 feat(github): browse and work on repository issues (#8077)
* feat(github): browse and work on repository issues

* fix(github): fix issue browse assignee filter, list keyboard navigation, and edge cases
2026-12-05 00:54:51 +08:00
l0ng-ai 1e6ab2ecff fix(java): repair a jdtls workspace that Eclipse can no longer open (#8091)
jdtls exited with code 13 on every start when its workspace's saved resource tree no longer matched itself (ResourcesPlugin.start → SaveManager.restore → ObjectNotFoundException). Before each start, if the last session in the workspace's .metadata/.log failed inside SaveManager.restore, the saved resource tree (.metadata/.plugins/org.eclipse.core.resources) is removed so jdtls imports the projects again; JDT's index is kept.

Fixes #7908
2026-12-05 00:37:53 +08:00
Akbar Husainтаl0ng-ai 0f0e3e73e7 feat(java): use java-analyzer's extract interface requests (#7987)
* feat(java): use java-analyzer's extract interface requests

* feat(java): match the merged extract interface protocol

* fix(java): handle null extractInterfaceInfo, keep source className, and add protocol tests

---------

Co-authored-by: l0ng-ai <[email protected]>
2026-12-05 00:33:19 +08:00
tongkangwangтаl0ng-ai a2498f096a fix(code-insight): stabilize Show Usages popup sizing and placement (#8080)
* fix(code-insight): stabilize Show Usages popup sizing and placement

The popup used a fixed 680px width and 14-row limit. Restoring a saved
size also prevented it from adapting to incoming results. Follow the
IntelliJ popup sizing and placement flow while limiting the filename
column to 25% of the popup width to leave space for code.

Sizing and columns:
- Restore both saved dimensions while waiting for results. Once results
  arrive, cap the natural width at the saved width and calculate the
  height from content. Only preview mode also uses the saved height.
- Measure filenames, line numbers and code with the actual fonts, with
  a 500px natural width limit per column. Fit short filenames to their
  content and ellipsize long names at 25% of the row width. Reserve 5ch
  for line numbers and at least 8em for code, which fills the remaining
  space.
- Include the filename cap, code minimum width, header, controls, borders
  and gaps in the natural popup width. Do not widen the popup for text
  that the filename column will clip.
- Cache maximum natural widths during streaming and filtering. After a
  manual resize, keep updating filename measurements but stop resizing
  the popup automatically until it is reopened or preview is toggled.
- Show up to 30 rows normally or 20 with preview. Leave half a row when
  the list scrolls, and let the list fill the available height.
- Preserve the 360x160 minimum size and existing storage keys. Fit the
  viewport when it is smaller, and save the actual size on close.

Placement and preview:
- Open below the caret. When it is outside the visible editor, use a
  point one third across and halfway down the visible editing area.
- Add optional fitToScreen placement to Popup. Keep the fitted position
  when content shrinks, and move only when necessary to stay visible.
  Reset placement when the anchor changes or preview rebuilds the popup.
- Reuse the shared split panels with a default 60/40 list/preview split,
  persisted proportions, mouse dragging and keyboard adjustment. Set the
  preview minimum to five actual editor lines and update it after font
  or editor geometry changes.
- Preserve the preview's pixel height while manually resizing the outer
  popup. Wait for the splitter's final measurement before restoring it.
- Add onResizeStart on the first pointer movement. Clicking the resize
  handle alone does not lock preview height. Toggling preview clears
  saved dimensions, measurements, manual size and drag position, and
  cancels pending resize callbacks.
- Add a translated accessible label to the preview divider and preserve
  its keyboard controls alongside usage-list navigation.

Verification:
- 17 Playwright layout and demo tests passed in local Google Chrome,
  covering both themes, the 25% cap, narrow windows, filtering, saved
  dimensions, position stability, preview, keyboard controls and resize.
  Both filename-cap regression cases failed before the fix and passed
  afterward.
- Wait for fonts and entry animations before dragging the one-pixel
  divider or measuring dimensions. Account for popup growth when the
  search caption changes while checking the filename cap.
- 49 Popup and Show Usages unit tests passed on the final version.
- pnpm typecheck and pnpm build passed, including Safari 15.4 checks.
  Changed-file oxlint, oxfmt and git diff --check passed.
- An earlier full test run had 20,483 passed, 65 skipped and two existing
  translation-check failures in color-preview/varColors.ts and
  vcs/rebase.tsx. Earlier full lint and knip checks passed. Full format
  checking failed on an existing untracked .workbuddy memory file.
- Before/after screenshots for both themes and narrow windows, plus
  interaction recordings, are retained in temporary verification folders.
  Tests used browser fixtures; the native Tauri webview was not tested
  because no Tauri MCP bridge was available.

* fix(code-insight): restore focus across preview toggle, avoid width ratchet, and clean up cancelled resizes

---------

Co-authored-by: l0ng-ai <[email protected]>
2026-12-05 00:29:34 +08:00
l0ng-ai 494d1a9bf5 fix(plugins): keep plugin gutter actions and markers coming while navigation indexes (#8087)
Plugin language visuals, plugin colours, server code lenses and plugin line markers restarted a 300-400 ms debounce on every trigger and threw away the request in flight. While a project indexes, plugin navigation notifies about every 250 ms, so the request was never sent or its answer was always dropped: a new editor never got its gutter actions. A shared CoalescedRefresh now runs at the latest after a maximum wait and only drops a result older than one already shown.

Fixes #8056
2026-12-05 00:25:58 +08:00
RuyimgByCN 417ecfed50 perf(plugins): batch navigation indexing, skip empty edges, and isolate bad files (#8013)
Plugin navigation indexing sent 8 files per IPC call, invalidated each batch first and slept 20 ms between batches, and one invalid document failed its whole batch. The frontend now sends 128-file batches (active editors first) without the separate invalidation; the host loads them, calls the plugin in chunks of 16 so interactive requests interleave, skips and evicts invalid or oversized documents one by one, and does not store documents without edges, so they no longer take graph slots. A full graph still skips uncovered files before running the plugin. Discovery stays at one graph's 20,000 files, so the covers-N-of-M notice stays true. Sparse 20k files: 780 ms → 373 ms indexing, same navigation results.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-05 00:06:00 +08:00
Markus Hofmann 94653b487d fix(editor): align filled indent steps and keep them under the selection (#8038)
With Fill indent levels on, each stripe started two pixels left of the
indent step it marks: the offset that keeps a 1px guide off the glyph
edge was applied to the step-wide stripes too, so a stripe ended short
of the code and the first one ran into the line's left padding.

The stripes were also painted on the guide layer above the text, which
is right for a thin line but tints a selection and the caret row across
the indentation. As a row background they belong below the selection
layer, where the theme comment already says they are.
2026-12-05 00:03:26 +08:00
Serbin YaroslavтаClaude a5473e896a feat(color-preview): open a resolved variable's declaration from its gutter swatch (#8075)
Clicking the swatch of a var(--name) usage opens the declaration its color
comes from (the variable written at the usage, the document's own declaration
first), also in read-only editors. Literal swatches keep the color picker;
color functions with var() inside stay display-only.

Refs #8017

Co-authored-by: Claude <[email protected]>
2026-12-05 00:00:29 +08:00
LU XIANGRUIтаwildcatDownstairs 8483c355c8 fix(workspace): remove a workspace member whose folder is gone (#8069)
The Project view's context menu returned early for an unavailable path, before the branch that offers Remove from Workspace / Detach Project for a member root, so a member whose folder had moved or been deleted could not leave the workspace. The member entry now comes from one helper used by both the available and the unavailable branch.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 23:57:39 +08:00
audichuang 8d2d2d27e6 fix(code-insight): keep Show Usages' scope chooser on Project Files while that search takes a while (#8064)
* fix(code-insight): keep Show Usages' scope chooser on Project Files while that search takes a while

* test(code-insight): Show Usages widens when invoked again during the chooser's slow Project Files search
2026-12-04 23:56:58 +08:00
LU XIANGRUIтаwildcatDownstairs 72db7ecb97 perf(debug): share one lldb-dap server across Xcode debug sessions (#7442)
Every Xcode attach started a fresh lldb-dap, which parses the symbol tables of the ~550 system libraries an iOS app loads before reaching a breakpoint. Xcode attaches on macOS now reuse one lldb-dap server (keyed by working directory, lldb-dap binary and environment, over a private Unix socket) that keeps the parsed modules; it ends after 10 minutes without a session, when the IDE quits, or when another configuration replaces it. Overlapping attaches and custom adapter invocations keep their own process. Measured on an iOS Simulator: attach to stopped-with-frames 1.74 s before, 0.49 s with a warm server, 1.56 s cold.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 23:55:28 +08:00
l0ng-ai 406cf4e474 fix(debugger): keep the editor still while stepping when the execution line is on screen (#8076)
Each stop selected the top frame through openFile with a selection, which always scrolled the line to the centre of the editor, so stepping through visible code moved the text on every step. OpenOptions gains scroll: "visible" (leave an on-screen selection where it is, centre an off-screen one); the debugger uses it for the top frame on each stop and for Show Execution Point. Selecting another frame and Jump to Source still centre the line.

Fixes #7963
2026-12-04 23:39:41 +08:00
RuyimgByCNтаl0ng-ai bc019ace9d feat(plugins): add database schema discovery and query execution APIs (API 1.21) (#7958)
* feat(plugins): add database schema discovery and query execution APIs (API 1.21)

* docs(plugins): list API 1.21 database discovery and query additions in versioning

* fix(plugins): address database discovery/query review findings and rebuild dist

---------

Co-authored-by: l0ng-ai <[email protected]>
2026-12-04 23:38:50 +08:00
Vadim LazukтаInf1mum 55c9787996 feat(color-scheme): C# interface, enum, struct, type parameter and predefined type colours (#8063)
csharp-ls sends interface, enum, struct and typeParameter as their own semantic token types, but the generic mapping folded them all into the class-name colour, and predefined types (int, string, bool…) also showed in the class colour. The C# Colour Scheme page gains Interface name, Enum name, Struct name and Type parameter (inheriting Class name) and Predefined type (inheriting Keyword); a new C# semantic module tags the tokens, recognising predefined types by their text. The preview shows each new attribute.

Co-authored-by: Inf1mum <[email protected]>
2026-12-04 23:33:19 +08:00
l0ng-ai 5b1e4a31f2 fix(remote-dev): show remote project loading inside its new tab (#8055)
* fix(remote-dev): show remote project loading inside its new tab

* fix(remote-dev): preserve active remote session on cancel and style grouped Welcome tabs
2026-12-04 23:32:03 +08:00
LU XIANGRUIтаwildcatDownstairs f3582403f3 fix(svn): show each working copy's svn update output in the console (#8065)
Update Project over several working copies only showed the first one's output: every repository's vcs_remote call shared one Tauri channel, and a channel stops delivering once its command ends. Each command now gets its own channel (also for the multi-repository Git branch update). The Subversion backend streams svn update's own lines (Updating, the U/A/D/C/G file lines, Updated to revision N) instead of a single summary line.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 23:21:44 +08:00
a5f958d544 fix(windows): roll back failed macOS tab joins (#8036)
* fix(windows): roll back failed macOS tab joins

* fix(windows): notify on join rollback, preserve existing groups, and show standalone fallback

---------

Co-authored-by: arookieofc <[email protected]>
Co-authored-by: l0ng-ai <[email protected]>
2026-12-04 23:19:54 +08:00
Michał Dobaczewskiтаl0ng-ai 4aeeb4d883 feat(agents): duplicate a built-in agent to run it with its own configuration (#8048)
* feat(agents): duplicate a built-in agent to run it with its own configuration

* fix(agents): preserve instance launch command, login secrets, provider cache, and reactive icons

---------

Co-authored-by: l0ng-ai <[email protected]>
2026-12-04 23:19:46 +08:00
l0ng-ai 15f3eadcf1 fix(syntax): detect expressions when caret sits after closing delimiter (#8051)
* fix(syntax): detect expressions when caret sits after closing delimiter

* fix(syntax): detect nested postfix and JSX expressions before closing delimiter
2026-12-04 23:19:38 +08:00
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