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.
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]>
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]>
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]>
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]>
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.
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]>
* 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]>
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]>
* 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
* 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]>
* 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]>
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
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.
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]>
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]>
[[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]>
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]>
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]>
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]>
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]>
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]>
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]>
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]>
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
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
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
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
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
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
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]>
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]>
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
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]>
* 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]>
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
#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.
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]>
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]>
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]>
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]>
Adds a Subversion repository browser (list, history, preview, checkout, export, and remote copy/mkdir/delete) that keeps the selected revision through every view and disables remote changes in historical ones, an Export dialog with depth, externals and an explicit overwrite choice, and revision/depth/externals options for Subversion checkout.
Child URLs are built from encoded path segments, listings are keyed by URL and revision so a stale response cannot replace a newer one, historical paths are pegged at their revision, and a file preview checks its size before downloading. The Export dialog's fields share one grid so they line up.
Co-authored-by: RuyimgByCN <[email protected]>
Adds Subversion working-copy operations: an svn:ignore dialog that adds names or patterns to the parent directory's property (escaping literal names, grouped by parent), a properties view with diffs and common presets, Cleanup with scoped options that skip nested VCS directories, Unlock, Update with revision/depth/externals options, and Copy URL.
Backed by new ide-svn operations and ide-host commands with tests; the Update dialog's revision and depth fields share one grid so they line up.
Co-authored-by: RuyimgByCN <[email protected]>
- Plugin keymaps accept the Backslash and Backquote key names (API 1.21), and a declared key is translated to the character the keystroke types, so Ctrl+Backslash (and Ctrl+Slash) from a plugin now match the key pressed.
- Pick dialogs with 15 or more candidates, and every plugin quickPick, get a filter field: with it the field holds focus and its arrows drive the list; without it the list keeps focus as before.
Co-authored-by: junchangpeng <[email protected]>
The VS Code preset lists every action an IntelliJ action id maps to; editor.highlightingLevel (PopupHector) was missing, which failed keymap.test.ts on main. It is added unbound.
Add Configure Current File Analysis… (editor.highlightingLevel, IDEA's PopupHector, Cmd+Alt+Shift+H / Ctrl+Alt+Shift+H) with the three levels None, Syntax and All Problems:
- All Problems (default): everything as before.
- Syntax: syntax and semantic colouring stay; diagnostics and their scrollbar marks leave the editor (Problems still lists them).
- None: plain text; the lezer highlighter is reconfigured out and semantic tokens are dropped.
The level lives in the editor state next to the other per-editor display overrides (cm/localAppearance.ts) and is not saved.
Co-authored-by: muutot <[email protected]>
Add Export to Text File… (find.exportToTextFile) to the Find tool window's toolbar and results context menu. The report follows the tree as shown: the tab title, the match/file summary, then each file with its folder and its 1-based match lines; excluded matches are left out and a failed write shows an error notification.
The per-tab exclude/replace marks move to a small store in the find feature so the action can read them.
Co-authored-by: muutot <[email protected]>
Add editor.textStart / editor.textEnd and their With Selection variants, mapped to EditorTextStart / EditorTextEnd / EditorTextStartWithSelection / EditorTextEndWithSelection for IdeaVim and imported keymaps.
The plain moves leave a single caret at the document boundary; the With Selection variants extend each selection from its anchor. The actions stay unbound in the default keymaps like the other plain caret moves, so the editor's own Ctrl+Home/End (Cmd+Home/End, Cmd+Up/Down on macOS) keep handling the keys and Navigation Bar, Jump to Source and Move Statement keep their macOS shortcuts.
Co-authored-by: muutot <[email protected]>
Ctrl+Enter (also Cmd+Enter on macOS) runs the notebook cell and keeps the caret in it, and Shift+Enter runs it and selects the next cell, adding a code cell at the end of the notebook. Run Cell, Run Cell and Select Below and Run Cell and Insert Below are actions in Find Action and the keymap settings; they take these keys only while the notebook has focus (notebookFocus), ahead of the editor's Split Line / Start New Line, and the notebook's own key handler is gone. Markdown cells render instead of running; while a cell runs, the keys do nothing on a code cell. Alt+Enter stays Show Intentions, so Insert Below has no default key except in the VS Code keymaps.
Closes#7624
Co-authored-by: ntbang0901 <[email protected]>