Homebrew's rustup keeps its toolchain proxies in its own prefix (opt/rustup/bin), off PATH unless the shell adds it, so rust-analyzer was reported Missing even after Install succeeded. Those directories are now searched after ~/.cargo/bin and treated as rustup proxies at launch. The rustup status check, component add and component remove also run in the project, so a rust-toolchain.toml pin decides which toolchain gets the component and which one is checked.
Closes#7778
A pom.xml linked with Add Maven Projects inside the opened root, below a reactor that doesn't list it in <modules>, never reached jdtls: its folder scan stops at the first pom.xml and follows only that reactor's modules. Such links now give jdtls an explicit build-file list (projectConfigurations), as unlinked reactor modules and linked Gradle builds already do; configure_maven_import sets the list whenever one is given.
Closes#7789
Reorganize Settings > Agents into General, Coding Agents, Permissions, Rules & Memory, Skills, MCP (External Servers, IDE Server), Agent Plugins and Automations, with redirects from the old MCP page ids. List pages share a master-detail layout and form pages align their fields. The IDE Server options stay in the settings search, and the docs use the new page names.
Opening a folder whose Maven or Gradle builds sit only in subfolders (samples, fixtures) started mvn/gradle for each of them and showed an error when the tool was missing. Only builds at the project root (or a workspace member's root) and builds the user linked now load on their own; the rest are offered in a "Maven/Gradle build scripts found" notification with Load Maven Project / Load Gradle Project.
Closes#7802
API 1.11, 1.12, 1.14, 1.15, 1.19 and 1.20 were still listed as in development; each now names the release it shipped in, and the plugin overview names 1.20.0 as the latest released API and 1.21.0 as in development.
An imported (or forked) session showed no history when its background load failed or the app quit before it finished, because the history was only loaded with the first message. A task holding a recorded session but no history now loads it when its entries are first shown, once per run. A failed background load no longer makes the next message silently start a new session; only a failed message, which the user sees, does.
Co-authored-by: janoskranczler <[email protected]>
A Java 25 compact source file (JEP 512: a top-level void main, no class) showed no gutter Run icon, because the run-target scanner only accepted main inside a class. A top-level main is now the main of the file's implicit class, named after the file, and the Java single-file producer launches such files with the source launcher (java File.java) instead of taking the first declared type as the main class.
Co-authored-by: kjeldahl <[email protected]>
A problem whose range is empty (an error at the end of a file ending in a blank line) or covers only a line break was listed in Problems and on the marker bar but not drawn in the editor, because the theme hid CodeMirror's lint point. It now draws one column of the severity's usual underline as a zero-width inline block, so WebKit paints it on empty lines too; hints stay hidden and the reported range is unchanged.
Closes#7784
Co-authored-by: og-orca <[email protected]>
Trees pad the whole Tree.border themselves: --tree-inset 12px (8px compact) plus 4px (2px) top and bottom, rows end 2px from the selection, indent 18px per level, 4px selection corners; tool window headers are 41px (32px compact). The old 6px inset assumed the island gap was inside the island. The Scratches root is now translated and relabelled when the UI language changes; agent task rows show Pin/Archive in place of the age on hover.
Closes#7795
Co-authored-by: wildcatDownstairs <[email protected]>
Replace the OpenIDEA mark with the gradient ring artwork on the startup, welcome, About, clone and project-opening screens, in the OS icon bundle and in the documentation branding. The in-app logo is a bundled asset so it resolves under a Web IDE subpath. Dogfood keeps a greyscale version of the same artwork, and the Rust build tracks the embedded icon inputs so icon-only changes rebuild the development Dock icon.
Closes#3948
Go to Declaration / Cmd-click on a dependency entry of package.json had nothing to answer it. The reference fallback now resolves dependency entries of dependencies, devDependencies, peerDependencies and optionalDependencies: a name opens the installed package's package.json, a version reveals the package folder in the Project view, and an uninstalled package reports a missing reference. node_modules is looked up from the manifest upwards (hoisted installs, scoped packages); alias, workspace, path and URL ranges are skipped.
Closes#7665Closes#7734
Co-authored-by: Inf1mum <[email protected]>
A choice option of an icon theme can list the groups it turns on (those groups are owned by the choice and leave the checkbox list), and can set the theme's default folder icons (folder, folderExpanded, folderOpen). A choice settings item takes presentation select, radio or segmented. Themes may declare up to 64 choices. Themes using none of the new keys produce the same mapping and page as before; stored per-group values of owned groups are ignored, not deleted.
Part of #7688.
Co-authored-by: Bruno0416 <[email protected]>
An icon theme can offer a fileIconsForCode checkbox (off by default). When on, Java and Kotlin files with a declaration show the theme's file icon in the Project tree and tabs, and the element kind stays visible as a corner badge in the tree. Off, or without a theme, nothing changes; settings written by older versions read as off.
Part of #7688.
Co-authored-by: Bruno0416 <[email protected]>
Plugin API 1.21 adds optional settings schema fields: presentation (select, radio, segmented, slider, color, checkbox-list), enumOptions (label, description, icon per enum value), minimum / maximum / step, and when conditions on another setting of the page. New src/ui primitives RadioGroup, SegmentedControl, CheckboxGroup, Slider and ColorInput. Schemas that use none of them render as before; manifests admitting an older API keep ignoring JSON Schema bounds.
Review changes: the fields are gated on API 1.21 (1.20 shipped in 0.1.57), and the colour swatch fill is stretched inside its button.
Part of #7688.
Co-authored-by: Bruno0416 <[email protected]>
A group or a choice option of an icon theme can name one of the theme's icons with an optional icon key; the theme's settings page draws it whether or not the theme is applied. Previews are registered apart from the applied theme's icons and released with the page. Unknown icon ids are refused at install.
Part of #7688.
Co-authored-by: Bruno0416 <[email protected]>
Each File Icon Themes row in a plugin's details gets a Settings… button while that theme's settings page is registered; it opens Settings at the page through file.settings.
Part of #7688.
Co-authored-by: Bruno0416 <[email protected]>
Spring application*/bootstrap* config files now use spring-config-yaml or spring-config-properties. Both render like spring-config by default and fall back to a theme's spring-config override, so existing themes keep working while a theme can override either one.
Part of #7688.
Co-authored-by: Bruno0416 <[email protected]>
An icon theme can list folder roles (source roots, packages, excluded, module folders, ...) in roleFolderNames; folders of a listed role then match the theme's folderNames and folder patterns before the role icon. An unmatched folder keeps the role icon only when the theme overrides it, otherwise it gets the theme's folder. Roles are validated at install; themes without the key behave as before.
Part of #7688.
Co-authored-by: Bruno0416 <[email protected]>
The IDE's Java build now always passes -g to javac and drops -g:none/-g:<level> from maven-compiler-plugin's <debug>, <debuglevel> and compiler args, so breakpoints work when launching with java-analyzer. Maven's own build still follows the POM.
Closes#7786
Plugin API 1.21:
- run-started events, and run-exited for user-launched plugin configurations (plugins on API 1.21 only).
- run.stop(id) for runs of the plugin's own configurations; run.upsert-configuration and run.open-edit-configurations for the plugin's own run configuration types.
- prepareCommand receives the run/debug mode; plugin configurations can declare a loopback JDWP attach target.
- runConfigTypes.ownsBeforeLaunch, log file tabs in the run console (plugin_run_log_tail, authorised by the plugin's project.read / fs.read grants), and the runConsole.toolbar menu in the Run and Debug consoles.
Review fixes: RunView log tab state keyed by the string session id, tail chunks cut on a UTF-8 boundary, user-run exits gated to API 1.21.
Co-authored-by: RuyimgByCN <[email protected]>
Fork was greyed out while a task's turn ran. It now copies the conversation up to the last finished turn while the source keeps running, and any finished turn can be forked from a message. The copy used to take the whole session and drop extra turns when it first loaded, which is wrong once the source has moved on: session/fork now takes _meta.openidea.forkTurns and the agent cuts the copy as it forks (Claude Code pins the fork point in its transcript, Codex rolls the forked thread back by the turns it holds). Agents without rollback still need the task to be idle; a task in its first turn has nothing to fork yet.
Agent plugin marketplace entries and the plugin preview header showed text only, while MCP Connections › Browse shows server icons. Plugin icons are now resolved without extra network requests: explicit manifest or marketplace icon fields (https URLs validated, repo-relative images as raw.githubusercontent.com URLs or small data: URIs for local plugins), then conventional icon files in the fetched tree or local folder, then the GitHub owner's avatar. A shared AgentRemoteIcon tile renders them in both lists, theme-aware, with a fallback for monochrome icons.
Co-authored-by: dengliu <[email protected]>
Workspace skill discovery only walked two levels below each workspace root, so skills in deeper monorepo packages were missed. The skills policy now also takes the non-ignored SKILL.md files the project index already knows, and keeps those inside a known skills folder (.agents/skills, .openidea/skills, .claude/skills, .github/skills, .codex/skills, .cursor/skills) at depth 0-2, skipping hidden and build directories. The direct and depth 1-2 disk scans still come first, so discovery works before indexing completes and shallower packages win on name clashes. The Skills page reloads when indexing finishes.
Co-authored-by: dengliu <[email protected]>
Properties/launchSettings.json and global.json opened as plain JSON, with no key completion and no check of values such as commandName or rollForward. Both file names are now associated with their SchemaStore schemas in languages/json.toml, next to package.json and tsconfig.json; a $schema in the file still wins.
Closes#7729
Co-authored-by: wildcatDownstairs <[email protected]>
Java files in Spring projects get gutter icons between beans and the places they are injected: an injection point (field, constructor or @Bean method parameter) navigates to the beans it receives, and a bean declaration to its injection points. One target jumps straight there; several open the inheritance chooser, with candidates marked. The editor asks once per file for a server-independent SpringBeanMarker shape, cancels stale requests and asks again after edits, when the server reports changed markers, or when a server settles or stops. java-analyzer is the first source (java-analyzer/springBeanMarkers, declared in its experimental capabilities); without such a server nothing is requested. Icons follow Gutter Icons, excluded folders and the server's features.
Refs #7140
Co-authored-by: audichuang <[email protected]>
Run/Debug Configurations opened their own local file dialog and hid every Browse button in a remote window, so .env files, the working directory and Tomcat paths on the remote host could only be typed. The run configuration form and the Tomcat settings now use the project-host chooser, which browses the remote host in a remote window and opens the system dialog locally.
Fixes#7715
The built-in SSH client only offered russh's defaults and ignored the algorithm options of ~/.ssh/config, so a server that only speaks older algorithms could not be reached. The client now starts from the OpenSSH client's defaults (adding the ECDH key exchanges, aes128-gcm and the SHA-1 MACs) and applies KexAlgorithms, HostKeyAlgorithms, Ciphers and MACs with OpenSSH's +, - and ^ forms. They apply to SSH configurations that sign in with a password or key as well as to OpenSSH config hosts. When negotiation fails, the error names what the server offers and the line that allows it.
Fixes#7757
Editor actions on the main toolbar (Collapse All, Expand All) and plugin toolbar slots did nothing when clicked: the button took focus on mousedown, so editorFocus was false by the time the click dispatched and the action's when clause rejected it. A press on a toolbar action now leaves focus where it is, except while a tool window has focus, where actions gated on !toolWindowFocus (Reformat Code, Select Next Tab) still need the click to leave the tool window. Covers the main toolbar and contributed toolbars.
Closes#7758
Co-authored-by: swift98 <[email protected]>
Co-authored-by: og-orca <[email protected]>
An update of a Subversion working copy has no commit range, so the update result always said all files were up to date, even when svn update changed files. Backend::update now returns how many files and folders the update added, deleted, changed or merged (read from svn update's status lines), vcs_remote returns it as an update report, and the result reads "N files updated". Covers Update Project and Update File / Update Directory.
The Subversion submenu had no way to update a single file or folder; only Update Project updated the whole working copy. A new svn.updateFiles action sits after Add and is named for the selection (Update File, Update Directory, Update Files, Update Directories). It runs `svn update` on the selected paths only, one update per working copy, through the same remote round as Update Project, so progress, console, conflicts and the result notification behave the same. Backend::update now takes the paths to update (empty means the whole working copy); a Git repository refuses the new RemoteOp::UpdateFiles.
Refs #7433
Co-authored-by: wildcatDownstairs <[email protected]>
Google Antigravity's CLI ships a native ACP server (`agy acp`, since v1.5.0), so it joins the built-in agents with `agy acp --login` as its sign-in command. A registry install of antigravity-acp runs a separate ACP server binary, so it keeps the generic sign-in hint instead of inheriting the CLI's login subcommand. Adds the Chinese text for the sign-in hint and the agent to the docs tables.
Co-authored-by: xirf <[email protected]>
Since only added or edited configurations block saving, errors a plugin form reported with runConfig.setErrors on an unedited configuration left OK and Apply enabled, although the plugin API documents that they block them. The configuration on screen now blocks while its form reports errors; after selecting another one, an unedited configuration no longer blocks.
Co-authored-by: wildcatDownstairs <[email protected]>
Since #7708 only configurations changed in Run/Debug Configurations block saving, so the plugin run configuration form test now patches the configuration before reporting errors.
Tool installs and the plugin host are shared by every project window, but each window kept its own copy of installed versions and updates, so after an update in one window another still offered it. After an install, uninstall, update or rollback, a window now writes a localStorage marker; the others read the tools or plugins (and the marketplace's installed versions) again on its storage event and take in the stored tool updates. The plugin update notice now has a key and is hidden once every update it offered is installed.
Fixes#7742
Library sources opened from a language server or from the External Libraries showed a "Library source (read-only)" banner above the editor. They now open read-only without a notice, as the status bar's lock already shows the state; the banner stays for decompiled classes, Git revisions, generated C# sources and whenever there is something to act on (sources to download or choose).
Fixes#7735
Go to DDL queried the server on every click, so the editor opened a few hundred milliseconds late. A table's DDL is now prefetched when its data view opens and cached with the other metadata; Go to DDL serves the cache and fetches once on a miss. The cache is dropped on refresh, disconnect and after a console statement that changes the schema, and the generated file's Reload refreshes it.
Closes#7777
Co-authored-by: junchangpeng <[email protected]>
Returning to a notebook tab restored the saved pixel offset against fresh 220 px cell estimates, because the virtualizer's measured heights were lost on unmount, so the viewport jumped away from the selected cell. The notebook session now keeps the virtualizer's measurement snapshot and restores it together with the scroll position.
Closes#7754
Co-authored-by: NickYadance <[email protected]>
Move Statement Up did nothing when the line above ended a function, method or class: the lookup of the statement ending on that line stopped at the closing brace, and the guard against moving code into a function refused the move. Where a function or class body ends, the lookup now takes the whole declaration; if, for and try blocks are unchanged, so Up still moves a statement into them.
Closes#7765
Co-authored-by: og-orca <[email protected]>
An explicit Package manager in Settings > Languages & Frameworks > Node.js changed the spawned command, but the dependency-install notification and its run config, the package.json gutter fallback and detected npm run configuration names still showed the lockfile-detected manager. The configured manager now comes first in the gutter fallback, the install prompt rechecks when the setting changes (keeping an Ignore for the same dependency state), and detected config names have their leading package manager rewritten (bun run dev -> npm run dev, also after a workspace prefix).
Co-authored-by: xirf <[email protected]>
Closing a file history tab with the keyboard while its commit list had focus left vcsLogCommitsFocus on, because React reports no blur for a focused element it removes; Left and Right in the editor then moved to the child or parent commit instead of the caret. The commit list now clears that context when it is removed, as it already did for vcsLogRevisionFocus.
Co-authored-by: ntbang0901 <[email protected]>
openidea.kotlin.replace was sent as soon as jdtls answered initialize, but jdtls holds commands while it imports the project, so an import longer than about two minutes hit the fixed 120 s timeout and the request was never resent; Java kept the old Kotlin API until a file changed. Each snapshot now waits for jdtls' ServiceReady first (shown in the status bar and cancellable there) and the 120 s count starts from there. A snapshot that times out, is refused or loses its server is retried after 5, 15 and 45 s before it is reported; a jdtls the user stopped is not started by a retry.
Closes#7726
Co-authored-by: ntbang0901 <[email protected]>
Copy or Save As of an open file onto a taken name in a folder the tree had not loaded replaced that file without asking, because the Copy dialog only knew loaded folders and copy_as overwrote its target. The dialog now reads the folder, and copy_as refuses any existing target. Pasting a file from the OS clipboard into its own folder (or dropping it there through another path) and choosing Overwrite trashed the source itself; such a file now gets a copy next to it, checked with a new fs_same_file command, and an overwrite whose import fails or is cancelled restores the old file.
Co-authored-by: ntbang0901 <[email protected]>
With Regex on, Replace in Files read $1_new as a group named 1_new, which does not exist, so matches were replaced with nothing in every file. $1 now takes further digits only while the pattern has that group, and a template naming a group the pattern lacks is reported at the replacement field and changes no file. The editor's Replace now expands the same template, so $0, ${1}, $name and \$1 work there too and an optional group that did not match no longer writes undefined.
Co-authored-by: ntbang0901 <[email protected]>
During a merge, an incoming file left unchecked went into the merge commit as HEAD had it, so the merge counted as done without that change and merging the branch again reported Already up to date; with nothing checked the whole merge could be dropped. With nothing checked, the commit now takes the merge as the index holds it. When some incoming changes (whole files or blocks) are left out, Commit first asks Changes Excluded from Merge Commit, with Cancel as the default. An unresolved conflict anywhere in a Git repository being committed now refuses the commit up front instead of failing later with a raw Git error.
Co-authored-by: ntbang0901 <[email protected]>
On a case-insensitive disk, after git mv readme.md README.md (or a folder renamed the same way), Rollback deleted the file, a commit leaving the rename out committed its deletion, and Shelve reported no changes, because both names resolved to the one the index has. Unstage, a commit's excluded files, Shelve and Create Patch now act on both names of a staged case-only rename; Rollback and Shelve restore the old name on disk, and Unshelve brings the rename back by removing the old file first and putting the new name in the index.
Co-authored-by: ntbang0901 <[email protected]>
Opening a folder whose .openidea/workspace.json links a folder that contains it failed with "Store the workspace outside its linked project folders", and the folder could not be opened at all. Workspace::load now keeps the stored projects that are valid together, skips the others with a log warning, and leaves the file as it is until the workspace is saved again; writing still validates every manifest. A test checks that every manifest the write paths accept loads back.
Closes#7728
Co-authored-by: koeria <[email protected]>
When an aggregator listed sibling modules (parent/pom.xml with <module>../app</module>), the WAR build found its reactor by directory prefix, missed the aggregator and ran mvn package in the WAR module alone, so sibling dependencies were not rebuilt. The reactor is now resolved through <modules> membership, and -pl selectors are relative paths from the reactor root (../app, ..), with groupId:artifactId as a fallback. The Maven launch, multi-module compile and single-file classpath planners use the same helpers.
Closes#7704
Co-authored-by: RuyimgByCN <[email protected]>
Clicking a task in the Agents tool window replaces the list with the conversation while the list still has focus; React sends no blur for an element it removes, so the agentTaskListFocus context stayed on and Del in the editor asked to delete the open conversation. The same happened after picking a session from the history popup, archiving a row, or removing the last task while its search field had focus. The context is now cleared when the list element goes away and whenever focus lands outside the list.
Closes#7725
Co-authored-by: og-orca <[email protected]>
Roslyn sends records, delegates, extension methods, fields and constants with its own semantic token types (recordClass, recordStruct, delegate, extensionMethod, field, constant), which had no highlight class, so they showed as plain text. Each now maps to the standard type it extends.
Closes#7749
Co-authored-by: ignacyszreter <[email protected]>
In Tx: Auto each console statement ran on whichever pooled connection was free, so BEGIN ... ROLLBACK did not roll back, temporary tables and SET were lost between statements, and a forgotten BEGIN stayed open on a connection other features reused. A console now keeps its own connection from the first statement that leaves state on it (a transaction, a temporary table, a setting) until the console and its results are closed; plain queries and changes still run on the pool with the same result cursors. Applies to the built-in PostgreSQL, MySQL, SQL Server, Oracle and SQLite drivers; ClickHouse and JDBC already had console sessions, Snowflake and read-only PostgreSQL sources are unchanged. A pooled connection left inside a transaction is discarded instead of returned.
Co-authored-by: ntbang0901 <[email protected]>
Go to Implementation on an interface method found nothing when the implementing class inherits the method from a superclass that does not implement the interface itself. The superclass's method is now listed, once however many classes inherit it.
Closes#7760
In an interactive rebase, a reword or squash message was applied by an exec git commit --amend line that always ran, so when the step before it made no commit (Skip, a conflict resolved to nothing, an empty pick) it rewrote the commit below, including a published one. The line now compares HEAD with the HEAD recorded just before the step and does nothing when no commit was made; for a squash it also checks that the commit it goes into was made, since Git melds the squash into the commit below when that one was skipped.
Co-authored-by: ntbang0901 <[email protected]>
Rerun in the Debug tool window launched the configuration snapshot the session started with, so VM options edited since were ignored. It now launches the configuration saved under that id, or the snapshot when it was deleted.
Closes#7750
The git diff calls that write a patch and the git apply calls that read it back took diff.noprefix, diff.mnemonicPrefix, diff.srcPrefix/dstPrefix, diff.context, diff.submodule and apply.whitespace/ignoreWhitespace from the user's config, so a shelf could unshelve into the wrong path, patches failed or landed on the wrong lines, and restored text was rewritten. They now share fixed option lists (patch::DIFF_FORMAT, patch::APPLY); an explicit path prefix, as a multi-repository shelf uses, still wins. Also covers the plugin working-tree patch, the per-file diffs of a pending commit and the partial-staging calls.
Co-authored-by: ntbang0901 <[email protected]>
Every newly mounted Project row rebuilt the effective root list, which stalled scrollbar drags in workspaces with thousands of detected roots. ProjectView already computes that list for the tree; it now passes it to the rows, so their icons use the same roots without rebuilding it while scrolling.
Co-authored-by: igallart <[email protected]>
With Always Select Opened File on, the first click of a double-click opened the preview tab and TreeHandle.reveal centered the row even though it was already visible, so the second click landed on another row. reveal now leaves a row that is in view where it is (1 px tolerance for fractional display scales) and centers only rows out of view. This applies to every tree that calls reveal.
Closes#7712
Co-authored-by: og-orca <[email protected]>
The build model listed a dependency's own dependencies after all of its siblings instead of right after it, so of two artifacts with the same classes (dom4j:dom4j 1.6.1 and org.dom4j:dom4j 2.x) javac could load the one Maven does not. Walk the resolved graph in pre-order and rebuild openidea-java-build.jar.
Closes#7743
Refactor > Move (F6) in a .py file moves top-level functions, classes and variables to another module. The dialog has From file, To file (a .py path in the project, new or existing) and Elements to Move. An embedded ast-based helper, run with the pylsp-rope environment's Python, moves the code with its decorators and attached comments, places it by import-time dependencies, writes the imports both modules need and rewrites module.name uses; from ... import statements across the project go through the existing module-move rewriter. Unsaved buffers are read, a file changed meanwhile is refused, and every changed file is parsed again before the edit is returned. A name already defined at the destination is refused; risky cases are confirmed first. The tests needing pylsp are ignored by default.
Refs #901
Co-authored-by: wildcatDownstairs <[email protected]>
Refactor > Change Signature works on Python functions, methods and classes (their __init__). pylsp-rope has no such command, so the IDE runs an embedded helper with the pylsp-rope environment's Python: rope finds the function, its overrides and calls and renames parameters scope-aware; the parameter list and arguments are rewritten from the ast so annotations, defaults, the * and / markers and keyword arguments survive. Unsaved buffers are read through an overlay, calls rope can't resolve come from the type checker's references, and calls that can't be rewritten or likely mistakes are listed in a confirmation first. The result is a normal workspace edit (Preview, Refactor, one undo). The dialog is the Java one reduced to Name and Default value. The rope tests are ignored by default.
Refs #901
Co-authored-by: wildcatDownstairs <[email protected]>
The Python Rename dialog offers Search in comments and strings (off by default, remembered; in-place rename follows it). Whole-word, case-sensitive matches in comments and string text are merged into the language server's workspace edit, so they preview, apply and undo with it; a rename that gains text matches is always previewed with the matches under Non-code usages, and applying fails if a matched file changed after the preview. Locals and parameters are searched in their function, other symbols in the project's .py / .pyi files including unsaved buffers; symlinks leading out of the project are skipped.
Refs #4968
Co-authored-by: wildcatDownstairs <[email protected]>
.html files under a templates folder open as Jinja2 HTML when the nearest folder above that declares anything declares flask, quart, fastapi, starlette or jinja2 (pyproject.toml, requirements*.txt, Pipfile, setup.cfg, setup.py). A Django project (django declared or manage.py), package.json, angular.json, .git and the home folder end the search; File Types associations and Override File Type win; .htm is untouched; dependency files edited in place are detected again. Template names complete and navigate in extends / include / import / from and in render_template, stream_template, get_template, select_template and TemplateResponse.
Closes#7656
Co-authored-by: wildcatDownstairs <[email protected]>
F# had only the CodeMirror mode, so without FsAutoComplete the Structure view was empty, indented blocks did not fold and F# declarations were missing from the symbol index. tree-sitter-fsharp 0.3.13 (MIT) is bundled: the main grammar for .fs / .fsx and its signature grammar for .fsi, with outline queries, folding, symbols and declaration-name highlighting over the existing mode. .fsi files are the language fsharp.signature, sharing one FsAutoComplete with source files and sent as languageId fsharp.
Closes#7637
Co-authored-by: wildcatDownstairs <[email protected]>
In a project that uses CSharpier (a dotnet tool manifest entry, or a .csharpierrc* / .csharpierignore with CSharpier installed), Reformat Code and format on save of a whole .cs file run CSharpier; selections and other projects keep the language server. CSharpier 0.x uses its pipe protocol. Solutions and projects get Run dotnet format and Verify dotnet format (No Changes) in the Project view and Find Action, with output in the Build window. The real SDK tests are ignored by default.
Closes#7626
Co-authored-by: wildcatDownstairs <[email protected]>
Choosing Roslyn's "Suppress or configure issues" on a C# diagnostic did nothing: Roslyn returns its entries in the client command roslyn.client.nestedCodeAction, which the IDE did not handle. The entries are now listed by group (suppress, severity of the ID, of its category, of all analyzers) and applied like other code actions, so severities are written to .editorconfig. A newly created .editorconfig was ignored until a project reload, so the projects below it are now reported to Roslyn as changed. The real Roslyn test is ignored by default.
Closes#7646
Co-authored-by: wildcatDownstairs <[email protected]>
Run configuration detection and its .sln / .slnx reader only accepted .csproj, so F# and Visual Basic projects got no run configurations. .fsproj and .vbproj now follow the C# rules. Visual Basic keeps launch profiles in My Project/launchSettings.json, where dotnet run looks, so profiles and the gutter run icons in that file read it. The real dotnet CLI test is ignored by default (no SDK in CI).
Closes#7631
Co-authored-by: wildcatDownstairs <[email protected]>
Folders dropped from the OS below the last row of the Project view now ask once to attach them to the current workspace, like File > Attach Project (one folder or a list of several), then attach each with the usual trust check. The primary project and folders already attached are skipped with a notice. While an all-folder drag is over the blank area the whole view is highlighted. Drops of files, or of files mixed with folders, drops on folder rows and drops in remote or LightEdit windows keep their previous behaviour.
Refs #7619
Co-authored-by: wildcatDownstairs <[email protected]>
The test tree toolbar of every test runner (Jest and Vitest keep their watch mode) gets Rerun Automatically, with More Actions > Set AutoTest Delay (1-10 s, 3 by default). A delay after the last editor save of a project file, every tab with the toggle on runs its tests again in place without taking focus. Nothing runs while a saved file has a syntax error; a running test, a before launch build or a debug session of a configuration without parallel runs is not stopped but waited for; an automatic run saves no other file. The toggle lasts as long as the tab.
Part of #4968
Co-authored-by: wildcatDownstairs <[email protected]>
SQL files had no folding. Parenthesised expressions (subqueries, IN (...), EXISTS (...)) fold like a bracket block, and a multi-line statement folds from the end of its own SELECT line to its end, so the SELECT line and an INSERT ... SELECT's INSERT line stay visible. The statement's SELECT is taken from the syntax tree, so a subquery's SELECT folds only its parentheses.
Co-authored-by: LeoChen8118 <[email protected]>
A build file of a loaded project whose change left the imported model stale now shows a banner above the editor: "Build files changed since the last reload" with Load Maven Changes (a pom.xml of the Maven model) or Load Gradle Changes (a build or settings script of a Gradle build, reloading that build). It runs the same reload as the build tool window's banner and hides while a reload runs and before the first import.
Closes#7664
Co-authored-by: muutot <[email protected]>
Under the modal commit interface, Show Diff in New Window opened the diff window but left the front diff dialog open, so the same diff showed twice. showDiffWindow now resolves once the window is on its way and the action closes the open diff dialog; it stays when the window cannot open. On Windows and Linux the diff window's frameless title bar also gets the maximize button beside close.
Refs #7675
Co-authored-by: muutot <[email protected]>
PHP configurations that run in a Docker or Compose run target can be debugged. The debugger listens first on a free port with the container's mounts mapped (run_container_xdebug), then the run starts with XDEBUG_MODE=debug, XDEBUG_SESSION=1 and XDEBUG_CONFIG pointing at host.docker.internal (docker run gets --add-host host-gateway); the debug session is linked to the run and stops with it. Install and Debug after installing php-debug repeats the whole flow. PHP on SSH targets stays refused.
Refs #4582
Co-authored-by: samehelhawary <[email protected]>
When PHP runs in a Docker or Compose run target, PHPStan and PHP-CS-Fixer run with that target's PHP, each in a new removed container (no published ports, entrypoint and service dependencies skipped, XDEBUG_MODE=off). PHPStan's report files are mapped back through the mounts; a cancelled check removes its container. PHP-CS-Fixer fixes a temporary copy mounted for that run only. The Settings › PHP hint now names these tools.
Refs #4582
Co-authored-by: samehelhawary <[email protected]>
When PHP runs in a Docker or Compose run target, Settings › PHP shows the version and Xdebug of the PHP in the container instead of this machine's. The IDE runs the target's PHP once in a removed container (entrypoint and service dependencies skipped, XDEBUG_MODE=off), keeps the answer per project and target configuration, and reads it again on refresh. php_probe_args shares the run/compose run part with the Python probe.
Refs #4582
Co-authored-by: samehelhawary <[email protected]>
During a Quit, a window waiting at the close barrier is frozen with inert on the body, but Dialog listens for keys on the document and accepted an Enter aimed at the body, so a confirmation left open (e.g. Delete from the Project view) ran its default button. A dialog inside an inert subtree now ignores keys.
Co-authored-by: audichuang <[email protected]>
Roslyn's inlay hints are off unless the client turns them on, and csharp.toml passed no csharp|inlay_hints settings, so C# showed no parameter name or type hints. csharp.toml and razor.toml now enable parameter hints for literals, new-expressions and indexers (with Roslyn's suppressions) and var/lambda parameter types. Parameter info matches string parameter labels as whole words from the parameter list on (all servers) and keeps a variadic last parameter (params, ..., *args) bold. The real-server test is ignored by default (needs the .NET SDK).
Closes#7678
Co-authored-by: wildcatDownstairs <[email protected]>
Go to Implementation on a C call to a static inline function found nothing or a prototype: the index stored prototypes and self-referencing macros like implementations. C/C++ index symbols now record whether they carry an implementation (index schema openidea-index-5, rebuilt once). The fallback skips prototypes, prefers functions over macros, prefers the header the file includes over arch copies, and collapses #ifdef duplicates to one target per file.
Co-authored-by: sonnartliao <[email protected]>
A command Codex leaves running when its turn completes was still open at the turn's end, so the conversation settled its card as failed while it kept running. When a turn completes, the adapter now reports its still-open commands as done; the command's own completion reports how it ended. Interrupted and failed turns are unchanged.
A command Codex leaves running after its turn was invisible to the task, so the idle release stopped the app-server and the command kept running in its own process group. The Codex adapter now lists background terminals (thread/backgroundTerminals/list) after each turn until none runs and reports them as background tasks, which the idle release waits for; stop_task maps to terminate; session close and connection close run clean first. Older Codex versions report none.
Fixes#7655
While an agent runs with an empty draft, the composer's submit button turns into Stop but kept the secondary variant, wrapping the outlined stop icon in a bordered box and shrinking it to 14px. The Stop state is now frameless at rest with toolbar hover/pressed backgrounds and the 16px stop icon, like the composer's other toolbar buttons and the IDE's Run/Debug stop buttons.
The PHP grammar names its document node Template, and the check for being inside a comment or string treated any node named like a template string as one, so the whole PHP file counted as a string: code live templates (pubsf, prif, fore, ...) never expanded with Tab or showed in completion, and postfix templates were off too.
The document node no longer counts. The same name check in Emmet's JSX context, Move Caret to Code Block Start/End and Move Element Left/Right gets the same exception.
Fixes#7660
The Project view's horizontal scrollbar is an overlay that only showed while the tree scrolled sideways, so with a plain mouse wheel there was no visible way to scroll a deeply nested tree to the right.
The overlay now also shows when the pointer is at the tree's bottom edge, where its thumb can be dragged. On Windows and Linux the Project view keeps the native horizontal scrollbar, visible whenever the tree is wider than the view.
Fixes#7648
Modules of a project attached to the window come with absolute paths. The module list stripped the leading slash and the Sources tab joined the key to the window's root, so the folder tree read a path that doesn't exist and kept showing Loading... forever.
Absolute module keys are kept (or made relative when inside the window's project), the Sources tab reads the module's own folder, and a folder that can't be read shows as empty. Folders of an attached project are not marked from this project's settings.
Fixes#7647
Running the same Maven goals with different options (clean install / clean install -U) named two temporary configurations alike, which made both invalid; any invalid configuration disabled OK and Apply in Run/Debug Configurations, so no other configuration could be saved.
A temporary configuration whose name is taken now gets a numbered name, and only configurations added or changed in the dialog block saving. One that was already invalid when the dialog opened keeps its marker; Run and Debug stay disabled for it.
Fixes#7621
A project whose schemes Xcode autocreates has no .xcscheme files (a fresh XcodeGen project, or one never opened in Xcode). Schemes were read only from those files, so the background build for code insight failed with "The Xcode project has no scheme to build" and cross-file code intelligence stayed missing.
A .xcodeproj without any scheme file (shared or personal) now gets the schemes Xcode autocreates: one per target other than a unit-test or UI-test bundle, read from project.pbxproj without running xcodebuild (which resolves Swift packages first and can take seconds or hang offline). The index build uses the scheme Run builds first, and a project with nothing to build skips the index build quietly.
Closes#7644
Co-authored-by: wildcatDownstairs <[email protected]>
The resources step copies and overwrites but never deletes, so a resource removed from the sources (for example META-INF/spring.factories after switching branches) kept its copy in the build output and stayed on the launch classpath, failing Spring Boot with "Unable to read meta-data". Classes already have this through the incremental compile record; resources had none.
Each source set now records the output paths its resource roots map to (output folder, <targetPath>, path under the root, filtered by includes/excludes). After a successful resources step, and after a prepare run, files the previous record wrote that the sources no longer produce are deleted, along with folders they leave empty inside the output folder.
Closes#7630
Co-authored-by: aconeshana <[email protected]>
When plugin navigation stops at its file limit, the notice used the title of a failed index, so a working but truncated index looked broken. It is now titled "Plugin navigation indexing truncated"; the failure notice keeps its title.
Closes#7635
Co-authored-by: og-orca <[email protected]>
Go to Declaration on {{name}} in a .http file listed the key of every environment. The lookup now receives the environment picked in Run with and follows the order a run reads it: the private file, the public file, $shared, then the last @name line of the file. With No Environment it still lists every key. Keys whose value is an object, an array or null are not variables and are skipped; escaped key names and a key written twice (the last one wins) are handled.
Closes#7672
Co-authored-by: og-orca <[email protected]>
A pull of diagnostics that the server answered with ContentModified (an edit landed while it was computing) was dropped, so the file's diagnostics stayed stale until the next edit or save. Such a pull is now retried like a cancelled one, and textDocument/diagnostic is listed in retryOnContentModified so servers that honour staleRequestSupport retry on their own.
Refs #7651
Co-authored-by: koeria <[email protected]>
Add an in-app MCP Registry browser to Settings › Agents › MCP Connections. It searches an open MCP Registry (v0.1, falling back to v0) — the GitHub MCP Registry by default, the official registry or a custom https URL — with infinite scroll and server icons. Servers install to Global or Project scope in one click when no input is needed, or through a dialog that asks for variables and secrets and confirms a missing local runtime. Installed servers record their registry name and URL.
Agent Plugins also offers two suggested marketplaces to browse or add when they are not registered yet.
Co-authored-by: dengliu <[email protected]>
Order automations as an upcoming schedule queue: enabled automations with a next run first (soonest on top), then enabled ones without a next run, then paused ones, each by most recently updated. The same order applies to the Schedules tab, list_scoped and the MCP list_automations tool.
Co-authored-by: dengliu <[email protected]>
While kotlin-lsp imports a Gradle project it sends no $/progress reports, so the import task showed only its title and was marked "no progress for 180 s" even while Gradle was busy, and a Gradle daemon that ran out of heap (stuck in GC, the import never finishing) went unreported. kotlin-lsp forwards the build tool's console output as intellij/importLog, which was dropped; it is now handled: each line keeps the running import task alive, "> Task :…" and "> Configure project …" lines become the task's message, and Gradle's max-heap message, OutOfMemoryError or "GC overhead limit exceeded" raises one warning per session with the configured heap and how to raise it.
Closes#7668
Co-authored-by: wildcatDownstairs <[email protected]>
Samsung publishes no prebuilt netcoredbg for Intel Macs or Windows on ARM64. On those platforms the tool installer offered an install that failed with "no release asset", and a .NET debug session reported only that the adapter was missing. Both now say there is no prebuilt build and how to get one (build from source, then put it on PATH or set its path in Language Servers settings); the debugger's notification opens those settings instead of retrying the launch. A netcoredbg on PATH or set in settings is still used. The release-asset check no longer treats an arm64-only macOS release as installable on an Intel Mac (only Apple silicon runs x64 builds through Rosetta).
Closes#7628
Co-authored-by: wildcatDownstairs <[email protected]>
Selecting Ruff and Black as the formatting provider at the same time was accepted silently, with Black formatting Python. While both are selected, the Ruff and Black formatter pages now show a note under the provider select saying Black wins, and the Ruff page says how to go back to Ruff. Other formatter pages are unchanged. Strings in en, zh and zh-TW.
Co-authored-by: muutot <[email protected]>
Clippy and the test build take about 45 minutes on the macOS runner, so the job hit the 60-minute limit while tests were still running and main's Rust checks stayed red. macOS now gets the same limit as Windows.
Building a plugin's info held the plugin's state lock while reading the ledger (net:setting: hosts, Java agent pin), while a grant change refreshing program pins holds the ledger and locks each plugin's state. Settings › Plugins stayed at Loading plugins and uninstall hung. info() now copies the state out and releases it before reading the ledger again.
Validation treated the before launch Build of a Tomcat configuration (no
target) as an incomplete task, so a configuration with Build next to other
steps could not be applied or run.
Reload in a generated DDL file and Go to DDL on an already open DDL file
wrote the file but left the open editor stale: the file lives outside the
project. The open document is now reloaded after the write.
The annotation completion without the trailing space and break / continue
ending with a semicolon compared the request language with "java", but the
request carried the display mode ("Java"). Requests now carry the language id.
Closing a file's tab and reopening it later came back at line 1: saveSession() built its files map from the open slots only, so a disposed slot's caret and scroll were gone at the next save, and the live Markdown source dropped the whole per-path preview state on docClosed. The controller now remembers the view state of a file that loses its last tab (untitled buffers skipped, LRU-bounded at 200), persists it in an optional `closed` map of the editor session next to `files`, and applies it once when the file opens again. An open tab's live state always wins, a navigation target still overrides the remembered position, deleted files drop their entry, and older session files load unchanged. The Markdown preview keeps its position and zoom across the close and drops only the rendered text.
Closes#7531
Co-authored-by: koeria <[email protected]>
A Rust project listed a JDK under External Libraries: jdk_groups treated a folder without a Java build manifest as Java whenever languages.java.jdk was set or Project Structure had source roots, and those come from the merged global and project settings, so a JDK chosen once globally marked every project as Java. A module without pom.xml / Gradle files now gets the JDK only when it is a Java module: .classpath / .project, a Java .idea project or JAVA_MODULE .iml, Project Structure libraries, or .java files in the folder or a source root (bounded walk that skips ignored and hidden folders). The configured JDK only picks which JDK is shown.
Closes#7639
Co-authored-by: wildcatDownstairs <[email protected]>
Show Diff (Ctrl+D) on a file in the pull request Changes tree said "Select a changed file to show its diff": the diff actions ask the focused view for its selection through useDiffSource, and neither the pull request details tree nor the New Pull Request changes tree registered one. Both now do: the first selected file, else the tree's first file (a folder selection opens its first file), with the New Pull Request tree keeping its file chain for F7.
Closes#7614
Co-authored-by: og-orca <[email protected]>
A server's Workspace Configuration never reached Intelephense: it asks workspace/configuration for its own section (`intelephense`) and takes the answer as its settings, but the handler only looked for that section under a `settings` key. The configuration editor saves the wrapped form (`{"intelephense": {...}}`), so the server got the whole configuration wrapped again and ignored files.maxSize, exclusions and the rest. The server's own section now also resolves to a top-level block of the same name; dotted sub-sections and the empty section are unchanged.
Closes#7609
Co-authored-by: Inf1mum <[email protected]>
With two or more Subversion working copies, Update Project updated none of them: a multi-target round checked each root's upstream through vcsBranchInfo and skipped roots without one, which every working copy is. A non-Git root's update is now its own update (svn update / p4 sync) and skips the upstream check; Git roots without an upstream are still skipped. The console names the real command.
Refs #7433
Co-authored-by: wildcatDownstairs <[email protected]>
SwiftLint ran swiftlint from PATH and ignored the executable set in Settings;
it now runs the configured one. With only the Command Line Tools selected,
SwiftLint could not load SourceKit; it now gets TOOLCHAIN_DIR for them.
svn_repository_file_at contacts the working copy's repository, like svn_repository_info, so
Restricted Mode no longer allows it. Fixes the Restricted Mode VCS command
sweep that failed on main.
A run target gets a PHP interpreter field beside Python, Node.js and Java (Settings › Build, Execution, Deployment › Run Targets). A PHP run on the target uses it for php, versioned php8.3/php83 or a local interpreter path; empty keeps the target's PATH php. Tools written in PHP (phpunit, phpstan, composer) are not rewritten. Interpreter names are now matched case-insensitively (PHP.EXE, PYTHON.EXE).
Refs #4582
Co-authored-by: samehelhawary <[email protected]>
Automated agent runs get their own Automations group in the Agents tool window (below Ready to Review, active runs first, then latest update); runs that need input, failed or hit a usage limit escalate to those groups with an Automated cue. The default automated-run filter becomes Latest & Active: the latest run per schedule plus active, urgent and unread runs, so reading a rolling SameTask session no longer hides it. SameTask sessions are titled with the automation name, rows show a #run tag, orphaned runs a Detached pill, and context menus gain Open Automation and Pause/Resume Schedule.
Co-authored-by: dengliu <[email protected]>
Rearrange Code orders the methods of TypeScript, TSX, JavaScript and JSX classes: the constructor, static methods, then instance methods, each public, protected, then private. Fields and static blocks before the first method stay put; methods move with their decorators and comments; adjacent overloads and accessor pairs move as one block. Classes where moving could change behaviour (fields or static blocks among methods, computed names, decorators naming other methods, region markers) are left alone.
Closes#7599
SVN annotation menu named the right system; single-revision history and cross-working-copy log diffs use each path's own previous revision and read paths outside the checkout from the repository; annotation details look up the requested revision; new SVN files follow the When files are created confirmation setting. Refs #7433.
The test parsed a quoted /opt/... program, which has no drive on Windows, so validate_plugin_program rejected it and Rust (windows-latest) failed on main.
Firing a OneShot automation with allowAgentSchedule disabled it before the agent turn started, so the agent's schedule_next_run failed with "The automation is disabled". Self-scheduling OneShot automations now stay enabled while their run is active and are disabled when the run finishes (or is abandoned) without a future seed or agent override. Saving non-schedule edits no longer wipes a pending agent override: it is kept unless the trigger changed, the automation or self-scheduling was turned off, maxRuns/disableAfter invalidates it, or the user clears it. The Edit dialog, dashboard and session banner show the agent-scheduled next run, with Clear/Keep override in the dialog.
Co-authored-by: dengliu <[email protected]>
The external tunnel helper (kubectl port-forward and the like) was offered only for PostgreSQL, though the route hands any driver a loopback endpoint. It is now available for every driver an SSH tunnel carries (MySQL/MariaDB, SQL Server, ClickHouse, Oracle). The helper also keeps KUBECONFIG and the gcloud/AWS/Azure CLI config locations from its cleared environment.
Closes#7591
Adds an optional syntax-decorations-provider export on plugin API 1.20: a plugin paints foreground colours on ranges of an open text editor from a bounded slice of the editor's own syntax tree (no second parser). A mark is a theme token (rainbow-1 … rainbow-5, mapped onto --syn-rainbow-*) or its own dark and light colours (#rrggbb / #rrggbbaa, the set-styled format; SyntaxMark::colored in the SDK). The host validates the snapshot, drops marks with unknown tokens or invalid colours, debounces and cancels superseded requests, and the editor stylesheet picks the dark or light colour, so a theme change does not ask the plugin again. Sticky Scroll lines keep the marks.
Co-authored-by: fsk <[email protected]>
Agent Setup offers Install CLI for a built-in agent whose CLI is missing, showing the host and exact command; it runs as a cancellable job on the project host and enables Sign In once the launcher is verified. npm packages cover nine built-ins, vendor installers the rest; update checks work in remote windows.
Fixes#7581
After switching to a role without usage on the current warehouse, Snowflake statements failed. The session now picks a warehouse the active role can use, the warehouse picker reads grants under the active role, and a schema refusal after reconnecting no longer restores stale session context.
Co-authored-by: vvnadolskyy <[email protected]>
A compiler that derives its default sysroot from the macOS version it targets (e.g. Homebrew LLVM) can look for an SDK that is not installed, so single-file C/C++ runs failed with 'stdio.h' file not found. Tool lookup now resolves the SDK with xcrun --show-sdk-path (only when the developer tools are installed, since the xcrun stub otherwise opens an installer dialog; cached after the first lookup), and the generated compile command passes it as -isysroot.
Co-authored-by: akbar1214 <[email protected]>
Usage lists read the line text of each file with one IPC call per file, which for ~1800 files took as long as the references request. fs_read_texts reads them in one call on a few threads (265-377 ms -> 57-59 ms on macOS); open editors and virtual documents keep using their editor text.
Refs #6823
Signing in to Codex in a remote project uses the device-code flow on the project host, since the browser callback can't reach it; the code and link are shown in the IDE and the sign-in can be cancelled. Tokens stay in Codex's own credential store and out of remote wire logs.
Co-authored-by: Pecnikas <[email protected]>
In a remote project, adding, editing and removing custom agents now acts on the project host instead of the local machine, with trust checks applied there. Edits run off the UI thread, concurrent writes are serialized, and sensitive values are kept out of remote wire logs.
Co-authored-by: Pecnikas <[email protected]>
A right-click in a text field showed nothing: the webview's menu is blocked
everywhere and the fallback Copy menu skipped editable elements. A text
field, text area or contenteditable element without a menu of its own now
gets Cut, Copy, Paste and Select All, acting through the field's editing
commands so undo and input events follow. Cut and Paste are disabled in
read-only or disabled fields, Cut and Copy in password fields and without a
selection; non-text inputs get no menu.
Fixes#7570
Agents can list, inspect and schedule the project's automations through built-in MCP tools. Calls carry an unspoofable per-session capability nonce, scheduling authority is tied to the live session that owns the active turn, project writes always ask for confirmation, and a run cannot undo a user pause. Self-scheduling needs an enabled automation, and the configured trigger and prompt survive an override. The Edit Automation dialog shows pending overrides and gets consistent insets.
Co-authored-by: dengliu <[email protected]>
Override File Type shows a sorted list of file types that filters as you type, keeps its position as results narrow, tells apart languages with the same display name, and returns focus to where it was when closed.
Co-authored-by: audichuang <[email protected]>
The wheel over either merge-window divider now scrolls Result with the side panes and ribbons following; the two-way diff divider converts line and page wheel deltas to pixels.
Fixes#7566
Copy Path/Reference and file bookmarks work from a notebook cell: the chooser uses the same file path rows as the text editor, and file bookmarks target the active notebook tab even after focus leaves its cell.
Co-authored-by: Inf1mum <[email protected]>
Next/previous difference across a diff chain stopped at a file that was deleted (or added), because the viewer swaps sides for it and navigation read the swapped request. It now follows the original request, for direct file navigation and the difference-boundary hint in both directions.
Co-authored-by: akbar1214 <[email protected]>
The Worktrees panel shows the folder, branch and path on one row, but the
layout spec still expected the folder above the branch and failed. It now
checks the three columns in order on one line, keeping the toolbar,
submodule and keyboard selection checks.
Co-authored-by: faysou <[email protected]>
Clicking a commit hash, parent or containing branch in the Maximize Commit
Message dialog selected the commit in the log behind the dialog, which stayed
open over it. The dialog now closes first, then goes to the commit; the log
list takes focus once the commit is selected unless focus moved elsewhere, and
a hash not in the log shows the "not found in the log" warning. Links in the
commit details pane are unchanged.
Closes#7554
Co-authored-by: audichuang <[email protected]>
Show Usages opened early only once a partial result arrived, so a search
whose results come in one batch (usages of a Kotlin declaration found by
jdtls) showed only a caret hint until it was done. The popup now opens after
300 ms either way, with a spinner and "Searching for usages…", and fills in
as usages arrive. A search ending with none or one usage closes a popup that
showed none yet and answers with the hint or the jump. Ctrl+click on a
declaration drops its "Finding navigation target…" hint when it hands over
to Show Usages.
Refs #6823
The Show Usages filename column had a fixed cap, so widening the popup did
not reveal more of a truncated filename. The column now takes the width of
the longest filename among all results (measured off-screen, so virtualized
rows, speed search and filters keep the columns aligned), capped at 176px
(38% when narrow) or a fifth of a wider popup; the code column gets the rest.
It is remeasured when results or font metrics change. Same-named files keep
their directory captions.
Co-authored-by: chiyanking <[email protected]>
Compare with Deployed Version (default server) and Compare with Deployed Version on… (choose a server) open the diff viewer with the editable local file against a read-only snapshot of the deployed one; binary and oversized files show a notice.
Fixes#7546
A language server marked dynamic-documents (Phoxite for PHP and Blade) is sent the other-language documents it registers a document selector for, such as a framework's YAML, XML or JSON files, alongside their own servers.
Malformed selectors match no documents, relative glob restrictions are kept, and withdrawing a selector closes the documents it opened.
Co-authored-by: samehelhawary <[email protected]>
Laravel and Symfony routes are indexed as HTTP endpoints for the Endpoints view and HTTP client navigation. The route index publishes only after the latest reads finish, and exclusions are evaluated relative to each scanned project root.
Co-authored-by: samehelhawary <[email protected]>
One clangd serves C and C++. A header detected as C joined the instance started for C++, but the UI's list of the languages a running server checks was refreshed only on a status change, so the built-in syntax check parsed the C++ header as C and reported false syntax errors. A running server now reports its status again when it is given a new language; the Arduino server taking over a sketch's C++ files does the same.
Symfony projects (framework dependency, bin/console and public/index.php present) get a detected PHP built-in server run configuration serving through the front controller; Debug keeps PHP's web-server arguments.
Co-authored-by: samehelhawary <[email protected]>
Blade and Twig templates get their own languages with highlighting, and framework files that are PHP under other names are associated with PHP.
The Blade highlighter's preceding-character check runs on WebKit, and language-server sharing between languages follows direct definitions only, preventing cycles and letting a shadowed server detach.
Co-authored-by: samehelhawary <[email protected]>
Extensionless headers carrying an Emacs -*- C++ -*- mode line (libstdc++, libc++) or an MSVC "// <name> standard header" comment open as C++ even outside a known toolchain include tree, complementing the include-tree detection from #7547. Known extensions and shebangs keep precedence.
Co-authored-by: a2499123744-del <[email protected]>
Plugins can contribute run configuration types (contributes.runConfigTypes, plugin API 1.20) whose settings form is rendered from the plugin's web view and prepared by the plugin.
Every plugin-owned configuration, including ones the user creates from such a form, is launched by the host only after checking the plugin's process grant and executable pin; the debugger launch rechecks them, and Stop revalidates the executable. Tests cover user-created configurations and grant revocation.
Co-authored-by: RuyimgByCN <[email protected]>
Subversion merge workflows on the built-in SVN backend. VCS > Subversion > Merge From... picks a source branch or URL, then merges selected eligible revisions (svn mergeinfo --show-revs eligible, paged), all revisions, or reintegrates a branch, with a test (dry-run) merge, depth, whitespace modes, --ignore-ancestry and --force. Reverse Merge (svn merge -c -REV) is in the VCS Log commit menu for Subversion revisions.
For a checkout of a subtree (trunk/module), the source URL keeps the working copy's path inside the branch. Revision ranges stay in SVN's native form (-r 100:120). Unsaved documents are saved and local changes are offered for review before merging. Streamed merge output runs under the working copy's write lock, so a merge cannot race Rollback.
Co-authored-by: RuyimgByCN <[email protected]>
A C or C++ function declared but never defined only failed at link time. A new inspection, Function declared but never defined (C/C++, weak warning), reports a prototype when clangd's go to definition finds only the declaration itself. Pure virtual, defaulted and deleted functions, operators, macro calls and Qt signals are left out. Quick fixes: Create Definition in the header's source file, and Implement Inline.
Co-authored-by: yohannlog <[email protected]>
Three C / C++ gaps. Code left out by an #if / #ifdef branch is greyed out from clangd's inactive-code semantic tokens in C, C++ and Objective-C(++). View > Show Macro Expansion shows what the macro at the caret expands to, from clangd's hover. New Project > C/C++ has a project type: Executable, or a static or shared Library with a public include/ folder.
The template engine dropped only a bare LF after a block tag, so on Windows, where Git checks the generators out with CRLF, every {{#if}} line left a blank line in the generated files. It now drops a CRLF too.
Co-authored-by: yohannlog <[email protected]>
C++ test executables ran as plain applications and CTest as one block of console output, so no test appeared in the test tree. CMake detection now marks an executable whose sources include GoogleTest, Catch2 v3 or doctest as a test configuration, and CTest as one too. Their output fills the test tree with each failure's message and location. GoogleTest, Catch2 and doctest test declarations get gutter icons that run one test through the framework's filter.
Co-authored-by: yohannlog <[email protected]>
In a CMake project with profiles or presets, clangd searched for compile_commands.json in each file's parent folders and their build/, so it could read another profile's or a stale database: test sources showed missing GoogleTest headers although the active profile compiles them. clangd now starts with --compile-commands-dir set to the active profile's build directory once it has a compile_commands.json. The window restarts this project's clangd when another profile becomes active, or when the IDE configures the active profile's directory for the first time. That first configure runs as a build task, so the restart follows the configurations reloading without the needs-configure mark instead of a run session's exit. An explicit --compile-commands-dir, a root compile_commands.json and a .clangd naming a CompilationDatabase are left alone.
Co-authored-by: yohannlog <[email protected]>
On Windows, a dangling directory junction showed in the Project view as an expandable folder that listed nothing. lstat of a junction reports size 0, and the UI reads a size-0 link as a link to a folder. read_dir now sizes a dangling link by its target's length, which is what lstat already reports on macOS and Linux, so their behaviour is unchanged. A Windows test creates real junctions with mklink /J and lists them the way the Project view does. The Git workflow fixture names its extra clones by a hash so long paths stay under MAX_PATH.
Refs #7419
Co-authored-by: wildcatDownstairs <[email protected]>
Three Rust tests failed on Windows. Two dev-container tests built Unix-style labels while the Windows CLI supplies native paths, so their label lookups returned nothing. The Git batching test could hit Git for Windows' file path limit before it reached the command-line length case. The labels now use native paths, and the temporary test repositories enable core.longpaths.
Co-authored-by: faysou <[email protected]>
The Welcome screen lists local dev container configurations and an open devcontainer.json offers Open in Container, both through the existing Reopen in Container flow with trust and host checks; the reopen prompt remembers dismissal per project.
Fixes#7417
The JDBC bridge builds CREATE TABLE from JDBC metadata (columns, defaults, primary key, indexes, foreign keys) for custom drivers and reports whether a failure is unsupported, a permission problem or a database error.
Fixes#7451
text/html and text/template script blocks get the HTML parser, and the fallback syntax checker ignores errors inside complete FreeMarker directives.
Fixes#7400
The status item is a compact icon whose badge reflects the active file's servers; the popup lists the current file's servers first, then the project's others, keeping restart, log and update actions.
Fixes#7489
gopls semantic roles for variables, package qualifiers, calls and types map to distinct colours in every bundled theme and are exposed in the Go colour scheme settings.
Fixes#7487
Choosing Ruff as the Python formatter had no effect below a pyproject.toml with [tool.black]: the formatter lookup picked Black whenever Black was enabled and configured, before it looked at which tool the user had selected. An explicit choice now wins. A selected Black formats Python even without [tool.black] and before a selected Ruff. A selected Ruff formats Python below [tool.black]. Without an explicit choice, [tool.black] still hands formatting to Black.
The Ruff and Black settings pages stay where they are, and their hints now say how the two choices interact.
Fixes#7178
Co-authored-by: muutot <[email protected]>
With Vim on Windows and Linux, Ctrl+N and Ctrl+P in Insert mode went to the IDE keymap (Go to
Class, Parameter Info) even while a completion list was open. While a list is open in Insert
mode they now move its selection, unless the user set a handler for the stroke; Normal and Visual
modes are unchanged.
Fixes#7418
Double-clicking a folder in the navigation bar or in its dropdown now selects it in the Project
view, closes the popup and focuses the tree. A single click still opens the dropdown; a folder
row in the dropdown waits briefly before browsing so a double-click can land on it.
Closes#7555
Co-authored-by: igallart <[email protected]>
The Markdown split view interpolated within whole top-level blocks, so the preview could land on a
different passage than the source when a list or paragraph wrapped unevenly. List items now carry
their source line offset (nested items included) and plain paragraphs map lines through the text
range, so scroll sync aligns within them; other blocks keep the existing mapping.
Co-authored-by: faysou <[email protected]>
A language's comment attribute (JavaScript Line comment) resolved against the scheme without the
user's Language Defaults overrides, so turning italic off under Language Defaults left the
language page's Italic checkbox checked. resolvedAttribute now applies those overrides for
language-scoped attributes, as the editor does.
The plugin-theme part of #7453 was fixed by #7474; this PR keeps the remaining fix.
Co-authored-by: OnurrUgur <[email protected]>
Services deployment rows and the dev container resources panel used a literal gap: 2px, failing spacingScale.test.ts on main; both use var(--space-0-5).
Tomcat run configurations appear in the Services tool window with their deployed artifacts, deploy/redeploy/undeploy controls and separate server and application log tabs. Deployment state follows the server's lifecycle output rather than the presence of context XML, failed operations stay visible across refresh, and Run and Debug route like other run configurations.
Co-authored-by: RuyimgByCN <[email protected]>
On macOS, Cmd+/ and Cmd+` left a character at the caret (`/` and a backtick under ABC, `、` and
`·` under Pinyin), and Cmd+` did not switch project windows: WKWebView's performKeyEquivalent
routed the key through NSTextInputContext before NSMenu. WryWebView's performKeyEquivalent now
dispatches window.next / window.previous for Cmd+` / Cmd+Shift+`, and insertText is dropped for a
Command key-down without marked text. A frontend guard drops text beforeinput events right after
a Command key-down as a fallback.
Closes#7334
Co-authored-by: OnurrUgur <[email protected]>
Merge All Project Windows invoked from a group in native full screen aborted the app: tabs were
moved with `addTabbedWindow` while the full-screen exit animation was still running, and AppKit
threw. `merge` now waits (up to 3 s) for the windows that were in full screen, or already leaving
it, to finish, then re-checks the candidates before moving tabs.
Co-authored-by: audichuang <[email protected]>
Picking another tab of a project window group from the macOS Window menu switched tabs in
AppKit without going through `window_groups::select`, so the group's saved selection stayed on
the previous tab and the group reopened on it after a restart. When a tab gains focus while its
native tab group shows it and holds every member of the model's group, the model's selection now
follows, emits the same events and persists as `window_group_select` does.
Co-authored-by: audichuang <[email protected]>
An Xcode run or debug session printed its whole generated `/bin/sh -c 'set -e ...'` launch
script as the console's first line. `RunExtras` gains a `display` override (never saved or sent
to the frontend) that `invocation()` echoes instead of the real command line; `xcode::prepare`
sets it to the xcodebuild build plus what happens to the app (install & launch on a simulator or
device, or launch on the Mac). The real command line is still logged at debug level.
Closes#7483
Co-authored-by: wildcatDownstairs <[email protected]>
The Bookmarks tool window tree starts collapsed and expands just enough to reveal a newly added bookmark. Expansion state is kept per tree, and a bookmark replaced by an edit is not treated as new.
Co-authored-by: solhovoy <[email protected]>
Adds Reload CMake Project, which configures the active profile again and refreshes its targets and compile_commands.json, and Reset Cache and Reload CMake Project, which first deletes the build directory's CMakeCache.txt and CMakeFiles through the new cmake_reset_cache command and keeps the build type the cache held. A failed delete is reported and nothing is configured. Both are in a Build > CMake submenu shown while the project has CMake configurations, in Find Action and in the title-bar CMake profile switcher; the configure output shows in the Run window.
Co-authored-by: yohannlog <[email protected]>
Selecting text in the terminal no longer highlights its other visible
occurrences; Find (⌘F) covers this with match counts and navigation.
Removes the terminal.highlightSelection setting and its toggle.
Generate (Cmd+N / Alt+Insert) in a C++ class or struct now offers Constructor, Getter, Setter, Getter and Setter, Equality Operators and Stream Output Operator next to clangd's own generate actions. Fields are picked in the member chooser and the members are written at the end of the class in a public section; accessors with no field left to write are listed greyed out with the reason. Stream output adds #include <ostream> when no stream header is included. Headers opened as C get the entries when they hold C++ code, and clangd's "Declare implicit copy/move members" now counts as a generate action.
Co-authored-by: yohannlog <[email protected]>
Dragging the vertical scrollbar thumb in a large tree could stutter: every pointer move updated the virtual rows and remeasured the scrollbar, and the tree remeasured the widths of rows that stayed mounted. The thumb drag now applies the latest pointer position once per frame (and on release), reuses the scrollbar geometry while dragging, and the tree measures only new or resized rows on scroll, remeasuring all of them when its content changes.
Closes#7543
Co-authored-by: igallart <[email protected]>
In Git > Log > Branches, folder arrows, Expand All and Collapse All did nothing while a search was active. A new search still shows every match expanded, but the user can now collapse and expand within it; clearing the search restores the expansion from before.
Fixes#7438
Co-authored-by: wildcatDownstairs <[email protected]>
Jump to Source in the Git Log opened an error tab when the selected file no longer exists at that path in the working tree. It now checks the working tree first and only opens an existing file. Open Repository Version still opens the historical snapshot.
Co-authored-by: faysou <[email protected]>
Closing a macOS project tab group could cover the running-agent confirmation when a peer returned to Welcome and took focus. Confirmations and the Welcome transition now take turns, and background web views stay attached while their close checks are pending.
In Tuist's JSON5 project format, package product build file GUIDs come from Swift's per-process hash seed, so every xcodebuild process recreated the build description (10-14 s). Runs, tests, Clean and the index build now start xcodebuild with SWIFT_DETERMINISTIC_HASHING=1, so a Rerun with nothing to rebuild reuses the previous description. The launched app does not get the variable.
Closes#7528
Co-authored-by: wildcatDownstairs <[email protected]>
Adds live templates for C, C++ and Objective-C(++): a C set (main, fori, if/ife, while, do, sw, st, tds, en, inc/incl, incg include guard named after the file, ifdef/ifndef, pf) and a C++ set (iter, itit, ritit, cl, cls, nsp, tmpl, lam, try, cout/cerr/cin, uptr/sptr, sc, GoogleTest test, Catch2/doctest tc). Documented on the C/C++ language page.
Co-authored-by: yohannlog <[email protected]>
Settings > Agents now lists Agent Setup, Chat, Command Rules, MCP Connections, IDE MCP Server, Skills, Memory, Plugins and Automations, in that order. Plugins and the IDE MCP Server page no longer share the same order value.
The Database Output tool window button used the db-console icon, the same glyph as the Terminal button. It now uses db-table, the icon its result tabs already use.
Co-authored-by: EjaYF <[email protected]>
- Menus: shortcuts sit flush right; an empty chevron column is reserved only
when a submenu row also has a shortcut.
- Database Consoles root uses the database icon; Project Structure icon is
monochrome like the other menu icons.
- Worktrees: one line per worktree with aligned name, branch and path columns;
a single repository lists its worktrees without a section row or expander.
- Settings: Project Trust moves under Appearance & Behavior.
While a session is running and there is nothing to send, the Send/Queue button becomes Stop; with a draft, Queue stays and Stop moves into the message actions menu. The Automations clock leaves the Agents header (Automations stays in the Options menu), and the gear opens Agent Settings instead of MCP Connections.
Building a Project Structure WAR artifact compiles incrementally with the Java build service and syncs only changed files into the artifact, falling back to a full javac build if the incremental build fails. The build streams progress and honours cancellation through the Tomcat run's build step.
Copied files and archives are checked byte for byte, archives are replaced atomically, and old staging directories migrate to a clean layout.
Co-authored-by: RuyimgByCN <[email protected]>
The NetBeans presets move editor tabs with Ctrl+PageDown/PageUp but kept the IntelliJ keys for database result tabs. Bind the result tabs to the same keys. The Search Everywhere narrow-window test now cycles through every tab, since the Endpoints tab was added.
The remote status shows the dev container's CPU and memory limits and live usage, and says when the container hit its memory limit, using Docker's explicit OOM status rather than the exit code. Stale responses after a disconnect are discarded and host round-trip time is measured independently of Docker polling; MCP approval flow and tool registrations are kept.
Closes#7467
Co-authored-by: OnurrUgur <[email protected]>
F2 renames the selected shelf when the Shelf list has focus. Root and group expansion in the Shelf tab survives remounts, with groups expanded by default.
Co-authored-by: solhovoy <[email protected]>
After a successful restore, packages are audited for known vulnerabilities, deprecations and newer versions; findings show as markers in project and Directory.Packages.props files and as Problems entries.
Audits distinguish resolved versions, combine diagnostics for shared central package files, compute multi-line UTF-16 spans correctly, and run only after the actual target restored.
Closes#7439
Co-authored-by: wildcatDownstairs <[email protected]>
Extensionless files inside libstdc++, libc++ and MSVC include trees open as C++; an ordinary file named like a header elsewhere stays plain text, and explicit associations and first-line detection keep precedence.
Fixes#7503
A crashing app on the iOS Simulator ended its run with exit code 0. The run now takes the app's real exit status from the simulator, keeps a nonzero simctl launch status, and a logged exit status no longer overrides an explicit Stop.
Fixes#7450
Co-authored-by: wildcatDownstairs <[email protected]>
The Tomcat run's build step ran silently with a dummy cancellation token. It now streams compile and packaging progress to the run console, can be cancelled while the build starts, recognises localized Tomcat startup lines, and ignores error-level lines when detecting readiness. Normal Maven and Gradle WAR packaging is kept so generated and transformed files reach the deployment.
Fixes#7458
Co-authored-by: OnurrUgur <[email protected]>
Tauri before 2.13 cloned and dropped tao's event loop window target (a non-atomic Rc) on tokio worker threads, corrupting the heap and aborting the app at random on Linux. Tauri 2.13 keeps it on the main thread.
- tauri 2.13.0, tauri-runtime-wry 2.13.0, tao 0.38, wry 0.58; @tauri-apps/api and CLI 2.13
- gtk 0.19 and webkit2gtk 3 for our Linux code
- tauri-plugin-mcp-bridge 0.13.2 (debug-only E2E bridge) requires tauri ~2.12; a copy with only its version requirements widened lives in vendor/ and is applied through [patch.crates-io]
Fixes#5617
A folder marked as Sources or Test Sources Root by hand inside a Maven or Gradle module now offers New › Package and Java paste uses its package, instead of creating a single folder named com.example.
Settings › Editor gains a code insight file size limit (default 5 MiB). Files above it open without syntax analysis and language servers, with a banner saying why.
The size decision is fixed for each open document so syntax and LSP registration agree across reloads, the hard editing limit and undo snapshot budget stay independent, and read-only files above the limit get the right banner.
Co-authored-by: kirito1105 <[email protected]>
A goal bound to the compile phase that local runs don't need (maven-jar-plugin:jar and the like) made the build fall back from the built-in incremental javac to Maven. languages.java.maven.ignoredCompileGoals lists exact groupId:artifactId:goal entries to skip in that decision; the default empty list keeps the old behaviour, and Gradle, dependency and compiler checks are unchanged. Covered by a real Maven reactor test and documented in the Java build README.
Co-authored-by: rolicon <[email protected]>
The navigator only registered for Java and scanned .java declarations. It now also registers for Kotlin, scans Kotlin interface declarations, and resolves XML namespaces and statement ids back to Kotlin methods, including files named differently from the interface. Plugin 0.4.3 with a rebuilt component.
Fixes#7459
Annotate with Git Blame resolved only the active editor, so its shortcut in a focused diff showed "Open a file to annotate it". The action now resolves the focused diff pane and revision for toggle state, enablement and run; Copy as Plain/Rich Text act on the focused diff selection too.
Fixes#7437
Project Structure and the language and VCS Settings pages share one label column across sections, reserve room for browse and refresh buttons so fields keep the same width, and stack labels on narrow panes.
When untracked files block a checkout, an error dialog lists them, says whether Git would overwrite or remove them, and the reason is recorded in the Git Console. Warnings and errors from explicit branch and worktree commands stay visible with background notifications muted, and Checkout and Update reports a failed HEAD read instead of silently skipping the update.
Streamed reply entries no longer mark a background chat unread while the agent is still working. Task updates and attention events mark it unread when the turn finishes, needs input or fails.
Up, Down, Left, Right, Line Start, Line End and their With Selection variants were handled by the editor's keys only, so they could not be bound in keymapOverrides, imported IDEA keymaps (EditorUp, EditorLineStart, …) or IdeaVim. They are now Editor Actions running the same CodeMirror commands as the keys (smart Home, sticky selection), enabled in text editors and the editable side of a diff, with no default shortcut. A user override now wins over a preset binding on the same keystroke even when the overridden action already appears in the preset. Fixes#7452
Co-authored-by: OnurrUgur <[email protected]>
With the Markdown preview focused, the editor's expand / collapse keys (Cmd/Ctrl+= and Cmd/Ctrl+-) run the new Increase / Decrease Preview Font Size actions, gated by a markdownPreviewFocus context key; in the editor they still expand and collapse folds. The Eclipse keymaps already give these keys to Increase / Decrease Font Size, which zooms the focused preview, so they leave the new actions unbound. Fixes#7380
Five MCP tools report, start, rebuild and run commands in the project's dev container through the IDE's own Docker and Dev Containers support, inside its trust checks and confirmations.
Runs keep a structured host-or-container target and refuse to start when an approved container target is missing or no longer matches; the container is identified by both devcontainer labels, pinned to the approved ID, and its config may not escape the project through a symlink. The tools are listed and dispatched only on the local desktop.
Closes#7293
Co-authored-by: Pecnikas <[email protected]>
git_workflows: the 700 overlong paths of the two command-line batching tests exceeded Windows' 260-char MAX_PATH (Git for Windows enforces it without core.longpaths), so git add failed; on Windows they use shorter names that still overflow its 32,000-char command line. xcode_index: the test formatted a path into buildServer.json, and a Windows path's backslashes made the JSON invalid; it is built with serde_json now.
Rewriting a cell's source kept every old source element that still prefixed or suffixed the new text, including partial lines, so code typed character by character was saved one character per element and showed one character per line in VS Code and Cursor. Only whole lines (an element ending in a newline, starting at a line start) are reused now; the line being edited is written as one element, the notebook's own JSON layout and string-valued sources stay as they were, and a source already split into characters is joined into lines where it is edited.
Co-authored-by: qslia <[email protected]>
A Windows checkout gives the generator templates CRLF line endings; the test normalizes them before comparing the generated Swift file's first lines. Generated projects are unchanged.
Closes#7506
Co-authored-by: wildcatDownstairs <[email protected]>
Vue 2 projects (detected from package.json, or the installed vue for alias/workspace specs) use vue-language-server 3.0.x, which still supports Vue 2; other projects use latest. Each release installs in its own directory with its paired TypeScript. A version setting overrides detection.
Fixes#7357
Find Usages in large projects went through the Java usages extension with the default 30 s timeout and, when it ran out, fell back to jdtls' wider textDocument/references, so the user waited for both. A project-wide usages request now gets 300 s (still cancellable), and an extension timeout is returned as a timeout instead of starting the fallback; other extension failures still fall back.
Fixes#7376
The request mappings the IDE indexes were only a section of Search Everywhere's All tab. They now have their own Endpoints tab, as in IDEA Ultimate (also /endpoints), and Navigate > Go to Endpoint... opens it with the editor selection as the query. No default shortcut; bindable in Settings > Keymap.
Projects without a saved Services list show Spring Boot run configurations by default; a saved list stays authoritative. Running Spring Boot nodes show the port and announced context path for runs and debug sessions.
Fixes#7346
The NuGet Packages window reads Directory.Packages.props: each package shows where its version is defined or pinned and any VersionOverride, and Check NuGet Package Updates offers an update to the newest version.
Metadata and update checks are scoped to the selected project, configuration and framework and run independently; one-click updates are withheld when compatibility across target frameworks is not verified.
Co-authored-by: wildcatDownstairs <[email protected]>
Adds NetBeans presets beside IntelliJ, Eclipse and VS Code, taken from JetBrains' NetBeans keymap (keymaps/NetBeans 6.5.xml) on top of the IntelliJ defaults; actions without an OpenIDEA counterpart keep the IntelliJ binding. IDEA's EditorDeleteLine now maps to code.deleteLine for imported keymaps.
Co-authored-by: nako-ruru <[email protected]>
A Package sources panel lists NuGet sources and adds, enables, disables or removes them through dotnet nuget, writing to a chosen NuGet.Config under the workspace or the user-wide file.
Edits go only to the config file that defines a source, stale work is cancelled when the project or selection changes, and URL credentials are redacted from errors. CI installs SDK 10 and 11 for the real-CLI tests.
Co-authored-by: wildcatDownstairs <[email protected]>
A uv venv reports its own .venv/Lib beside the base interpreter's Lib, so External Libraries showed two rows called Lib. Roots sharing a name in one SDK group now show their parent folder after "library root". A root inside a sibling root (.venv/Lib/site-packages under .venv/Lib) also got the same tree key as its row in the sibling's listing, so the virtual list drew two rows on top of each other; nested roots now get their own key namespace.
Refs #7444
Co-authored-by: wildcatDownstairs <[email protected]>
Solution folders from .sln and .slnx files appear as nested nodes under the solution, holding their projects and solution items; projects outside every folder follow.
Parent folders an SLNX file only implies are created, literal slashes in legacy folder names are kept, and uppercase .SLNX extensions are accepted.
Co-authored-by: wildcatDownstairs <[email protected]>
Fixes pnpm format:check and the spacing-scale test on main: two for headers in the Razor scanner are formatted as oxfmt expects, and the SVN Working Copies panel uses --space-* tokens for its gaps (same values, no visible change).
Each .NET project lists its packages, project references, framework references and analyzers under a Dependencies node.
Expandable .csproj rows keep their file behaviour (open, rename, context menu), same-named references and analyzers stay distinct, and the evaluated target framework is labelled.
Co-authored-by: wildcatDownstairs <[email protected]>
On Windows, the display of the last focused or moved project window is saved to last-display.json. A project window opened without a position of its own is centred on that display and sized to its work area while the display is still connected and unchanged; otherwise it opens on the primary display. Cascaded windows keep their place, and macOS and Linux are unchanged.
Fixes#7031
Right-clicking the agent composer offered no editing menu. It now has Cut, Copy and Paste; menu paste goes through the same copied-code, link, project-path and long-text handling as a keyboard paste, and falls back to a clipboard image. A deferred multi-click selection handler no longer moves a selection that already left its conversation row back to it, which scrolled the conversation.
Co-authored-by: kradme <[email protected]>
The Agents sidebar has a single clock button for Automations, with a dot for unread runs or runs waiting for input. The dashboard puts search and tabs on one row and moves import and pause-all into an Options menu. The automation dialog keeps provider tools with the prompt, moves permissions, continuity and run limits under Advanced, and expands Advanced when an edited schedule uses non-default settings.
Cursor ACP can end a turn successfully while streaming a resource_exhausted error. Such turns now continue in the same conversation after 5, 15 and 30 seconds, with the countdown and attempt number in the working row and each continuation numbered in the history. Stop cancels the wait and Send Now replaces it; after three failed retries the task pauses with a manual Retry button.
Agent tool cards now render ANSI colours and emphasis in command output with the shared console parser, instead of showing raw escape codes. Plain output keeps its text rendering path.
Plugin rows show the name and version with secondary metadata on its own line, keeping enable toggles and review buttons clear of the text. Manifest formats and marketplace move into the expandable details, and the list adapts to narrow Settings panes.
With a plugin theme active and the scheme on Theme default, Settings > Editor > Color Scheme resolved attributes and the preview against the built-in scheme instead of the plugin theme's tokens the editor paints with, so an italic comment showed unchecked and clearing it saved nothing. resolvedSchemeTokens / resolvedAttribute now take the followed theme's tokens under the user's overrides, the page shows the plugin theme's name, and Markdown comments follow the comment style variable.
Closes#7453
Co-authored-by: wildcatDownstairs <[email protected]>
Add Existing Project, Add/Remove Project Reference and Remove from Solution on .NET solution and project nodes, running dotnet sln/reference one at a time.
Queued edits are cancelled when the workspace changes, the tree refreshes after a partially failed CLI edit, and solution paths are normalized before comparing them.
Co-authored-by: wildcatDownstairs <[email protected]>
Restore AGENTS.md (CLAUDE.md links to it) and the verify skill, and add a pr skill covering scope, checks to run, the evidence each kind of change needs and a UX consistency review against DESIGN.md and PRODUCT.md.
The PR template lists evidence by change type, and the PR check also asks for screenshots or a recording when a PR changes UI files under src/, unless the description says "No visible change".
An edit invalidated the file's indexed markers and the host has none for the new version until it is indexed again, so the gutter icon area emptied, collapsed and shifted the code sideways after every Enter or line copy. Markers now stay, mapped through the edits, until the reindex settles; editors no longer re-place a kept entry at its old lines; plugin line markers likewise stay until the new ones arrive.
Fixes#7422
Fixes#7469. On Linux, WebKitGTK shifts the tracks of the scrolling options subgrid as the Run/Debug Configurations dialog resizes, moving fields away from the Name column. There the header and the options now share a fixed 150px label column instead of a subgrid; macOS and Windows keep the subgrid whose label column fits the longest label, and narrow panes keep the stacked layout.
Co-authored-by: igallart <[email protected]>
Fixes#7358. Completing break or continue in Java inserted the bare keyword. As in IDEA's keyword completion, it now ends with a semicolon, or with a space inside a labeled statement where the keyword can name the label; nothing is added when the line already continues. return is left alone.
Fixes#7365. Newer versions of the IDE-installed language servers were only visible in Settings > Language Servers. features/tools now looks for updates a minute after startup, at most once a day (the last result is stored and shown meanwhile in every window, and installing drops it), and publishes them through workbench/contributions. The status bar's Language Servers widget marks that an update exists and gives the server's popup row an Update button.
Switching to an occluded or detached tab in a native window tab group now syncs its frame, re-attaches its web view and waits for one presentation commit (at most 80 ms) with occlusion detection off before swapping windows, so the incoming tab paints complete on its first visible frame. Rapid switches cancel a superseded wait and restore its web view. Tab switches and hiding AppKit's tab bar run without implicit animation, the tab bar is hidden before the window is ordered front, and a mouse click blurs the clicked project tab so the outgoing window does not keep its hover controls.
The Python sample in Editor > Color Scheme > Python showed @property at column 0 while the def alias it decorates was indented inside class Foo. The decorator line now has the same four-space indent.
Co-authored-by: muutot <[email protected]>
Cmd+Alt-click (Ctrl+Alt elsewhere) is bound to Go to Implementation in the IntelliJ keymap, but the hover affordance only recognised Cmd/Ctrl alone, so the symbol kept plain text and the I-beam cursor. The navigation modifier tracker now also holds for any modifiers the active keymap binds to a navigation left-click (declaration, implementation, type declaration, super method); the LSP link hover and the plain hover popups follow it, and rebinding or removing the mouse binding removes the affordance.
Co-authored-by: happut <[email protected]>
Fixes#7454. basedpyright escapes literal brackets in hover Markdown (str(bytes_or_buffer\[, encoding\[, errors\]\]) -> str), which the \[...\] rule read as display math. mathExtension gets a strictBrackets option, used only by the LSP hover parser: there a single-line \[...\] is math only when padded with whitespace and not nested. Agents chat, Markdown files and notebooks keep rendering unpadded \[x^2\].
Co-authored-by: wildcatDownstairs <[email protected]>
When Quit or closing several project tabs closes windows in parallel, a window with nothing to ask about waits at windowReadyToClose for the others; while a peer showed its Unsaved Changes prompt, the waiting window still took input, and an edit made there closed unasked. The waiting window now blurs its focused element, goes inert and suspends keyboard dispatch while it waits; it is given back with focus restored when the close is cancelled or the wait fails.
Co-authored-by: audichuang <[email protected]>
Archiving a task closes its session and Changes tabs, returns a docked Agents tool window to the task list, and clears lastTask / lastComposer so Send to Agent and layout switches do not target the read-only task. Closing a detached window of an archived task keeps its draft without reopening it. Reopening an already archived task from the Archived group still shows it.
src/editor/api.ts now imports src/editor/core/cm/lineNumberOptions.ts, which the frontend smoke loads, so add it to the Language smoke paths and the Changes step pattern.
Subversion requests from #7433:
- Shelve, Shelve Silently, Unshelve and the Shelf tab work in Subversion working copies. Shelve saves `svn diff --git --show-copies-as-adds` of the selection and rolls the files back, refusing when the files changed since the patch was taken; Unshelve applies it with `svn patch` and reports rejected or skipped files as conflicts. Unversioned or conflicted files, binary files an older svn cannot put in a patch, non-UTF-8 text and selections across working copies are refused before anything is reverted. Stash stays Git-only.
- A Subversion Working Copies Information tab lists every working copy with its URL, repository root, revision, depth and format, with Show Log, Update Project, Cleanup and Relocate for each.
- The version control menu is named SVN for a Subversion project and VCS for a project with several systems.
- The version control tool window button is last in the bottom stripe group.
Co-authored-by: wildcatDownstairs <[email protected]>
Fixes five Subversion bugs from #7433:
- Revision details, changed files and annotation summaries ask the working copy's own URL first and the repository root only for revisions it does not list, so a server that authorizes by path no longer refuses them (E170013 / E175013). The branch list asks trunk, branches and tags one by one when the project folder cannot be listed.
- Shelving around Update Project is limited to Git repositories, so updating Subversion working copies no longer reports "not a git repository of the project".
- A double click on a working copy's tree or property conflict keeps it selected in the Conflicts dialog instead of opening the merge editor.
- The diff of a working copy's folder compares its properties instead of failing with W195007.
- The Log's User filter and author tooltip show an author without an email by name alone.
Co-authored-by: wildcatDownstairs <[email protected]>
Opening an Xcode project with no build log builds its first scheme once in the background, so xcode-build-server has compiler arguments and sourcekit-lsp gives cross-target insight before the first Run. The build is cancellable, waits for Xcode's own build database, restarts sourcekit-lsp when it ends, and foreground builds cancel and reap it first. Xcode process execution lives in ide-run.
Closes#7337
Co-authored-by: wildcatDownstairs <[email protected]>
Razor (.cshtml/.razor) gets syntax highlighting, Roslyn's built-in Razor support with the HTML parts projected to the HTML language server (ordered open/close, a reserved projection URI, scoped capability registrations), and MVC navigation between controller actions and their views, including explicit View("...") names, subfolders and areas.
Closes#615
Co-authored-by: GlitchedPolygons <[email protected]>
Pasting, dropping or choosing an image in the agent composer inserts an [Image #n] label at the caret with a hover preview; deleting the label removes the attachment (undo restores it), and the prompt is sent as text and image blocks in label order (Copilot gets numbered references plus attachments).
Fixes#7336
Fixes from a second review of the built-in Subversion support: rollback keeps moved and needs-lock files intact, a failed commit staging step undoes only the schedules it made, mixed Git/SVN Commit All no longer pulls in unstaged Git edits, status refreshes keep failed roots' rows without resurrecting cleaned ones, BASE image sizes follow copy history, logins say whether the user asked, Windows passwords are sent in the console code page, and background Log refreshes share one SVN branch lookup so a cancelled login is not re-prompted.
Co-authored-by: wildcatDownstairs <[email protected]>
CMake gets CLion-style profiles (build type, generator, build directory, CMake options, environment), CMake presets as profiles, and toolchains (compilers, build tool, debugger, environment script). Only the active profile is detected; target ids have their own namespace, configurations from the older per-profile ids are migrated with their suppressions and before-launch references, the toolchain's build program is passed only to a compatible generator, and a profile switch refreshes the derived executable and build arguments while keeping user edits.
Co-authored-by: yohannlog <[email protected]>
Documents the .NET solution and project entry points in the Project view and attaching to the Unity Editor.
Closes#7410
Co-authored-by: wildcatDownstairs <[email protected]>
Each plugin-contributed Search Everywhere category gets a Navigate action (Search Everywhere: <category>) that opens that tab, so a keymap can bind it directly. The actions follow the categories as plugins are enabled or disabled; no default shortcuts.
Closes#7369
Co-authored-by: kitter960324 <[email protected]>
The Git Log Branches panel gets Expand All / Collapse All buttons and the ⌘+ / ⌘- (Ctrl+= / Ctrl+-) shortcuts while the tree has focus. Collapse All keeps the selected rows' ancestors open; the tree's identity (repository, grouping, reload) restores the default expansion.
Closes#7335
Co-authored-by: kitter960324 <[email protected]>
A new file staged and then deleted came back after Pull, checkout or merge: preserving local changes stashed and restored it. The deletions are now recorded and reapplied after the restore, across every batch of Git path queries; pre-existing empty folders are recreated, and a restore Git blocks keeps its marker and deletion record for the retry.
Closes#7333
Co-authored-by: wildcatDownstairs <[email protected]>
Fixes#7388. pasteReindentFilter fell back to the previous line's indent whenever the caret was at column 0 and the language had no indent opinion, so a line whose auto-indent the user had just deleted was treated like a clicked blank line (#4474). A state field now records a blank line whose indentation the user removed (kept across Enter from it, cleared when the caret leaves or the line gets text), and the paste keeps column 0 there. In YAML, an explicit indent is also kept when the language computes 0 because a root key follows.
Co-authored-by: OnurrUgur <[email protected]>
Fixes#7047. tsserver marks only function- and block-scoped bindings local, so every top-level const, let, function and import of a JS/TS file got cm-sem-global. A file with an import or export statement is an ES module, whose top-level bindings WebStorm colours as variables; only a script's top-level bindings keep the global classes. The module check is cached per syntax tree.
Co-authored-by: kitter960324 <[email protected]>
In the unified diff viewer a deleted block started 3.5px right of the added lines: @codemirror/merge insets .cm-deletedChunk by 6px while the viewer's lines use LINE_INSET (2.5px). The block now uses LINE_INSET, which also fixes the base lines on the merge editor's sides.
Co-authored-by: zhzhsx <[email protected]>
Fixes#7386. macOS Korean 2-Set commits a Space typed after Hangul as a one-character composition, and typedImeCommit (#6608) removed it as a Pinyin syllable space, in the editor and the terminal. Only spaces between non-space characters now count as syllable separators, so ni hao still becomes nihao and a lone Space is kept.
Co-authored-by: kmsdoit <[email protected]>
Opening a saved session while the agent was still starting failed with an internal error. The session open is now retried while the agent reports warming up, within a 30 s window that also bounds each attempt; a timeout or warm-up failure keeps the saved session id so Try again reopens the same conversation, and an auth request during any attempt runs the advertised authentication once.
Closes#7348
Co-authored-by: xuejike <[email protected]>
JS/TS inlay hints default as in WebStorm: inferred types for variables and fields, enum values, and parameter names for literal and anonymous-function arguments. The Editor toggle now reaches the typescript-language-server fallback too. Long hints are cut with the full label in the tooltip, which also refreshes when the server changes it.
Closes#7326
Co-authored-by: wildcatDownstairs <[email protected]>
The Xcode project wizard (#7394) added zh entries equal to their English source, failing src/platform/i18n.test.ts on main. Bundle Identifier is translated; iOS and macOS join the kept-as-written list.
Fixes#4174. The filter field's keydown handler treated ←/→ as tree navigation even with a query, so the caret never moved and the selected symbol collapsed. With a query the arrows now move the caret; with an empty query they still expand and collapse the tree, as IDEA's speed search does until something is typed. The tree keeps its own ←/→ handling when it has focus.
Co-authored-by: kitter960324 <[email protected]>
The Database tree imported pluginDatabaseTableMenuItems from features/plugins directly (from #7372). The table context type and a provider registry now live in workbench/contributions; features/plugins registers its provider.
Plugin API 1.20 adds wit/database.wit with describe-table behind the database.schema capability: a read-only view of a connected source's table (columns, keys, indexes) through DbManager::connected_table_details. Plugins can contribute database.table.context menu entries (needs_api 20) that receive the non-secret table identity and the when keys databaseDriver, databaseObjectKind, databaseSchema, databaseTable and databaseSelectionCount.
Co-authored-by: gejun123456 <[email protected]>
File > New Project could only create SwiftPM packages. A new Xcode Project entry (Swift group; also found by iOS, macOS, App, SwiftUI or Xcode) opens a chooser modelled on Xcode's template sheet: platform tabs (Multiplatform, iOS, macOS), a filter and template tiles under Application and Framework & Library, then an options page (Product Name, Team, Organization Identifier, read-only Bundle Identifier preview, Interface, Language, Testing System). The App and Framework templates are generator definitions that write a minimal Xcode 16 project with synchronized folders and a shared scheme, so no XcodeGen or Tuist is needed and the existing scheme, simulator, run and test support takes over when it opens. The entry shows the installed Xcode's own icon, rendered at runtime, or a bundled glyph without Xcode.
Scaffold gains {{#if field=value}} blocks, c99 / bundle filters, generator platforms / section / name-pattern and readonly / remember fields. Template tree tests skip the generator's tool requirements so they run without Xcode.
Closes#7393
Co-authored-by: wildcatDownstairs <[email protected]>
The resources step ran maven-resources-plugin, which copies a file only when it is newer than the copy, then recorded the source stamps as processed, so content replaced without a newer mtime stayed stale for good. It now passes -Dmaven.resources.overwrite=true.
Fixes#7340
#7389 lets SDK commands run without a project window, so the assertion that a missing window is refused no longer held. Assert that the restricted project's own window still refuses them.
Settings > Build Tools > Maven > Maven home path was a plain dropdown of detected installations plus Browse. It is now an editable combo box, as in IntelliJ IDEA: a typed or pasted path is saved on Enter, blur or paste (trimmed; empty means Auto), Escape undoes an unsaved edit, the arrow, Up and Down open the list of Auto and the detected homes. The saved path is checked the way maven_command resolves it (the home, its bin folder or mvn itself; ~/ from the home directory; relative paths from the project root) and a problem shows under the field. Other SDK combos keep the plain dropdown.
Co-authored-by: wildcatDownstairs <[email protected]>
New File named x.ipynb (or touch, or an agent) creates an empty file, which the notebook editor refused with 'Invalid notebook JSON: EOF while parsing a value'. It now reads as an empty nbformat 4 notebook, as in PyCharm; saving it unchanged leaves the file alone and an edit writes a real notebook. This covers every way an empty notebook file can appear, so New File needs no template of its own.
Co-authored-by: qslia <[email protected]>
Paste with an empty selection in an editor (Vim Insert mode's Ctrl+V, Edit > Paste) went through document.execCommand('insertText'), which turns a Windows clipboard's CRLF into two line breaks: 1,000 pasted lines became 1,999, and a 5,000-line paste froze the window while the text was inserted line by line. A paste into a focused editor now always goes through one input.paste transaction, and the clipboard's line ends are normalized to LF; other focused elements still use insertText.
Closes#7387
Co-authored-by: kitter960324 <[email protected]>
Open in Browser for a running Spring Boot app opened http://localhost:8080/ and dropped server.servlet.context-path, so an app under /api showed a 404. The embedded server's startup line (Tomcat started on port 8080 (http) with context path '/api') was parsed for the port only. It is now parsed into the port and the normalized context path, kept on run sessions (including reattached remote runs) and published for debug sessions, and both Open in Browser paths append it.
Closes#7383
Co-authored-by: aconeshana <[email protected]>
Any index write drops the startup snapshot, and it was written again at most every 10 s, also inline after every subtree scan. In a project of 160 000 files a write takes up to 11 s and holds the disk, so a build writing into the project kept it rewriting for minutes after startup.
The gap after a write is now 30 times what it took, between 10 s and 5 min; a subtree scan within the gap leaves the write to the scheduled refresh. Full scans still write at once. The snapshot only speeds up the next startup: one that is missing falls back to a scan.
Refs #7363
claude-agent-acp now sends AskUserQuestion as an ACP form (a choice field per question, each followed by a text field for a typed answer), and OMP's ask tool sends the same shape. They were shown as a plain form with every question stacked above the composer, at up to half the window, which in a short Agents panel left the conversation no room to scroll.
Such forms are now shown as the question card in the conversation, one question at a time with Previous/Next, option descriptions and previews; the answers are turned back into the form's values (picked options as the choice, typed text in its companion field; Skip declines). Other forms stay forms, and a long one waiting above the composer now leaves the conversation a share of the panel and scrolls within itself.
Fixes#7359
On Windows the console decoder took any read containing a NUL byte for UTF-16LE output (wsl.exe, cmd /u). A Spring Boot app logging a payload that ends in a NUL turned the whole read into CJK-looking garbage. A read is now UTF-16LE only when NUL bytes are dense (one byte in eight or more, as every ASCII character in UTF-16 has one) or one follows a line feed (every UTF-16 line end has one).
Fixes#7362
sdk_jdk_at was a trusted command, which needs an open trusted project, so Add JDK from Disk on the Welcome screen always failed and the error was shown as 'not a valid home for JDK'. SDKs are IDE-wide: sdk_jdk_at, sdk_flutter_at, sdk_locate_tools and sdk_php_xdebug now run outside Restricted Mode like sdk_detect (a restricted project still refuses them). A failed check now shows its error instead of calling the folder invalid.
Fixes#7361
Rust files get RustRover's line markers between traits and implementations: an impl block and its methods get ↑ to the trait (or the trait's method, required vs default from the trait file's outline), a trait and its methods get ↓ to their implementations. The trait and the self type come from the tree-sitter impl header (outline items carry implements / self_type ranges, merged into rust-analyzer's outline), so multi-line generic headers, where clauses and const generic arguments label correctly. Lookups are asked only near the viewport, per-kind provider availability is cached, and every request of a pass is guarded by the document and pass generation, so an edit cancels a running pass and stale markers are refreshed.
Covered by lineMarkers.test.ts, ide-language syntax tests and the ide-lsp mock server.
Co-authored-by: Pecnikas <[email protected]>
Expanding an object in the debugger's editor value tooltip fixed the tree at 460x260 px inside the hint's 480 px cap, truncating nested fields and package paths. The expanded tree now resizes from all eight edges and corners up to the viewport (minimum 280x120 px) and remembers its size (openidea.debugger.valueTreeSize.v1). hint.ts forwards resize/positioned from built hint content to CodeMirror's TooltipView so the tooltip keeps the dragged size and position.
Covered by valueHint.test.ts.
Co-authored-by: elfadl <[email protected]>
Search Everywhere opened at a fixed 700 px width with its height capped at 600 px, clipping long paths, containers and previews on wide monitors. Dialog's resizable="both" now resizes from all eight edges and corners (the opposite edge stays put), not only the bottom-right grip, and Search Everywhere uses it with a remembered size (openidea.search.everywhereSize.v1, clamped to its minimum). The other resizable dialogs get the edge handles too.
Covered by Dialog and Search Everywhere tests.
Co-authored-by: elfadl <[email protected]>
A noremap runs its keys against codemirror-vim's built-in keymap only, and the function text objects were added after every mapclear as user mappings, so nnoremap X daf deleted nothing (same cause as <C-g>u in #7364). af / if are now part of the built-in keymap through the existing vim-core patch, with a placeholder motion the host overrides, and are no longer re-mapped after mapclear.
set relativenumber in ~/.ideavimrc was reported as an unsupported option and the gutter kept absolute numbers. As in IdeaVim, number (nu) and relativenumber (rnu) now set every editor's line numbers over Settings › Editor › General › Appearance › Show line numbers: both on is hybrid, relativenumber alone shows 0 on the caret line, both off hides them. An option the rc file leaves alone reads and follows Settings, nothing is written back, and turning Vim mode off or reloading an rc file without them returns to Settings. The options live in an editor-core store that lineNumbersExtension reads; the controller re-applies settings when it changes, as for Distraction Free Mode.
Fixes#7341
Go to Implementation can list an interface declaration among the implementations (gopls answers both ways), and every row carried the same file icon. A target that is an interface or trait, or a method declared in one, now shows the editor's interface badge in place of the file icon, as GoLand does. LSP implementation answers carry no symbol kind, so the target file's outline supplies it; with targets in more than eight files the chooser opens with the kinds the index already knows instead of opening every file in the language server.
Covered by navigationInterfaceMark.test.ts.
Co-authored-by: nako-ruru <[email protected]>
list_directory_tree with maxDepth 1 listed nothing: the directory's own line took the first level, so 1 returned only that line with total 0, and the default 5 listed four levels. maxDepth now counts the levels below the directory (0: the directory alone, 1: its entries, …) and the parameter description says so. Paging, markers and the output format are unchanged.
Covered by max_depth_counts_the_levels_below_the_directory.
Co-authored-by: guoyucode <[email protected]>
Debugging an Xcode app whose project lives under /private/tmp never stopped at a breakpoint: the IDE sends breakpoints on the canonical /private/tmp/… path, while Xcode writes the files into the debug info as /tmp/…. The simulator attach now passes lldb-dap a sourceMap (/tmp, /var, /etc → /private/…). The map is Xcode-only: clang, swift build and cargo record /private/tmp/…, and LLDB uses only the first matching entry.
lldb-dap and CodeLLDB give no reason for a breakpoint they cannot bind; such breakpoints now carry one (code not loaded yet, or debug info under another path), shown translated on hover in the gutter and in the Breakpoints dialog, and dropped once the breakpoint binds.
Fixes#7367
Co-authored-by: wildcatDownstairs <[email protected]>
An Xcode project with an npm package in a subfolder opened with that package's dev script selected, and the simulator chooser showed an iPad when nothing was booted.
- defaultSelection scored a root Xcode scheme the same as any run/dev script, so list order decided. A root scheme (kind xcode, no cwd) now scores like a Spring Boot application; schemes in subfolders and other project types keep their order, and a saved selection still wins.
- currentIosSimulator fell back to the first listed simulator, while the backend's pick_simulator takes a booted simulator, then the newest iPhone. The toolbar now applies the same rule, and pick_simulator ranks over simulator::parse_list so both sides agree on ties.
Fixes#7354
Co-authored-by: wildcatDownstairs <[email protected]>
The Show Usages popup could be resized but not moved: its header had no move handler, so it could not be dragged off the code it covers. Popup gains an opt-in `draggable` mode that moves it by descendants marked `data-popup-drag` (the same pattern Dialog uses with `data-dialog-drag`), skipping interactive controls; once moved the popup is positioned at its new place without flipping back to the anchor and stays 6 px inside the viewport. Show Usages marks its header as the drag handle.
Covered by e2e/usagesPopupLayout.spec.ts.
Co-authored-by: chiyanking <[email protected]>
An Insert-mode mapping such as `inoremap . .<C-g>u` typed the literal text ".<C-g>u": codemirror-vim has no <C-g>u command and writes unknown <...> keys of a mapping's right-hand side into the document. inoremap only searches the engine's built-in keymap, so the key is added there through a patch to @replit/codemirror-vim-core, bound to an action that isolates the next history event so the text after it starts a new undo group.
Covered by a Vim engine unit test and e2e/vimUndoBreak.spec.ts.
Co-authored-by: angelf015 <[email protected]>
Dockerfile and Docker Image runs start the container detached by default. The Run console keeps the build output; once the command line returns, a new exited hook on the run type reveals the container in the Services tool window with its Log tab (or a log editor tab for the CLI's default daemon). Closing the Run window or the IDE leaves the container running; an attached run still stops it with docker stop.
Co-authored-by: kitter960324 <[email protected]>
cargo metadata in a sub-crate's own workspace reported the project root (a path dependency such as vpn-core = { path = ".." }) as an external package, so the whole project became a read-only library root. Cargo library roots now drop path dependencies inside the open project, reusing is_project_source as Go modules do, so vendor copies stay libraries.
Co-authored-by: stalexxx <[email protected]>
The Problems toolbar gets Expand All and Collapse All; they touch only the files the current tab shows.
Closes#7324
Co-authored-by: mansur-akhmadi <[email protected]>
Gutter icons kept a fixed 14px while the editor font zoomed. They now follow the font size through --openidea-gutter-icon-size (14px at the default size, within 10-32px), applied to the icon area, the http/GraphQL/database run gutters and the feature icon wrappers.
Closes#7332
Co-authored-by: wildcatDownstairs <[email protected]>
Quoted strings inside an Astro tag expression split the expression into several attributes. The tokenizer now skips string literals inside braces.
Closes#7330
Co-authored-by: wildcatDownstairs <[email protected]>
fetchSignature applied every reply as it arrived, so a late reply for a call the caret had left replaced the newer signature. A reply is now skipped while a newer request's tooltip is still shown for the current document and caret.
Co-authored-by: audichuang <[email protected]>
Over the tab limit the Find tool window always dropped the first tab, even when pinned. With a pinned first tab it now drops the earliest unpinned search instead (the selected one only when it is the last unpinned).
Co-authored-by: audichuang <[email protected]>
File → Close Project always switched the window to Welcome. Like the native close button, it now closes the emptied window when another project window is open, and shows Welcome only for the last one.
Closes#7312
Co-authored-by: audichuang <[email protected]>
Every actionable graph edge and node had tabIndex 0, so Tab from the Commits list stopped on each graph segment of every row. They now use tabIndex -1 and stay clickable; the keyboard route is Collapse/Expand Linear Branches.
Closes#7311
Co-authored-by: audichuang <[email protected]>
Replace in Files saves clean open tabs through Documents::autosave, which keeps an external change and returns false when the file changed on disk first. That result was dropped, so the notification claimed every file was written. ReplaceHost::edit_file now also returns whether the edits were left unsaved, ReplaceSummary gains an unsaved count, and the summary reports it as a warning.
Closes#7273
Co-authored-by: audichuang <[email protected]>
A scan of the old project still running after a project switch kept writing its files into the new project's TODO index. On a project change the index now bumps the scan counters (plus a new projectGen for file rescans), drops refreshes queued for the old project and resets the spinners.
Co-authored-by: audichuang <[email protected]>
percent() divided before multiplying, so (29 / 100) * 100 was 28.999999999999996 and the whole-percent floor showed 28%. It now multiplies first, which is exact for integer counts.
Co-authored-by: audichuang <[email protected]>
Adds a Plugins page under Settings > Agents for the plugin bundles each agent harness installs natively (Claude Code, GitHub Copilot, Codex, Gemini CLI).
- Rows are grouped by harness and scope with counts and paths. Toggles change only the harness's own enablement record, and row ids are stable and owner-qualified, so a toggle never reaches another project's row.
- Enabled plugins project their skills, MCP servers and memory files into Skills, MCP Connections and Memory; a workspace override decides what a globally enabled plugin projects in that workspace.
- Marketplaces can be browsed, previewed and installed from, with pinned git installs. Installs are written into each harness's native store without following symlinks, including at the store root.
- Plugins that run local MCP processes or lifecycle hooks need capability consent. Previews and installed folders resolve capabilities the same way, and consent is tied to the capability hash the user was shown: an install or enable whose capabilities differ is refused.
Closes#6872
Co-authored-by: dengliu <[email protected]>
Adds agent automations owned by the host rather than a window: scheduled, one-shot and manual automations, in-session /loop and Send Later, and .automation.md import/export.
- Schedules run while OpenIDEA or openidea-server --daemon is running. An optional login service (LaunchAgent, systemd --user unit or Windows Startup entry), off by default, keeps them running when OpenIDEA is closed; a schedule that came due while nothing was running follows the missed-run policy.
- Every automated turn is capped at the interactive approval setting. A run fails and its schedule pauses unless the provider confirms the required ceiling, including for turns that waited in the queue.
- Scheduled turns re-check project and repository trust at dispatch; Restricted Mode pauses them.
- Worktree runs use new agent/* branches, keep the working directory confined to the worktree, and cleanup never deletes branches. Imported .automation.md files only create disabled copies.
- Automation state is shared across processes with one lock order, and in-memory claims roll back when persisting fails. Windows and peers can only act on tasks of projects they own.
Closes#6942
Co-authored-by: dengliu <[email protected]>
Adds Editor Only / Editor and Preview / Preview Only layouts for .mdx files.
- Safe Static Mode on open: frontmatter, GFM, math, Mermaid, MDX comments and documentation tags (Steps, CardGroup, Note, Tabs, Accordion) render through the sanitized Markdown pipeline with scroll sync and no script execution.
- Run JSX (or Trust Project in Restricted Mode) lazy-loads @mdx-js/mdx and sucrase and evaluates JSX, workspace/tsconfig/node_modules imports, .mdx transclusions, stylesheets, assets and custom layouts inside an opaque-origin sandboxed iframe with its own CSP, no network and no IPC.
- The host-guest bridge is a per-document MessagePort; image, media, module and link resolution stay inside the window's project roots, checked lexically and after canonicalization (new fs_canonicalize command, which rejects parent traversal).
- Execution requires a current, affirmative trust result for the file's owning project, including attached workspace members, whose trust changes now emit ProjectTrustChanged.
- External links open only from a real click on an anchor in the frame and always go through a confirmation dialog showing the parsed destination.
- Settings > Languages & Frameworks > Markdown adds MDX component execution (Ask before running / Run automatically in trusted projects / Disabled), a user-only setting that project settings cannot enable.
Closes#6876
Co-authored-by: dengliu <[email protected]>
Program, script and application argument fields of the other run configuration types use the arguments control added for Python: a one-line field with an editor showing one argument per line. A test keeps argument fields on that control.
The Python run configuration's Arguments field becomes a one-line field with an expand button that opens the editor with one argument per line. Accepting joins them into one command line with single spaces, keeping quotes and escapes (new splitArgsText in platform/commandLine).
Closes#7306
Co-authored-by: igallart <[email protected]>
The TODO toolbar gets Expand All and Collapse All for the file groups, on the scope tabs and on commit TODO review tabs. A review tab's collapsed groups move from component state to its tab entry in useTodoView, so the toolbar and the tree share them; the scope tabs touch only the groups shown.
Closes#7313
Co-authored-by: mansur-akhmadi <[email protected]>
The bash integration appended ";__openidea_prompt_end" to PROMPT_COMMAND, so a user value ending in "; " became "; ;", a syntax error at every prompt that also lost the prompt-end mark. Trailing semicolons and spaces are now stripped first.
ble.sh decodes CSI sequences itself, so the readline bind of the line-clearing key never fired and vi_nmap warned about kill-whole-line. With ble.sh the sequence is mapped to F20 and bound in its emacs, vi_imap and vi_nmap keymaps.
Co-authored-by: KaKi87 <[email protected]>
The Open Project prompt was sized for its four actions only for the local Attach variant, so the remote variant wrapped its buttons. It is now sized for all four actions when New Tab is available, keeping responsive wrapping in narrow windows and the existing button order and default.
When the active debug session terminated, the debugger selected the first live session in tab order, so with several independent root sessions (e.g. several Spring Boot apps) stopping one jumped to the leftmost tab and the console switched with it. A stopped root session now keeps its tab selected as finished; a finished child still hands selection back to its live parent.
Co-authored-by: chiyanking <[email protected]>
Run Maven Goal / Run Gradle Task before launch steps (#7294) keep their project in projectDir, but the run configuration file never wrote it, so after a reload the step had no project and could not run (and ide-run's config round-trip test failed on main). The file now writes project-dir and reads it back.
With several repositories on different branches, the toolbar branch widget put the current repository's name before the branch, capped at 120px and ellipsized, so repositories sharing a name prefix looked the same. The button now shows only the branch and the tooltip names the repository.
Refs #7288
Adds Compare Value with Clipboard to the Variables view's context menu: it reads the clipboard on the click, gets the variable's full value the way Copy Value does, and opens a diff with the clipboard on the left and the value on the right.
Closes#7295
Co-authored-by: mansur-akhmadi <[email protected]>
Adds Reopen Closed Tab to the editor tab context menu, in its own group after Configure Editor Tabs…; it is disabled when there is no closed tab to reopen.
Closes#7297
Co-authored-by: mansur-akhmadi <[email protected]>
The Markdown preview now asks the editor controller for the tab's document slot (#7299); the layout actions test mocked the controller without ensureSlot, so 7 tests failed on main.
When a file was opened under a second name (a symlink), the editor shared one document across both paths, but the preview waited for live text under the second tab's path and never rendered. The Markdown and reStructuredText previews now read the shared document's path from the editor slot and keep the tab's own path for relative links and images.
Co-authored-by: faysou <[email protected]>
A tool entry whose title already names its file ("Read src/index.ts") suppressed the separate file link, so the file could not be opened from the row. The file word in the title is now itself a link that opens the file in the editor; files the title doesn't name keep their links next to it.
Fixes#7285
Show Diff in the annotate gutter listed every change of the blamed commit, with rename detection, only to learn how one file changed; on a commit touching thousands of files that was the whole wait. A new vcs_commit_file_change reads the file off the commit's and first parent's trees, and only runs the rename search for an added file, against the commit's deletions. Backend::commit_file_change defaults to filtering commit_files, so other backends (SVN) stay correct.
Fixes#7169
Co-authored-by: Pecnikas <[email protected]>
shortTitle stripped the task folder followed by '/' literally, so on Windows tool titles kept the full absolute path (backslashes, another drive-letter case). For Windows paths the task folder now matches with either separator and any letter case; commandTitle's cd check uses the same comparison.
Fixes#7286
Adds Maximize Editor / Normalize Splits (IDEA's MaximizeEditorInSplit) to Window › Editor Tabs and the tab context menu of a split: it grows the current group in every split around it, and while that group stays maximized the same item gives all editor splits equal sizes. The tab menu label names what a click will do.
Closes#7274
Co-authored-by: mansur-akhmadi <[email protected]>
File › File Properties gains a Line Separators submenu (CRLF / LF / CR) that converts the active file's line separators, like the status bar widget; it marks the file modified, does nothing when the file already uses that separator, and is disabled for read-only files and notebook cells. Mapped to IDEA's ConvertTo…LineSeparators action ids.
Closes#7289
Co-authored-by: mansur-akhmadi <[email protected]>
With Confirm application exit on, closing or quitting from the Welcome screen still asked, though no project would be lost. The confirmation now guards only a project or LightEdit session: a lone Welcome window closes and quits without it, while quitting from Welcome with other project windows open still asks.
Closes#7267
Co-authored-by: Inf1mum <[email protected]>
The editor could scroll horizontally past the end of the longest line without end, because the scroll-hold spacer kept growing. It is now clamped to the content's scroll width.
Closes#7270
Co-authored-by: Inf1mum <[email protected]>
Enabling CSS Modules Kit saved tsconfig.json unconditionally, overwriting a change another program made on disk after the editor read it. The save is now guarded like an autosave; when refused, nothing is installed, the editor keeps the buffer and the user is told.
Co-authored-by: audichuang <[email protected]>
Renaming a branch renamed the Branch filter and Log tabs of every repository that had a branch of the same name. The rename now applies only to views scoped to the renamed repository (and its linked worktrees, which share its branches).
Co-authored-by: audichuang <[email protected]>
The Git Log showed the raw author stored in each commit and ignored the repository's .mailmap, so one person with several name variants appeared as different authors. The log index now maps authors through .mailmap on read (reloaded when the file changes), and the User filter lists mailmap-mapped identities. Uses gix's mailmap feature.
Closes#7277
Co-authored-by: Inf1mum <[email protected]>
The Tomcat Server form's Before launch section only toggled one Build item. It now uses the same task list as other run configurations (BeforeLaunchTasks), with Tomcat's artifact Build as a removable, reorderable entry that existing configurations keep. Before launch also gains Run Maven Goal and Run Gradle Task steps that run through the build tools' existing execution and abort the launch on failure; BeforeLaunchTask gets an optional projectDir.
Fixes#7200
With many authors the Git Log User menu was taller than the window, and Select..., the only way to filter by several users, came last and out of view.
The menu now starts with Select... and me, then the recent filters under a Recent header (several users apply in one click), then up to 30 known authors. A click on an author still sets the filter to that author alone.
Fixes#7254
The diff preview embedded in the Commit tool window and the Git window's Local Changes tab built a diff for the selected file without its sibling files, so F7 / the down arrow past the last difference did nothing there.
The changes tree now publishes its files in tree order (unversioned included, amend entries left out) and the preview uses them as the diff's chain. Past the last (first) difference the diff hints, then shows the next (previous) file in the preview itself and asks the tree to select it; the tree reveals it the same way it follows the active diff tab.
Fixes#7149
Agent CLI detection looked only at the process PATH, and the registry, CLI update, native launch and spawn paths each used their own lookup (which::which, host PATH, login-shell PATH). When the app is launched from the desktop, CLIs installed in ~/.local/bin, ~/.npm-global/bin, ~/.bun/bin, nvm or Homebrew were reported as not installed or failed to start.
All of them now fall back to ide_core::tool_path::search_path(), which merges the host PATH, the login shell's PATH, the Windows user PATH, common home bin folders and version manager shims. A provider's own PATH from its env is checked first. MCP server launches and replayed agent sessions go through ide_jsonrpc::resolve_spawn_program as well instead of their own copies, and ide-agent no longer depends on which.
Fixes#7246
Co-authored-by: arookieofc <[email protected]>
Running an Xcode scheme printed the whole xcodebuild log in the Run console ahead of the app's output, so on a large project the console trimmed away or buried what the app printed.
The host now wraps an Xcode run's console (after Problems has read the output) with RunOutputSplit: everything up to xcodebuild's BUILD SUCCEEDED / FAILED / INTERRUPTED line goes to a per-configuration build log in the temporary folder, and the console shows the result and a link to the log. A failed build still shows its error lines (or the log's last lines when it printed none) and the failed commands. The app console leaves out simctl's '<bundle id>: <pid>' lines, keeping the first one while a debugger waits for it, and the runtime's 'Class ... is implemented in both' warnings. A build that ends without a result line is finished on the process's exit line.
Fixes#7264
Co-authored-by: wildcatDownstairs <[email protected]>
Run configuration discovery walks three levels deep and its shared skip list only knew node_modules, target, build and a few others, so an iOS project with resolved Swift packages in SourcePackages/checkouts listed every dependency's Rakefiles, CMake targets, Makefiles, Swift packages and Xcode schemes (252 configurations on a real Tuist app, 218 of them from dependencies).
project_roots now exposes the skip list as is_skipped_dir and adds SourcePackages, Pods, Carthage and DerivedData. Xcode's project_stamp uses the same list (plus Tuist) instead of its own copy, so build discovery, run discovery and the settings stamp agree on one list.
Fixes#7261
Co-authored-by: wildcatDownstairs <[email protected]>
The DuckDB and Snowflake console dialects are built from lang-sql directly, which tags QuotedIdentifier like a string, so "schema"."table" was still painted in the string colour there after #7255 fixed the plain SQL mode. Both dialects now restyle QuotedIdentifier as a name.
Under the modal commit interface the diff window gave initial focus to its toolbar's first button, so F7 / Shift+F7 did nothing until a click in the text. The dialog body is now the autofocus target and an editor focus host, handing focus to the diff's text.
Closes#7250
Co-authored-by: formiat <[email protected]>
Marked passes raw HTML tables through untouched, so TeX delimiters stayed visible in their cells. Inline equations in sanitized cell text are now marked and sent through the existing preview typesetter; code and attributes stay literal.
Co-authored-by: faysou <[email protected]>
lang-sql tags QuotedIdentifier as special(string), so "schema"."table" and quoted column lists were painted in the string colour. The SQL mode now restyles QuotedIdentifier as a name.
Co-authored-by: Pecnikas <[email protected]>
Call Inline Completion is Alt+\, which on some macOS layouts types a character such as }. When no language server or plugin supports inline completion, the shortcut consumed the key and showed a hint. The action now re-inserts the typed character in that case, and once the provider is known to be unavailable the key is left to the editor.
Closes#7247
Co-authored-by: koeria <[email protected]>
Adds an ide-svn backend on top of the generic VCS layer (#7065): SVN working copies are detected and routed through the shared Backend/BackendProvider, reusing the existing VCS UI for status, diff, commit, history, annotate, update and revert. CI installs Subversion on Linux and macOS; on Windows the SVN integration tests skip when svn is missing.
Closes#178
Co-authored-by: wildcatDownstairs <[email protected]>
${pom.basedir}/src/main/... resolved to a path mixing \\ and / on Windows, so the launch classpath carried it in an odd spelling and the #7226 test failed on the Windows runner. The resolved path is rebuilt from its components.
@codemirror/view 6.44 contains the upstream fix for tooltip positioning in Safari/WebKit; bump to ^6.44.2 and rebase the local patch onto it.
Co-authored-by: nntndfrk <[email protected]>
⌘F in the modal diff opened Find in the editor tab behind it. The diff dialog now claims the Find keys while it has focus, so Find opens in the modal; Replace works there on an editable side as in any diff.
Co-authored-by: solhovoy <[email protected]>
* fix(python): load package description images only when asked, and list the PyPI link once
* fix(python): hold back image inputs and backgrounds too, and match the PyPI page by name
---------
Co-authored-by: LU XIANGRUI <[email protected]>
▶ on an Xcode scheme ran xcodebuild -showBuildSettings twice before building (8–13 s each on a large Tuist workspace) with an empty console. One read now also decides whether the app runs on the Mac, settings are cached until project.pbxproj, the workspace, a scheme, an xcconfig or Package.resolved changes, and the console reports the read and its duration.
Fixes#7236Fixes#7237
Co-authored-by: wildcatDownstairs <[email protected]>
Reformat Code and Code Cleanup on a directory opened every file in a focused tab. As in IDEA, files that aren't open are formatted on their shared document and saved without a tab; open files are changed in place, keeping the active tab and focus, one undo step each.
Fixes#7221
Stopping an Xcode debug session on the iOS Simulator left simctl and the app running. Stopping now terminates the launched app on the simulator and ends the launcher.
Fixes#7240
Co-authored-by: wildcatDownstairs <[email protected]>
Generating buildServer.json failed on a Tuist workspace whose first scheme is a Swift package: xcode-build-server read that scheme's build settings, which have no build folder. The IDE reads the DerivedData folder from the first project scheme and passes it as --build_root, with an absolute container path.
Fixes#7232
Co-authored-by: wildcatDownstairs <[email protected]>
At full horizontal scroll the end of a diff's longest line stayed under the change overview lane. The diff editors reserve the lane's width at the end of the content, in split and unified modes.
Fixes#7228
Co-authored-by: formiat <[email protected]>
With Ctrl+V's handler set to the IDE, pasting over a Visual selection inserted after it because the browser paste ran after Vim collapsed the selection. In Visual mode an IDE-handled paste stroke runs Paste, replacing the selection in one transaction; with the default handler Ctrl+V still starts a Visual block, as in IdeaVim.
Fixes#7192
A plugin found both at an older location and a linked one logged "ignored: already loaded from" on every rescan, tens of thousands of times a session. The warning is given once per plugin directory.
Refs #7207
Opening a class from a jar in Project › External Libraries always went through jdtls, so with java-analyzer as the Java server it failed with "no Java language server (jdtls) is configured". When the server advertises java-analyzer/classFile, the class is resolved there and opens like go to definition (attached sources, else decompiled); jdtls stays first when configured.
Fixes#7212
A generic layer for version control systems other than Git: ide_vcs::Backend gains kind, head label, update, branches/switch, the system's own changelists and open-for-edit, and BackendProvider finds working copies (asked only for trusted projects, with an optional marker such as .svn for nested roots). ide-host routes the vcs_* commands, status and the Changes view by root, so the existing Git UI serves other systems; Git's behaviour is unchanged. No provider is registered here.
Co-authored-by: wildcatDownstairs <[email protected]>
Opening a trusted Xcode project with xcode-build-server on PATH and no buildServer.json/.bsp now writes the config on open (added to .git/info/exclude unless tracked or ignored); an existing config is never touched. Runs build into Xcode's DerivedData, where the config reads build logs, so new files resolve after ▶ without restarting sourcekit-lsp; a workspace next to the project is built even without schemes or a Podfile (Tuist, SwiftPM).
Fixes#7213
Co-authored-by: wildcatDownstairs <[email protected]>
The POM reader dropped <systemPath>, so a system-scope jar that Maven's runtime classpath or the Java language server left out never reached the run classpath. Existing system-scope jars are added to the owning module's javac and Run/Debug classpaths, as IntelliJ IDEA does, with basedir and POM properties resolved.
Fixes#7194
The User menu opens with the authors known so far and fetches the full list in the background, so the stubbed users only appear when the menu is opened again; the test clicked one on the first open and timed out on main (E2E 3/4).
tracing-appender's default non-blocking queue holds 128 000 lines and is allocated up front (about 4 MB) for a backlog the writer thread never builds. The log writer uses a 16 384-line queue.
Co-authored-by: Pecnikas <[email protected]>
A Codex fork could fail on its first message with "already has an active writer" because the original task's app-server owned the new thread. The fork is created on its own task's connection, and a session held by another writer offers Retry or Fork while keeping the submitted draft.
Co-authored-by: kradme <[email protected]>
A reconcile scan that found nothing new still rewrote the whole index snapshot (30 MB, 1.3–19 s on a large Flutter project). The snapshot is now written only when the scan changed the index or the snapshot is missing; tests pin root-anchored .gitignore / info/exclude handling for build output.
Fixes#7208
Co-authored-by: koeria <[email protected]>
The language manager's apply-edit hook held the project's documents strongly while the documents kept the manager alive through their observers, so every closed project's documents, language registry and language manager leaked. The hook now holds a weak reference.
Co-authored-by: Pecnikas <[email protected]>
Code Vision asked the Dart server for references of every @override Flutter lifecycle method (build, initState, dispose…), which on a large app floods the single-isolate server and stalls completions. Usages counts are no longer requested for those inherited overrides.
Fixes#7206
Co-authored-by: koeria <[email protected]>
In overwrite mode, typing over an emoji replaced only its high surrogate and left a broken low half. A replaced range that ends inside a surrogate pair now takes the whole pair.
Co-authored-by: audichuang <[email protected]>
Copying from inside a JavaScript/TypeScript string literal unescapes its escapes, as IDEA does, but left \/ as is. It is now unescaped in JavaScript strings, and kept in strings of languages embedded in template literals.
Co-authored-by: audichuang <[email protected]>
Dockerfile (when it runs the built image) and Docker Image run configurations get Run in the background (-d), as Docker Compose has: the container starts detached (a previous one of the same name is removed first) and the Run window follows docker logs; Stop ends only the log follower. Unchecked, command lines are unchanged.
Fixes#7180
Settings › Build, Execution, Deployment › Debugger › C/C++ gets GDB executable and LLDB DAP executable (empty: find them on PATH as before; relative paths resolve against the project), as CLion lets a toolchain use a custom GDB. The GDB version check reads the chosen binary and names it when it is older than 14.
Fixes#7174
Java Optimize imports on the fly never removed unused imports: java-analyzer returns a lazy source.organizeImports action (data, no edit), and the on-the-fly path required an edit. It now resolves such an action first, as the command-palette and on-save paths already did.
Fixes#7197
Co-authored-by: koeria <[email protected]>
Go to DDL on PostgreSQL dropped identity columns, stored generated columns, partition by on partitioned tables, the partition of … for values form of partitions, and unlogged. They are now rendered; a partition lists only its local overrides, constraints, indexes and triggers. Ordinary tables' DDL is unchanged (compared byte for byte on PostgreSQL 17).
As IDEA shows class nodes, a .java file inside a source or test root whose name is a valid Java identifier is listed by its class name; files elsewhere, package-info.java and non-identifier names keep the extension. Only the label changes; speed search matches the shown name.
Fixes#7167
Document::diff returns one coarser (still correct) change once its 50 ms budget runs out, so tests pinning one change per region failed on loaded machines. The ide-text tests use diff_until with a far deadline; the formatter and workspace tests that reach the budgeted diff through production code check exact regions only when the call returned within DIFF_BUDGET (now pub), and always check the resulting text and that edits stay between the first and last changed line.
Co-authored-by: audichuang <[email protected]>
Show Diff from the blame gutter always opened at the commit's first change. git blame's porcelain header already names each line's number in the attributed commit; it is kept as BlameLine.originLine, and Show Diff opens the diff at that line of the commit's version.
Refs #7169
Tauri reports dropped files on Windows with backslashes, and the import named the copy from /-separated paths, so a file dropped into an SSH remote project was uploaded as E:\dir\file. Dropped paths are normalized to the UI's / form first; the welcome screen's open-on-drop and the agent composer's dropped attachments do the same.
Fixes#7171
Repo::discover kept the handle from ThreadSafeRepository::discover, which picks gitoxide's options by the folder owner's trust; for a repository another user owns (reduced trust) they cap the object database at 32 pack indices, so with more packs no object could be read and HEAD failed to resolve in the Git log. The discovered repository is now opened the way gix() reopens it, with slots sized by the pack directory.
Fixes#7138
Plain Copy in database result grids uses the active SQL data extractor instead of TSV, as DataGrip does. The Where Clause extractor builds the clause from the selected cells (one value: a = v; several in one column: IN (…); several columns: AND; several rows: OR of ANDs; NULL as IS NULL); the Insert/Update/Delete extractors keep working on the selected rows.
Co-authored-by: wangyuewen-china <[email protected]>
In a narrow plugin view a tree row's label shrank together with its detail, so "GET /posts" became "G…". Plugin views set --tree-detail-flex-shrink, as the Git log's branch tree does, so the detail gives way first.
Co-authored-by: samehelhawary <[email protected]>
A program a plugin runs in a terminal (views.open-terminal) that prints and exits closed its tab immediately because of "Close session when it ends", taking its output and exit code with it. terminal.runCommand accepts keepOpen, and plugin-launched programs use it: the tab stays with the completion line and exit code.
Co-authored-by: samehelhawary <[email protected]>
A Gradle-delegated Application / Spring Boot run merged the run configuration's env into the Gradle client environment only; a reused daemon keeps the environment it started with, so the variables never reached the forked application JVM. The env map is now passed like args and jvmArgs (-Dopenidea.run.env) and applied with JavaExec.environment on the openideaRun task.
Fixes#7179
Co-authored-by: koeria <[email protected]>
When an external drive, network share or mapped directory becomes unreachable, the Project view emptied the root and VCS views kept reading it or offered active Git controls. VCS roots now report unavailable (Repo::check_valid) and skip gitoxide reads, distinct from Untrusted / Safe Mode; MCP get_repositories reports it and git_status skips such roots. The Project view keeps the cached entries greyed out with an unavailable mark and guards mutating actions and opening files; Commit, Git Log, Stashes, Branches and Git signing settings show an unavailable state with Retry and Directory Mappings, and recovery is retried on window focus or refresh.
Co-authored-by: xirf <[email protected]>
The Git Log User filter menu showed check marks next to users, reading like a multi-select, while a click sets the filter to that user alone (IDEA's behaviour; several users go through Select…). The rows no longer carry check marks.
Refs #6289
Co-authored-by: formiat <[email protected]>
jdtls lists both the keyword interface and a snippet interface that inserts a whole declaration named after the file; picking the snippet while changing class to interface duplicated the declaration. A server snippet whose label matches a keyword in the same list is dropped, as IDEA completes only the keyword.
Fixes#7151
Attaching a second project turns the window into a multi-project one, and Import Module from Existing Sources was limited to single-project windows, so it greyed out after the first import. In a multi-project window there is no single build to link into, so the chosen directory is attached as another project, as Attach Project does; a directory already inside a project is reported as such.
Fixes#7148
- Introspected tree folder labels (tables, views, routines, keys, …) are localized.
- Database/schema introspection pickers get Select all filtered.
- New › Data Source lists recently added data source types in a Recent section first, seeded from existing sources on first use.
- New PostgreSQL data sources default to the postgres database.
- Modify Table is resizable, its content following the window size.
Co-authored-by: wangyuewen-china <[email protected]>
Go to DDL on PostgreSQL ran six catalog queries one after another although five only need the relation oid; on a remote server that is several seconds. The oid is read first and the column, constraint, grant, index and trigger queries then run together (two round trips instead of six); opening a table likewise reads indexes, foreign keys, triggers and properties together, and PostgreSQL's table comment comes with the properties row. The generated script is unchanged (checked byte-for-byte against main on PostgreSQL 17 with varchar(n), numeric(p,s), arrays, enums, comments, indexes, triggers, grants and partitions; a zero-column table still renders). A generated DDL file gets a Reload button that regenerates it in place.
Fixes#6911
Co-authored-by: junchangpeng <[email protected]>
VS Code Agent Host titles (agent-host.db) are read with the workspace's SQLx SQLite driver over a read-only connection (no journal_mode or other write pragma), replacing the raw libsqlite3-sys FFI and its unsafe blocks and dropping that workspace dependency. Copilot sessions whose inuse.<pid>.lock names a live process are marked In use in Import Sessions and the history popup; with one selected, Fork becomes the default action so OpenIDEA and VS Code don't both append to the same events.jsonl. Stale locks are ignored.
Co-authored-by: dengliu <[email protected]>
Collapsing a tall row near the end of an agent chat (submitting an inline question form, folding a live thought whose header had scrolled above the view) could push every row above the viewport, leaving only the Thinking… row over blank slack, and lock upward scrolling. Clicks on controls inside a row no longer count as a scroll drag; holdShownRow checks the pre-trim max scroll before trimSlack, and a row that collapsed past the top is anchored at the top padding within the content; sending a message or reaching the end clears the slack.
Fixes#7170
Co-authored-by: dengliu <[email protected]>
Notebook code cells ignored the Python line comment code style (add a space / at first column): the regular editor provides the lineCommentStyle facet through prefsFor, the standalone CellEditor didn't, so Comment with Line Comment fell back to defaults. Cells now get the Python comment style and reconfigure it in place when editor settings change.
Co-authored-by: qslia <[email protected]>
In a multi-project window an attached Python root used the 16px Python file logo as its whole glyph. File-type logos from the project-type registry (file-python, file-go, Node…) are now an 8px corner badge on the module folder icon; dedicated project glyphs (Maven, Gradle, Flutter, Vite) still replace the folder.
Fixes#7156
Co-authored-by: koeria <[email protected]>
Dragging from a narrow Project tree toward the terminal made the horizontal overlay thumb jump: WebKit autoscrolled the pressed scroller sideways and keep() snapped scrollLeft back every frame. During a file drag the tree now sets overflow-x: hidden (restoring scrollLeft around it) so WebKit doesn't autoscroll that axis, and the horizontal overlay applies scroll updates on the next animation frame.
Fixes#7155
Co-authored-by: koeria <[email protected]>
Dragging a project root from the Project view to the terminal inserted nothing and the tree scrolled toward the pointer: the pointerdown handler returned for root rows before any drag session existed, so the press stayed a text selection with WebKit autoscroll. A root is now a drag source for targets outside the tree (payload carries the folder with its trailing slash, the label names it, the scroll guard runs); it is still not moved inside the tree nor handed to an OS drag.
Fixes#7154
Co-authored-by: aconeshana <[email protected]>
In a multi-module Maven project, Debug of a main class failed in the pre-launch build when maven-dependency-plugin:copy-dependencies is bound to package, while Run succeeded. Debug uses jdtls' java/buildWorkspace (for HotSwap), and m2e runs package-phase mojos there; reactor jars aren't packaged yet, so the plugin leaves an MDEP-187 (copy) / MDEP-98 (unpack) error marker on the POM and the launch counted it as a compile error. Those packaging-reactor markers are now ignored when collecting launch errors; real compile errors and other mojo failures still block.
Fixes#7152
Co-authored-by: koeria <[email protected]>
Typing @RequestBod in a Spring project listed only one RequestBody although JDT.LS returned it from two packages. CodeMirror merges options that share label, detail and apply; JDT.LS puts the package in labelDetails.description (our type column, not CodeMirror's detail) and often defers the import edit until resolve, so the existing distinct-apply conditions didn't fire. An item with a labelDescription, detail or labelDetail now gets its own apply; identical items are still dropped by withoutDuplicates.
Fixes#7144
Co-authored-by: koeria <[email protected]>
Programs that can't reach the local clipboard (tmux with set-clipboard on, Neovim over SSH, TUI multiplexers) emit OSC 52 and expect the terminal to write it; the sequence was discarded, so copying inside them never reached the system clipboard, notably in SSH remote projects. The terminal now decodes OSC 52 writes (clipboard/primary/select, UTF-8) and writes the system clipboard; read requests are never answered, cut-buffer-only, invalid and over-1-MiB payloads are ignored. Settings › Tools › Terminal: "Let programs copy to the clipboard (OSC 52)", on by default.
Fixes#7143
Recent Files could only be dragged by its title text and could not be resized. The whole title bar now drags the popup (except the search field and the edited-only checkbox), a corner grip resizes it, and the size is remembered across opens. Rows show the file name, plus the directory only when another listed file has the same name, so long names are no longer truncated by a repeated path; the footer keeps the selected file's full path.
Co-authored-by: wangyuewen-china <[email protected]>
New Java classes got two package and two class declarations: OpenIDEA fills its template after opening the empty file while java-analyzer sent its own skeleton through workspace/applyEdit. java-analyzer's newFileTemplate initialization option is now off, so file creation stays with OpenIDEA's templates. Regression test on the language registry setting.
The action was hidden and copied only the targets a context menu passed, so Settings > Keymap couldn't list it. Run without targets (a shortcut, Find Action), it now copies the focused Project view's selection (folders with a trailing slash), or else the active editor's file with the selected lines, or the caret's line, as the editor's menu does.
Fixes#7136
Show Excluded Files hid every entry matched by .gitignore as well as the excluded ones, so turning it off also removed git-ignored files from the Project view. The option now hides only excluded entries (exclude settings, Project Structure); git-ignored files stay visible and dimmed. Select Opened File's explanation of a hidden path follows the same rule.
Fixes#7137
Roslyn completes types from namespaces a file doesn't import and adds the using directive on accept; csharp-ls 0.14+ no longer lists such types.
- languages/csharp.toml: roslyn-language-server first (--stdio --autoLoadProjects, unimported-namespace completion on), csharp-ls as its fallback.
- ide-tools: DotnetTool gains prerelease and min_sdk. Roslyn ships only prerelease, platform-specific tool packages, so it installs with --prerelease and needs the .NET 10 SDK; an older SDK gets an error that names the SDK and suggests csharp-ls.
- Docs: C#, Unity and the support matrix describe both servers.
Fixes#7124
Text copied from web pages can carry U+200C (or U+200D) between CJK characters and punctuation. WebKitGTK looks up a glyph for the character and the joiner together and draws a box when its fallback font lacks the joiner.
A joiner next to CJK text, where it joins nothing, is now split off as an empty zero-width widget so the character is drawn on its own; the text is unchanged. Between ASCII characters or at a line edge it is shown like other invisible characters; next to other non-ASCII text (Arabic, Indic scripts, emoji sequences) it is left as it is.
Fixes#7019
0.1.56 put the project's source and test roots on PYTHONPATH in Docker and Compose containers. Root detection marks every folder with its own pyproject.toml / setup.py / requirements.txt plus its tests folder, so an Odoo project with OCA repositories got thousands of roots, and the joined value passed Linux's 128 KB limit for one environment string: the run failed with "Argument list too long (os error 7)". A local run hit the same limit.
A detected Source or Test root that is itself a package (holds __init__.py) is no longer an import root; folders the user marked still count. Runs, debug sessions, consoles and the module search for navigation and pytest fixtures share this list.
Fixes#7083
CMake targets (and Swift packages) always launched lldb-dap. Most Linux hosts, remote ones included, have no lldb-dap on PATH, so Debug failed with a macOS-oriented install hint although GDB or an installable CodeLLDB would have worked.
- An lldb-dap launch uses lldb-dap when present (also Debian/Ubuntu's versioned lldb-dap-NN / lldb-vscode-NN and /usr/lib/llvm-NN/bin), else CodeLLDB, else GDB 14+, with the launch arguments rewritten for the chosen adapter.
- With none of them, the error says what was found (e.g. GDB 12.1 without DAP) and the notification offers Install CodeLLDB and Debug, which installs it on the project's host and debugs again.
Fixes#7001
When another tool rewrote an open Java file to call a class or method it added in another file, the open file kept a "cannot be resolved" error until it was reopened. jdtls rebuilds sources reported through workspace/didChangeWatchedFiles but does not re-reconcile the open working copies it already checked, so when the open file's reload reached it before the new class, the stale error stayed. After sending Java source changes to jdtls, the open documents are now sent again (resync_documents), so jdtls checks them against the new sources.
Fixes#6986
Copilot sessions started from VS Code got their titles from VS Code's Agent Host, which stores summaries and user renames in <user>/globalStorage/agent-host.db and does not write them back to workspace.yaml. The import list now reads that database read-only to resolve the titles, skipping unrenamed "New session" / "New Chat" placeholders. It also parses YAML block scalars (|, |-, >, >-) in workspace.yaml names instead of showing a literal "|-".
The backend now lists every session of the project. The Import Sessions dialog filters by title, folder or session ID before taking the 50 newest matches, so older sessions and sessions searched by ID can be found. The 50-session hint appears only when more sessions match.
Co-authored-by: dengliu <[email protected]>
Co-authored-by: dengliu <[email protected]>
#7110 made src/editor/lsp/diagnostics.ts import src/editor/core/cm/inlineBg.ts. The frontend smoke loads diagnostics.ts, but the new import was missing from the workflow's trigger paths and from the Changes step's smoke pattern, so scripts/smoke-paths.test.ts failed on main. Add the file to both; only path filters change.
The User, Date and Hash cells in the Git log always used the muted color, while the subject is only dimmed for merge commits (Highlight > Merge Commits) and for commits outside the cherry-pick selection. The metadata cells now use the same condition, so a row is dimmed as a whole or not at all. My Commits still shows the author in bold.
Fixes#7112
Spawning a PTY on Windows failed when the inherited environment held malformed entries (names with '=' or empty names such as the per-drive '=C:' cwd variables), because the child block was rebuilt from them. The terminal, run processes and the debug adapter now rebuild the child environment after env_clear from spawnable_host_vars_in, which drops entries that cannot be passed to CreateProcess. On Unix this is equivalent to the previous behaviour.
Fixes#6806
Co-authored-by: koeria <[email protected]>
Editing Markdown rebuilt the preview's whole DOM and restarted its viewport tracking. The preview now keeps unchanged blocks and graphics mounted and parses edits in a worker. When the Markdown context allows it, only the edited block is reparsed (a prose paragraph, a heading without slug collisions, or the body of a mermaid/math fence); anything else falls back to a full parse. Mermaid keeps the previous drawing while the source editor has focus. Hidden previews release their worker, and live state is dropped when the document closes.
Co-authored-by: faysou <[email protected]>
Co-authored-by: faysou <[email protected]>
Opening a working-tree diff from the commit panel computes a key for every hunk (hunkKeys). Each key called currentHunkText, which rebuilt the whole file's line-start table, so the cost was hunks x file size. A 9.4 MB JSON with 17,931 changes froze the window.
rollbackEdit and currentHunkText now take an optional precomputed lineStarts table, and hunkKeys builds it once. The same applies to every other per-hunk loop: line-level partial commits, the partial commit projection, the commit-check rollback fallback, and stage/unstage from the gutter.
typescript_import_style failed intermittently on slower CI runners: with autoImportSpecifierExcludeRegexes set, third.ts kept offering alphaHelper for 120 s. settings_set reconfigures the servers in a background task, so the first completion in third.ts could run under the old preferences; tsserver caches that file's module specifiers under a key without autoImportSpecifierExcludeRegexes, and vtsls' per-file configure doesn't clear it, so every retry got the old answer. Each setting change in the test now awaits LspManager::reconfigure before the next completion.
Import Sessions now lists Copilot sessions of the project, read from <config>/session-state/<id>/workspace.yaml (COPILOT_HOME or ~/.copilot) and titled by their name or first prompt without reading the whole event log. Importing resumes the session and replays its history (session.getMessages) into the task, and the Copilot shim now supports session/fork through sessions.fork, so Copilot sessions can be forked without changing the source. Imported sessions of every provider load in the background so their history shows before the first message. The plugin docs list copilot among the native fork providers.
Co-authored-by: dengliu <[email protected]>
Co-authored-by: dengliu <[email protected]>
A tool call needing confirmation in a project served in the background (build_project, execute_run_configuration, http_run_request, destructive plugin tools) failed with "no project window is available" unless brave mode was on. It now asks in the trusted project window focused last, with the usual dialog naming the background project and its path. Requests queue there; the dialog keeps the keyboard focus where it is and answers no key typed outside it, and the Dock icon bounces when the app isn't active. When that window closes, switches project, reloads or loses trust, the request moves to the next trusted project window, within the same 180 s deadline. Tools whose result needs a window (run_command, open_file_in_editor, xdebug_start_debugger_session and the breakpoint tools) refuse in a background project before asking.
Closes#7035
Co-authored-by: lleviathe <[email protected]>
Co-authored-by: lleviathe <[email protected]>
Three inline marks still painted only their font box: the warning lint fill (a flat background-color), the Usages preview match, and the Cmd/Ctrl-hover link, whose pointer cursor stopped at the font so the gap above and below the word showed the I-beam. They now use the inlineBg pattern: the mark grows to the row with padding-block and the fill is a 1lh-capped gradient centred in it; the link only needs the padding. An unnecessary warning still drops the fill, and the active warning keeps it. The usage contrast e2e check reads the fill from the gradient.
Closes#7105, closes#7106, closes#7107
Co-authored-by: Inf1mum <[email protected]>
Co-authored-by: Inf1mum <[email protected]>
The Bookmarks tool window gets Rename, Select in Project View, Expand All, Collapse All and an Editor Preview toggle in its header. The preview shows the selected bookmark's or file's code with the bookmark gutter, below the tree when the window is docked at a side and beside it when docked at the bottom; the toggle is remembered. Remove All Bookmarks now asks first, and the bookmark and list rename dialogs get a labelled form with Create/Rename buttons.
Co-authored-by: solhovoy <[email protected]>
Co-authored-by: solhovoy <[email protected]>
An MCP client started in a folder no project serves got -32001 for tools/list and registered no tools, so it couldn't reach the projects inside even with projectPath. Such a connection (and one naming no folder with zero or several windows open) now lists the tools a trusted project gets; each call still resolves its project, and a tool that writes or runs refuses an untrusted project with the Restricted Mode error before the project loads. initialize tells the agent to pass projectPath in every call.
The stdio bridge picks its IDE process with a new openidea/servesFolder method (falling back to the tools/list probe for older IDEs), keeps the process initialize picked, picks again when processes stop or start, and sends cancellations to every process. Plugin tools list projectPath in their schema and get the call without it when their own schema refuses it.
Closes#7039
Co-authored-by: lleviathe <[email protected]>
Co-authored-by: lleviathe <[email protected]>
Add unambiguous imports on the fly and Insert imports on paste pick the import quick fix by its title, but Roslyn (csharp-ls) titles it with the directive itself (using UnityEngine.SceneManagement;), so C# never got a missing using added. Both now also accept a whole using [static] directive title; fully-qualify and Remove unnecessary usings fixes stay ignored.
Co-authored-by: NK-Studio <[email protected]>
Co-authored-by: NK-Studio <[email protected]>
Diffs from the version control views reused one tab only through the preview tab, so turning off Opening Policy > Enable preview tab opened every diff in a new tab. Editor kinds can now have their previews granted regardless of that setting (reusesPreviewTab); the diff, combined diff and merge commit diff kinds do, so Commit / Local Changes, the Git Log, shelves and stashes keep one diff tab while project files still open as regular tabs. Pinned and kept diff tabs stay, and activeInput({ previewOnly }) uses the same check so the Git Log's selection-following preview works too.
Fixes#7096
FreeMarker files were highlighted by a stream mode, so markup had no HTML completion and script/style content was plain text. A Lezer grammar now parses the template layer (directives, user-defined directive calls, interpolations, comments, noparse), the first directive fixing the angle or square syntax, and the text between them is mounted as one HTML document: markup nests across directives and <script>/<style> get JavaScript and CSS.
Block directives fold, indent, match their end tags and get their end tag when > is typed; completion offers directives after <#, the open blocks' end tags after </, and built-ins after ?. Comment Block uses <#-- --> ([#-- --] in the square syntax).
Fixes#6906
A plugin with [[contributes.javaAgents]] gets java.agent without listing it under [capabilities], so the manifest check rejected a reason for it and the install dialog and Permissions showed only the IDE's description. Manifest::derived_capabilities names the capabilities contributions bring (java.agent from javaAgents, project.read from documentIndexers) and reasons may use those keys too; docs updated.
Fixes#7088
A background project tab of a native tab group detaches its WKWebView from the window 30 s after it leaves the front, so WebKit frees the hidden page's graphics and caches. The view comes back when the tab is selected through our tab bar, when its window becomes key (Window menu, Close Project) or when AppKit makes it visible by itself; an inactive app's full-screen group waits for activation (#6937).
Every macOS with_webview caller goes through macos::with_web_view, which hands the retained view to a detached tab instead of panicking in wry; titlebar::set_height uses the NSWindow directly. clippy.toml disallows the raw with_webview calls. Covered by BackgroundTabs unit tests and an AppKit test of the synchronous re-attach on the key notification (it no longer asks a never-loaded web view for its process ids, which WebKit asserts on).
Fixes#6938
Co-authored-by: Pecnikas <[email protected]>
Co-authored-by: Pecnikas <[email protected]>
The JUnit runner and the Gradle test init script report an invocation of a parameterized, repeated or dynamic test with its display name, and the JVM parser puts it under its method node with its own status, output and stack trace; the method shows the aggregate. Rerunning a failed invocation reruns its method.
Fixes#7046
Clears the remaining non-e2e React perf lint violations and turns the three rules on outside e2e/ so they can't come back: data-derived keys for diagram edges and deadlock cycles (index keys stay, with a documented suppression, where position is the identity), context values in tests hoisted to constants or memoized, and array/JSX default props replaced with module-level constants.
Co-authored-by: akbar1214 <[email protected]>
A Python run configuration on a WSL target can now be debugged: the program starts under the container debugger's bootstrap in the distribution, which waits for the IDE on the distribution's loopback (WSL forwards it), finding the IDE's debugpy and bootstrap through wslpath when the distro has none. Stop ends the debugged process in the distribution, with pkill or, where it is missing, a /proc scan. Other kinds say they can't be debugged in WSL.
Also carries the WSL run target review fixes that neither #6764 nor #6770 included: Maven options naming this machine's files are dropped from remote runs, a failed wsl.exe listing is reported in Run Targets and retried on focus, an unsafe distribution name is cleared and asked for again, a printed path whose .. climbs above its root is refused, and prepare_wsl is built only on Windows.
Verified by the contributor on Windows 11 with WSL 2 (Ubuntu 24.04): a breakpoint is hit and Stop leaves no debug process.
Co-authored-by: wildcatDownstairs <[email protected]>
Python > Add Interpreter gets a WSL tab: pick a distribution and a Python in it (a bare python3 is looked up on the distribution's PATH; Windows paths are refused). The project interpreter then runs in the distribution: packages are listed from there, the project's virtualenv inside the distro is read, the language server resolves imports from the distro's site-packages through \\wsl.localhost, and runs go through the WSL run target. Verified by the contributor on Windows 11 with WSL 2 (Ubuntu 24.04).
Co-authored-by: wildcatDownstairs <[email protected]>
Settings > Run Targets gets a WSL target that lists the installed distributions. A run configuration on it starts locally as wsl.exe -d <distro> --cd <dir> --exec ..., with the project's Windows paths mapped to /mnt/<drive>/..., arguments passed unchanged, environment variables forwarded through WSLENV, and Stop ending the Linux process. Verified by the contributor on Windows 11 with WSL 2 (Ubuntu 24.04), including quoted arguments and Emulate terminal.
Co-authored-by: wildcatDownstairs <[email protected]>
memory::tests::a_burst_of_calls_runs_once_after_the_delay failed on a loaded macOS runner: with a 100 ms delay and 20 ms gaps, oversleeping let the debounced call fire before the burst ended. The test now uses a 500 ms delay, checks "nothing ran yet" only when less than the delay has passed since the last call, waits for the run, and asserts exactly one run only when no gap in the burst reached the delay.
The Shelf tab now lists each shelf's files beneath it in one tree instead of a separate files pane. View Options groups the files by Directory or Module and toggles Show Diff Preview (a side-by-side diff of the selected file, hidden in non-modal commit mode); Expand All / Collapse All work on the groups. File paths show inline, Delete and Cmd+Backspace delete the selected shelf or file, and the Shelve button, already in Local Changes, is gone from this toolbar.
Co-authored-by: solhovoy <[email protected]>
PHPantom (MIT) joins the selectable PHP language servers, with a tools-registry entry for installing it.
textDocument/implementation now sends a client-created workDoneToken for any server; its progress shows as a cancellable task and is retired when the request ends (response, cancel or timeout). A server's TOML can list server-created progress-token prefixes to ignore (ignored-progress-token-prefixes); php.toml uses it for PHPantom 1.1.0, which can leave find_references/goto_implementation progress open after a cancel (PHPantom-dev/phpantom_lsp#603).
Co-authored-by: fenndooscar <[email protected]>
The window-wide cache of lspVirtualDocument results (decompiled classes, library sources, jdt:// documents) kept one entry per document ever shown, hover previews and go-to-definition included, for the window's lifetime. It now keeps the 32 most recently used; an evicted document is fetched again on next use, and a failed fetch is dropped only while it is still the cached one.
Refs #6938
Co-authored-by: Pecnikas <[email protected]>
Idle Restricted Mode windows called the backend over 100 times a second. PluginHost::restrict_project announced CommandsChanged even when the project had no plugins to restrict; every window answered with plugin_list, which restricted the untrusted root again. Separately, the MCP editor and problems reporters retried every 300 ms on commands Restricted Mode refuses.
restrict_project now announces only when it restricted something, and the reporters skip untrusted projects and report once trust is granted. Measured over 4 idle windows: invoke calls 115/s -> 0.7/s, CPU per idle minute 12.3 s -> 1.1 s.
Refs #6938
Co-authored-by: Pecnikas <[email protected]>
git worktree add writes the worktree's .git file before its gitdir's commondir and HEAD, so a watcher rescan in between found no repository there, and the later .git/worktrees/<id>/HEAD write never triggered another rescan. That HEAD now rescans too while its worktree is unknown and is one a scan would find (Repos::searched, sharing discover's depth, hidden, vendor and skip rules, plus Directory Mappings exclusions).
Co-authored-by: audichuang <[email protected]>
A Git Update, Fetch, Push or branch update that fails on an https://github.com remote with "repository not found" or "Authentication failed" now checks the GitHub CLI accounts. When several are signed in, the original Git error is kept and a hint says the effective account may lack access, with a GitHub Settings action that opens the project-scoped account selector. Nothing switches gh's global account, rewrites remotes or retries the operation; other hosts, SSH remotes and network errors are left as they were.
The Log's User filter popup waited for git log --all to list every author before opening, which takes 8-10 s on a history of 500K+ commits, on every open.
The popup now opens at once with the authors already known (loaded commits plus each repository's last full list). The full list is fetched in the background, reusing a running fetch and a list younger than five minutes, and only Select..., which shows every author, waits for it.
Fixes#7064
With No Merges on, a hidden commit's graph parents are projected onto its nearest shown ancestors. On a pull-request history (M_k = merge(M_k-1, F_k)) each hidden merge projected onto all older features, because the projection of M_k-1 was kept next to F_k although M_k-1 is F_k's own parent. The lists grew with every merge and the first page walked the whole history, so a 500K-commit repository never finished loading.
Before projecting through a hidden commit, parents that are ancestors of another of its parents are dropped (a bounded walk that keeps the parent when unsure). The graph builder and the filtered log view (path, date and author filters share the projection) both apply it.
Fixes#7063
expand_jetbrains_path re-checked is_absolute after joining a path variable onto the home or IDE config folder. Those folders are already absolute; on Windows the unit test's /home/me home has no drive, so recent::tests::expands_jetbrains_path_variables failed on Rust (windows-latest) since #6979. Only a path without a variable is checked now.
Adds the Render All Doc Comments action (IDEA id ToggleRenderedDocPresentationForAll, no default shortcut). It flips Editor > Appearance > Render documentation comments globally and clears every open document's per-file rendered-docs override, so all editors follow the new default.
Co-authored-by: muutot <[email protected]>
Right-clicking a .jar or a folder of jars (such as WEB-INF/lib) in the Project view, or running it from Find Action, opens a Create Library dialog (name, scope, classes) that appends the library to projectStructure.libraries. Collapsed folders are probed briefly before the menu opens. Registered library folders get the library icon and an Open Library Settings entry instead of a duplicate add, External Libraries refreshes when jars inside them are added or removed, and manifest-free Java projects with libraries show the project JDK there.
Library class entries (jar globs, root-relative paths) are parsed once in platform/languageSettings for both the action and the refresh.
Closes#7051
Co-authored-by: RuyimgByCN <[email protected]>
Project Structure gets a search field: sections and module tabs are filtered by English or translated labels, the matching section or Sources/Paths tab opens, and staged edits are kept while searching.
The module folder tree now allows Shift and Ctrl/Cmd selection, and the Mark as buttons mark or unmark all selected folders at once (pressed only when every selected folder already has that role). Long paths in the marked folders pane wrap in narrow windows.
Co-authored-by: Chris-young42 <[email protected]>
Long content root and library paths in Project Structure were truncated with only a native title attribute, which the tooltip host skips and WKWebView suppresses; they now use verbatim tooltips, and the module Sources tree scrolls horizontally.
Test output path was always disabled, although the builder already compiles tests into the module's testCompilerOutput. It is now editable for a root module not managed by Maven or Gradle. Browse dialogs for output paths resolve relative values against the project root.
Co-authored-by: RuyimgByCN <[email protected]>
A Project Structure library whose class root is a folder of jars (such as WebRoot/WEB-INF/lib) was passed through as a bare folder, so jdtls, javac, artifact layouts, External Libraries and the Java launch classpath all missed its jars.
Folder roots and dir/*.jar, dir/**/*.jar globs now expand consistently: jdtls gets a **/*.jar glob, javac gets <dir>/* per folder holding jars, and artifacts, External Libraries and launch classpaths get the individual jars. A folder without jars stays a class folder. The jar walk and glob parsing are shared from ide-core, and the class-root expansion from ide_sdk::libraries::library_class_paths.
Co-authored-by: RuyimgByCN <[email protected]>
Launching Tomcat with a Project Structure artifact in a project without Maven or Gradle failed with 'The built WAR artifact does not exist': the WAR was written inside Tomcat's runtime directory, which tomcat::prepare deletes and recreates. Project Structure artifacts are now built to their configured output (compile::artifact_file), exploded artifacts are laid out directly without packing and unpacking a WAR, Tomcat deploys a recorded exploded directory as is, and the artifact list falls back to Project Structure web artifacts when there is no build tool. Refs #404.
Co-authored-by: RuyimgByCN <[email protected]>
Open Repository Version opened Markdown in a read-only tab that skipped the Markdown wrapper, so a committed README had no preview. Editor wrappers can now match virtual documents (matchesVirtual), and the Markdown wrapper matches Git revisions of Markdown files: those tabs get Editor Only, Editor and Preview and Preview Only, with the preview rendering the committed text and the source staying read-only.
Co-authored-by: faysou <[email protected]>
Closing a project or a batch of documents now calls release_free_pages once, 2 s after the last close, on a background thread. On macOS the freed pages are already reclaimable, so the footprint change is within noise; on Linux malloc_trim can return pages glibc would keep resident (not measured).
Co-authored-by: Pecnikas <[email protected]>
A call naming a folder went to the innermost project open in a window, and the background policy was asked only for folders outside every open project. With a window on a parent folder, a call naming a nested trusted repository served in the background read the parent's files instead, so the answer depended on which windows were open. resolve_project now also asks the policy for a path below the innermost open root, passing that root so only folders strictly inside it are considered and nothing else is looked up on disk. A path at an open root, or one no nested folder serves, stays with the window and loads nothing; a remote window's root answers nothing locally. The MCP guide (English and Chinese) describes how the project is picked. Closes#7040.
Co-authored-by: lleviathe <[email protected]>
A notebook's cells are documents of the language servers only, never of the editor's document table, so commands that read that table failed on a cell: Reformat Code answered 'document is not open' and Alt+Enter offered no import for an installed package's name. Formatting and the Python import quick fix now fall back to the LSP manager's cell buffer (new LspManager::cell_text), and the formatter is given the notebook path with a .py extension so Ruff parses the cell as Python rather than notebook JSON. Part of #5846 (items 1 and 3).
Co-authored-by: Renjiankang <[email protected]>
The Xcode C-family test added in #7023 built a one-element array by cloning the root, which clippy's cloned_ref_to_slice_refs rejects under -D warnings, so the three Rust CI jobs failed to compile ide-lsp's mock_server test. It now compares against std::slice::from_ref.
A Markdown link such as #ref-1 can point to an explicit HTML id in the document, but the preview only looked for the generated heading id, so a citation link jumped to a heading with the same slug or nowhere. The preview now tries the exact id first and falls back to the generated heading id.
Co-authored-by: faysou <[email protected]>
In Settings › Agents › IDE MCP Server › Background Projects the Folders list was 116 px wide while empty and grew with its longest path up to 480 px. The wrapper that turns it off in mode Off kept it from being the row's flex item; the wrapper now fills the row and the list passes fullWidth like the other stacked lists.
Co-authored-by: lleviathe <[email protected]>
After a remote backend disconnected or was replaced, its progress rows stayed in the window because the old connection could no longer deliver completion events. When the connection is lost or the session changes, the window now drops the backend's numeric task IDs, their pending delayed updates and the indexing row, and keeps client-side tasks.
Co-authored-by: fenndooscar <[email protected]>
Cycle Identifier Case always went through all five styles. Settings › Editor › General › Smart Keys gets a Cycle Identifier Case group with one checkbox per style (snake_case, SCREAMING_SNAKE_CASE, kebab-case, camelCase, PascalCase), all on by default. The action skips the styles that are off and keeps starting from the style the name is written in, even when that one is off. Fixes#6972.
All Git Log options were one store, so changing the sort or first-parent view in one log tab or File History tab changed every other tab, and switching tabs overwrote the global choices. Application-level properties (compact refs, tag names, labels on the left, commit date, author/date/hash/signature/checks columns and column order, diff preview and its location, changes from parents) are now saved globally and shared across tabs and windows. Graph options, long edges, highlighters, details and root visibility, text filters and column widths stay per tab and are restored with the log session. Tab switches and cross-window storage updates no longer overwrite the global set.
Co-authored-by: muutot <[email protected]>
Adds Copy Settings Path (CopySettingsPath alias). It copies the current Settings page as 'Settings | Group | Page', built from the same translated page-tree breadcrumb the dialog header shows. The page tree's context menu offers it for the right-clicked page.
Co-authored-by: muutot <[email protected]>
Adds the Show Breadcrumbs toggle action (EditorToggleShowBreadcrumbs alias). It forces breadcrumbs on or off for the active editor tab only, ahead of the global setting and the per-language disabled list, without changing either. The override lives as long as the tab: it is dropped when the tab closes or the editor session stops, and split editors of one file keep their own.
Co-authored-by: muutot <[email protected]>
Adds Scroll Tree to Center for the focused tree, reachable from Find Action and the ScrollTreeToCenter IDEA action alias. It centers the selected lead row without changing the selection, does nothing with an empty selection, and is disabled once the tree loses focus. Every Tree registers for focused-action lookup, so it works in tool windows, Settings and tree dialogs alike.
Co-authored-by: muutot <[email protected]>
The title-bar project switcher keeps only Open Projects and Recent Projects, as one flat list ordered by recency, without host or custom group headings. Local and remote projects share one row layout; remote rows keep the avatar badge and show host:path on the path line. Section headings line up with the project badges. The Welcome screen and the standalone Recent Projects popup keep their grouping.
The agent composer, recovery notices and question forms used one-off styles. Skills and agent Resume get dedicated monochrome icons that inherit the menu, toolbar or button colour, leaving the editor intention bulb and debugger Resume icons unchanged. Interrupted, network-retry and archived notices share one inset geometry with warning colours from the theme, and question forms use the standard control styles.
Clicking Edit on a user message replaced the bubble with a full-width, left-aligned textarea and dropped the timestamp and You label, so the text jumped. Editing now stays inside the user message container: the header is kept, the editor takes the measured bubble width (bounded by the bubble max-width) with the same padding, and the actions sit under it.
Active status groups and active tasks in custom groups were ordered by updatedMs, so concurrent turns, status changes, renames and per-task MCP/skill/memory overrides kept reshuffling the list. They now sort by creation time, newest first, and Pinned keeps its pinned order including manual drag overrides. Renaming a task or changing its overrides no longer bumps updated_ms.
Right-clicking a conversation image thumbnail or its full-size preview showed the WebView's native image menu (Open Image in New Window, Download Image, Copy Image). Both contextmenu handlers stopped propagation without preventing the default action; they now call preventDefault as well.
The Xcode run destination chooser lists paired iPhones and iPads from devicectl under a Devices header, marking ones that are not connected or have Developer Mode off. Running on a device stops before building when the device is not ready or the app would be unsigned (CODE_SIGNING_ALLOWED = NO, or automatic signing without a team), and otherwise builds with -allowProvisioningUpdates, installs with devicectl and launches with --console so output shows in the Run console and Stop ends the app. Scheme environment goes through DEVICECTL_CHILD_*, and a failed launch adds an unlock hint after devicectl's error. Debugging on a device is not supported yet. Install and launch on real hardware were exercised with a stubbed xcrun only.
Co-authored-by: wildcatDownstairs <[email protected]>
Hovering a bookmark in the editor gutter shows its description, or the line text when it has none, and the marker carries the same text as its accessible label. The plain marker uses the shared filled bookmark icon at 13px instead of a custom outline. The gutter context menu on a bookmarked line offers Rename Bookmark…, which opens the bookmark description editor, next to Delete Bookmark.
Co-authored-by: solhovoy <[email protected]>
Matched characters in Search Everywhere and every chooser built on HighlightedText used --bg-search-match, which editor colour schemes rewrite for their Search result attribute (Darcula: dark green), so the popup highlight turned dark green instead of the SearchMatch gold. Lists now read new --bg-list-match / --fg-list-match tokens set per theme (dark, light, high contrast, palette themes) and mapped from IntelliJ theme SearchMatch keys; they are not scheme variables, so applying a colour scheme leaves them alone. In-editor search marks and code previews still follow the scheme. The Harbor Night template and the theme token docs include the new tokens.
Co-authored-by: wildcatDownstairs <[email protected]>
The plugin WebSocket API opened a direct socket and the MCP server probe built a bare reqwest client, so both ignored the IDE's proxy settings (Manual and the macOS PAC). Plugin WebSockets now open their TCP stream through ide_http::tunnel; loopback stays direct in every mode, and a proxy the tunnel cannot speak to (SOCKS, https://) keeps the previous direct connection. The tunnel's reason, such as a proxy that needs a login, is part of the failure message. The MCP probe uses the shared ide_http client builder and sets the MCP headers and 12 s limit per request, with protocol headers taking precedence over configured ones. The tunnel also no longer double-brackets IPv6 literals ([[::1]]:port), which broke the Jupyter kernel channels for IPv6 hosts.
Co-authored-by: audichuang <[email protected]>
A file inside an installed package under vendor/ (or a custom config.vendor-dir) has its own composer.json, so the dependency check treated the package as a separate Composer project and reported it as not installed. The check now walks from the content root inward and attributes a file to the outermost project whose vendor directory contains it; nested projects outside vendor still use their own manifest.
Co-authored-by: fenndooscar <[email protected]>
Option descriptions in pickers such as Effort Level started at different horizontal positions because each virtualized row sized its own label. The shared select can now align descriptions in one column sized from the widest rendered label, capped for narrow menus and re-measured when fonts change; agent effort, model and configuration pickers, agent defaults, task isolation and Git fetch tag modes use it.
Component tags in Vue templates (<Icon>, <el-input>) had the same colour as HTML elements. PascalCase or hyphenated tag names now use a new --syn-custom-tag token, the Custom tag name colour: #2fbaa3 in Islands Dark and #b21dbf in Islands Light, with values for high contrast, the palette themes and Harbor Night; other themes fall back to the tag colour.
Fixes#6894
Go to Declaration on a Java native method opens its Java_<mangled name> implementation in C/C++ files, and on such a function goes back to the native declaration, with a chooser for several targets. Symbols come from the project index, with a text search as fallback; JNI names are mangled and unmangled per the JNI spec (escapes, nested classes, overload signatures). Contributed definition providers may now answer asynchronously.
Co-authored-by: nako-ruru <[email protected]>
Swift files below a .swiftlint.yml are linted with swiftlint lint --reporter json: an opened or saved file by its path (so excluded paths and nested configs apply), an edited buffer through stdin. Findings show in the editor and Problems with severity and rule id. SwiftLint joins the tool registry as an installable CLI under Swift; a missing swiftlint is reported once, and nothing runs in Restricted Mode.
Closes#7028
Co-authored-by: wildcatDownstairs <[email protected]>
In an Xcode project plain clangd finds no compile flags, so headers on the target's search paths and the generated <Module>-Swift.h were not found. C, C++, Objective-C and Objective-C++ now list sourcekit-lsp before clangd with require-root-marker on buildServer.json and replaces clangd: with an Xcode BSP config sourcekit-lsp serves them with the build server's flags; without one, or without sourcekit-lsp, clangd serves as before.
Closes#7022
Co-authored-by: wildcatDownstairs <[email protected]>
Bundles tree-sitter-objc (MIT) with an outline query for Objective-C and Objective-C++: @interface/@implementation/@protocol blocks, categories, methods named by selector, properties, instance variables, C declarations and #pragma mark labels, so the Structure view, folding and the symbol index work for .m and .mm files. The built-in syntax-error diagnostics skip both languages, since the grammar misreads Apple's macros and C++.
Closes#7026
Co-authored-by: wildcatDownstairs <[email protected]>
.entitlements and .xcprivacy open as XML property lists and .xcstrings as JSON; .xcconfig and .strings get small language definitions that use the C mode for comments, #include and quoted strings. Each gets a matching file icon.
Closes#7018
Co-authored-by: wildcatDownstairs <[email protected]>
Hovering or Alt-clicking an operator while suspended evaluated nothing, because only identifiers, member chains and calls were taken. An operator now gives the expression it belongs to, from the syntax tree: && gives a > 1 && !flag, > gives a > 1, ! gives !flag. A hover leaves out expressions with calls, increments or assignments, which Quick Evaluate still evaluates; an identifier is still just the identifier.
Fixes#7000
A remote project's server receives the desktop's plugin packages after the window has opened its files, so on-language:twig reached the server before the Twig plugin was installed there and was lost; the plugin stayed inactive and Twig files got no highlighting or completion. The same happened locally when a plugin was installed with a matching file already open. The host now remembers the language, file and view activation events fired so far (bounded) and activates a plugin that loads later if one matches, and the window reports on-language again when the active file's language changes.
Fixes#7014
#7048 exported the size loader only its own file uses, and its e2e test imported usages.ts from a literal path; knip reported both. Unexport the loader and import through a variable like the other spec in the file.
The usages popup had a fixed width and a height derived from its row count, so it could not be enlarged on any platform. It now resizes from its right and bottom edges and corner, the list takes the added height, and the size is remembered for the next time it opens.
Fixes#6999
The agent-commands MCP test stopped and interrupted 'sleep 30' right after run_command returned with timeout 0, while the login shell could still be reading its profile; a profile command that handles SIGINT lets the shell go on to run the command, leaving the tab stopping past the 10 s wait. Both stops now wait for the command to print 'ready' and assert it is running first.
Co-authored-by: audichuang <[email protected]>
Gradle's processResources succeeds with NO-SOURCE when a project has no resources and never creates its output directory, so Update Application stopped before asking the debugger to reload classes. A missing output directory now counts as an empty resource set, and resources an earlier update copied are removed.
Refs #6977
Co-authored-by: Chris-young42 <[email protected]>
Notebook cell editors used CodeMirror's default indent of 4 regardless of settings. Cells now take the Python (code cells) or Markdown Code Style, falling back to the editor tab size, through an indent compartment that is reconfigured in place when settings change, so the cell editor is not rebuilt.
Co-authored-by: qslia <[email protected]>
Run with Coverage is offered for xcode-test configurations: it adds -enableCodeCoverage YES and names the run's result bundle, which xcode::prepare_test uses instead of its own, so there is still one test run and one bundle. Afterwards xcrun xccov view --report and --archive feed the shared coverage accumulator: files compiled only by .xctest targets, files outside the project and DerivedData/.build are left out, resolved paths map back to the project root, and lines with a missed subrange are partial.
Closes#6941
Co-authored-by: wildcatDownstairs <[email protected]>
In a project with a Podfile the app project's schemes are built and tested through the .xcworkspace that pod install writes (it has no schemes of its own), and Pods/ gets no run configurations. Pod Install and Pod Update run in the Run tool window from Find Action, Build > Xcode and a Podfile's context menu; afterwards configurations are detected again and an xcode-build-server buildServer.json is regenerated for the workspace. Opening a project whose Pods/Manifest.lock is missing or differs from Podfile.lock offers Pod Install.
Closes#6956
Co-authored-by: wildcatDownstairs <[email protected]>
Settings > Languages > Swift gets an Xcode field (empty = the xcode-select one). For a trusted project the chosen Xcode.app or Contents/Developer becomes DEVELOPER_DIR in the project environment, so sourcekit-lsp, xcodebuild, xcrun, simulators, debug adapters and terminals use it; it overrides a DEVELOPER_DIR from .envrc and is not applied to untrusted projects or LightEdit.
Closes#6963
Co-authored-by: wildcatDownstairs <[email protected]>
#7011 mapped IDEA's SelectInProjectView to navigate.selectInProjectView, a registered action with no default shortcut in any preset, so the rc.test.ts :action id check failed on main. List it with the other unbound actions.
The cached gitoxide handle kept pack mappings from the old mount; after a remount with the same device, inodes and mtimes it was reused and reading it raised SIGBUS. The cache now detects the remount and reopens the repository. A volume lost in the middle of a git operation is not covered.
Refs #6948
Co-authored-by: xirf <[email protected]>
In Auto mode the TCP/CONNECT tunnel used for WebSockets resolved the proxy with the system matcher only, so a macOS PAC script was ignored. It now asks the PAC resolver first on a blocking thread and falls back to the matcher when there is no PAC or an env proxy is set.
Co-authored-by: audichuang <[email protected]>
Five vtsls commands, run through workspace/executeCommand on a vtsls server that advertises them (other TypeScript servers report that vtsls is needed). Go to Source Definition opens the JavaScript implementation instead of the .d.ts; Go to Project Configuration opens the file's tsconfig.json or jsconfig.json; Move to File appears in Refactor > Move and the intention menu, offering tsserver's suggested target files and Choose File, and applies the move with its import updates as one workspace edit; Open TS Server Log offers to turn on logging through the new languages.typescript.tsserverLog setting, which restarts vtsls, and then opens the log.
Closes#6922
Co-authored-by: wildcatDownstairs <[email protected]>
project.selectOpenedFile (#7011) was added to the IntelliJ presets only, so the keymap test that the VS Code preset covers every IntelliJ action id failed on main.
Import Recent Projects from JetBrains IDE (Welcome screen more menu, File > Manage IDE Settings) reads the IDE's options/recentProjects.xml and merges its recent projects and project groups into OpenIDEA's. Entries keep their custom or display name and the later of their open and activation times; hidden (LightEdit) entries are skipped, $USER_HOME$ and $APPLICATION_CONFIG_DIR$ are expanded, and projects whose folder is gone are skipped and counted. Existing entries and groups are kept, a taken group name gets a number, and importing twice adds nothing. Import Settings from JetBrains IDE lists the recent projects as a row of its confirmation and merges them too.
Closes#6970
Co-authored-by: wildcatDownstairs <[email protected]>
Git Log and File History changed files get Create Patch and Copy as Patch to Clipboard, in the toolbar and the context menu. Only the selected repository-relative paths are exported, as path-filtered revision diffs with Git's empty tree on the missing side of additions and deletions and both names for renames. The existing patch dialog, base directory defaults, reverse option and clipboard flow are reused; empty, malformed, no-op, mixed-repository and external-repository selections are disabled.
Co-authored-by: muutot <[email protected]>
Find in Files and Search Everywhere took the selection only from the active editor tab, so text selected in the Find in Files preview (or another focused editor, such as a diff pane) was ignored when the action ran again. The focused editor's selection now comes first, then the active editor's.
Fixes#6992
With Narrow down on typing on, a File Structure query that matches nothing now turns on the unchecked filters (Show fields, Show non-public, Show inherited members) one at a time until a match appears. Filters enabled this way are restored as the query gets shorter and when the popup closes, and are never saved; a checkbox the user changes by hand keeps its new state, and the cascade stops right after a backspace restores a filter.
Co-authored-by: muutot <[email protected]>
In the Agents task list, dragging a row of a multi-selection moves every selected task (into a group, Pinned, a status group, or before or after a task, keeping their order), and Delete deletes the selection while the list has focus. Tree collapsed the selection to the pressed row on mouse down, before a drag could start; a press on a selected row now narrows the selection only on a release without movement. agents.deleteTasks gets a list-focus key binding like agents.archiveTasks, and a click or arrow key opens the session without taking focus from the list; Enter and double-click still focus it.
Closes#6932
Co-authored-by: xuejike <[email protected]>
A referenced source's pseudo path such as /usr/lib/swift/libswiftCore.dylib`swift_willThrow was kept on Windows, where a path with a root but no drive is not absolute, so frames_drop_pseudo_paths_of_referenced_sources failed on Rust (windows-latest) since #6961. A rooted path now counts.
File, symbol and text results in Search Everywhere get Select in Project View, in the Alt+Enter menu and in a new right-click menu on the row: it closes the popup and selects the result in the Project tool window. This helps with files that open in another application, such as a .doc, where choosing the result leaves no trace of where the file lives. The item is offered only for paths inside the project. One item list now feeds both menus, and Open to the Side is disabled for folders.
Co-authored-by: Greenker <[email protected]>
A double click on the empty part of an editor tab strip (not on a tab, a button or trailing content) now maximizes the editor by hiding all tool windows, the same as a double click on a regular tab; doing it again restores them. Tabs gets an onBlankDoubleClick callback that fires only for the strip itself or its scroller.
Closes#6968
Co-authored-by: xuejike <[email protected]>
The Open Project prompt gated Attach and New Tab on one flag that required a local project in a local window, so opening an SSH/WSL project, or any project from a remote window, offered only New Window and This Window, and "Open project in: tab" fell back to a new window. Attach still needs a local project in a local window, but a project tab is a window of its own joined to this window's group, so it now applies whenever this window has a project: a remote project opens in a new window that joins the group.
Fixes#6923
history::log held the log index lock for its whole run, so every Git subprocess it started (file history, path selection, range ids, rev-list, the --grep text filter) ran under the lock, and commit details plus the one-commit queries behind inline blame waited for the whole walk. The lock is now taken per phase: Git runs unlocked and only in-memory work holds the guard. update_head_reachable runs under the guard that builds the rows, and the shared nodes are used only when they were built for the query's shallow set, rebuilt otherwise, so a query stays on one snapshot while others run in between.
Co-authored-by: audichuang <[email protected]>
Close Project on a tab of a native full-screen group moves the tab into a window, and so a full-screen Space, of its own. While the app is inactive, AppKit's enter-full-screen transition for that Space crashes in SLSWindowServerClientSpaceAddWindowsAndRemoveFromSpaces as soon as the web view draws its next frame, taking every project window with it. Detaching such a tab is now deferred: the tab stays in its group (showing Welcome) and moves to its own Space when the app is next activated. Foreground closes and windowed groups detach immediately as before.
Fixes#6937
Co-authored-by: Pecnikas <[email protected]>
With a fallback font set and a primary family that isn't installed, every glyph came from the fallback. A CJK fallback such as PingFang SC has proportional Latin letters, and the terminal sized its cells for the widest of them, so text came out spread apart. Once the native font catalog shows the family is missing, the bundled JetBrains Mono now stands in for it ahead of the fallback, which still covers the glyphs it lacks. Applies to every monospace stack built from the editor or terminal font settings.
Fixes#6974
Slint borrows the C mode for highlighting until slint-lsp's semantic tokens arrive, and Enter used that mode's statement indentation: after a child element's closing brace the next line went back to column 0, and nested blocks below it opened one level short. Slint now uses the brace-based fallback indentation even though a highlighting mode is loaded. No other language with a borrowed mode has this mismatch.
Fixes#6976
The keymap listed "Select Opened File" only as the Database view action, so a shortcut assigned to it revealed the file in the Database view and did nothing in a project without data sources. Like IDEA's SelectOpenedFileInProjectView, the Project view now has its own Select Opened File action (the toolbar button runs it), and imported IDEA keymaps map SelectOpenedFileInProjectView and SelectInProjectView.
Fixes#6978
compile_cached loaded the cached .cwasm with Component::deserialize_file, which maps the file and makes its pages executable; the hardened runtime of the signed app refuses that, so every activation discarded the cache and compiled the plugin again. The file is now read into memory and deserialized from the bytes. A new test checks the cache is hit; signed with the app entitlements it fails with the old code.
Refs #6954
presetOf picked the macOS preset for any parent whose name contains "mac", including "Emacs", so a keymap derived from IDEA's Emacs keymap was imported as based on macOS. The match is now on the word (Mac OS X, macOS), and Emacs and its copies map to the $default preset they inherit in IDEA.
Refs #6896
On a loopback address js-debug makes the program require its child-process bootloader by a local path; behind a remote root (published container port, SSH tunnel) that path is missing, tsx's esbuild worker exits and the program waits for it forever. Attach to Node.js with a remote root, and Node.js debugging on SSH/Docker/Compose run targets, now pass autoAttachChildProcesses: false.
Closes#6925
Co-authored-by: wildcatDownstairs <[email protected]>
Plugin navigation discovery refused the whole project above 20,000 matching files, counted out-of-scope and git-ignored files toward the cap, and showed the raw error text half translated. Discovery now keeps the first 20,000 in-scope, non-ignored files, reports total/truncated, and shows one warning naming the project and the counts.
Fixes#6940
Co-authored-by: wildcatDownstairs <[email protected]>
JDT's selection-based definition can answer the functional interface method (Function.apply) for a method reference whose method is inherited. Go to Definition on a Java method reference now asks the app-owned JDT command openidea.java.methodReferenceDefinition (java-usages 1.20.1) for the AST method binding; Lombok accessors without a source range fall back to their field or declaring type. The bundled jar is reproducible from source (SHA-256 a111a935...); tests/method-reference.py checks the command against a real JDT LS.
Co-authored-by: wangyuewen-china <[email protected]>
The plugin's optional net:localhost permission is not ticked by default, and a missing Ollama model answers 404; both only reached the IDE log. Failed requests now show one warning that says why and what to do, and a new AI Completion: Set Model command (Set Endpoint URL also asks for its value from the palette). The host answers an empty list instead of "no server supports inline completion" when a plugin offers ghost text, so the editor keeps asking while typing.
Fixes#6930
Co-authored-by: wildcatDownstairs <[email protected]>
The e2e from #7003 imported the store by a literal /src path, which pnpm typecheck rejects (TS2307); it now imports through a variable typed as the store module.
An agent form (ACP elicitation, used by opencode for its questions) had no height limit, so a form with several fields pushed its last choices, its buttons and the composer out of view with nothing to scroll. FormCard now uses the pinned question card layout (at most half the window, scrolling within), and the pinned card shrinks when the session is shorter so the composer stays in view.
Fixes#6945
crates.io yanked async-executor 1.14.0 for a use-after-free when a Waker fires during Executor::drop (smol-rs/async-executor#164). Lock-only update to 1.14.1.
Co-authored-by: audichuang <[email protected]>
With delegateBuild on a Maven module, launches without jdtls (java-analyzer) used the language server classpath, which ignores child POM exclusions. They now merge the classpath Maven resolves, as the jdtls path does, and fall back to the server classpath when the probe fails.
Fixes#5586
Co-authored-by: arookieofc <[email protected]>
In a blobless partial clone rename detection needs a staged blob it cannot fetch (Restricted Mode sets GIT_NO_LAZY_FETCH, or the promisor is unreachable) and git status fails. Status retries once with --no-renames when git reports the promisor remote.
Co-authored-by: audichuang <[email protected]>
FileMoves::perform restored its pre-edit snapshots when the reference edits were rejected, overwriting a change another program wrote after the snapshot. apply_edit is transactional and leaves nothing behind on error, so a rejected edit is now returned without a restore; a failed move still rolls back the applied edits.
Co-authored-by: audichuang <[email protected]>
lldb-dap reports frames without debug info with a sourceReference and a pseudo path such as libswiftCore.dylib`swift_willThrow, which opened as a missing file. An absolute path that does not exist on a referenced source is dropped, so the stop selects the first frame with source.
Closes#6960
Co-authored-by: wildcatDownstairs <[email protected]>
On macOS the context-menu Paste in a Markdown editor called execCommand(paste), which shows the WebKit Paste callout. Images and copied image files are read through the backend instead; text takes the native path.
Co-authored-by: audichuang <[email protected]>
Single-click in the project tree opened files associated with an external application. Those now open on double-click only.
Co-authored-by: ffgenius <[email protected]>
JDT LS appends a space to annotation completions; it is dropped when nothing follows that needs a separator, so no trailing whitespace after @Override or space before the parenthesis.
Co-authored-by: Chris-young42 <[email protected]>
Tauri delivers channel messages over 8 KiB through an async fetch and holds later ones back, so output can arrive after the command result. Output and step events of the latest build are still applied after it finished, until another build takes the window.
Co-authored-by: audichuang <[email protected]>
With no height (a maximized tool window over the diff) the virtualizer rendered no range and unmounted the focused and unsaved blocks, saving an unsaved index edit. The view now reports at least 1 px and keeps the last measured block sizes while hidden.
Co-authored-by: audichuang <[email protected]>
A selected test node shows the output captured on that node, which Clear All did not touch. Clear All now drops captured test output as well; statuses and the tree stay.
Closes#6975
Co-authored-by: wildcatDownstairs <[email protected]>
The custom scrollbar observed only the scroller, whose size does not change when its content grows (a Markdown preview reflowing after a width change). It now also observes the scroller children, re-observing them when they are replaced.
Co-authored-by: audichuang <[email protected]>
Without a compilation database clangd leaves nested includes unresolved or answers with the call site itself. For C-family files an empty or self-only answer falls back to syntax and the project index (including identifiers in macro bodies), Go to Implementation from a header finds the source definition, and member access is never guessed by bare name.
Co-authored-by: sonnartliao <[email protected]>
Preview image data URLs were cached by path forever. The cache now drops entries on fsChanged and open Markdown and reStructuredText previews reload the affected images.
Co-authored-by: zhiai007 <[email protected]>
Library gutter markers asked jdtls for inheritors of every visible class, which on a JDK interface ran a full type hierarchy search and timed out. Library sources keep super-method markers but ask for no inheritors; Go to Implementation still answers.
Co-authored-by: wangyuewen-china <[email protected]>
The library-source mark lived only in memory, so a tab restored after a reload opened the same file editable. The editor session now saves the mark and restores it before the documents open.
Closes#6947
Co-authored-by: wildcatDownstairs <[email protected]>
Language servers publish errors for files they generate or read outside the project (sourcekit-lsp parse errors in its .swiftinterface). Library sources open read-only, so their diagnostics are dropped from the editor and the Problems view.
Closes#6943
Co-authored-by: wildcatDownstairs <[email protected]>
nightly.yml builds main at 18:00 UTC, when it has moved since the last
nightly, as v<next patch>-nightly.<date>: a tag on a commit over main that
only sets the version (scripts/nightly-prepare.ts), built and published by
release.yml, which can now be called with `nightly: true` (notes from the
previous nightly; no official plugins, CNB mirror or Homebrew cask).
Nightly apps update from the rolling `nightly` release, which holds the
newest nightly's latest.json, and skip the CNB mirror, which carries only
stable releases. Stable apps keep reading releases/latest, never a
prerelease. The MSI gets a numeric version (last release + run number),
and the newest 14 nightlies are kept.
file_dialog_needs_gtk and system_probe_hotkeys are trust = always on the desktop, but the web shell table still declared them Trusted, so commands::tests::web_shell_commands_match_the_desktop_declarations failed on every Rust job on main.
Published ports and the other list fields of a run target were stored only on blur, so OK pressed with Enter, or applying the settings while the field still had focus, dropped the edit. The list is now staged on every change; the text stays as typed while the field has focus.
The Add New Configuration type picker and the Edit Configurations Templates list showed each type's English label while the form showed the translation. Rows now carry the translated label, which the list also sorts and searches by.
A Switch Header/Source action (F10; Alt+O in the VS Code keymaps) opens the counterpart of the current C, C++, Objective-C or Objective-C++ file. It asks clangd with textDocument/switchSourceHeader (new lsp_switch_source_header, cancellable), so headers in include/ and sources in src/ are found; without clangd or an answer it opens a project file with the same stem and a counterpart extension, as Related Symbol does.
Closes#6927
Co-authored-by: wildcatDownstairs <[email protected]>
Co-authored-by: wildcatDownstairs <[email protected]>
Debug on a Node.js configuration or a .js / .ts file run whose run target is SSH, Docker or Compose now debugs the program there, extending the Python flow. A js-debug configuration starts node with --inspect-brk on a free port (0.0.0.0 inside the container, published on this machine's loopback only; the host's loopback over the existing SSH forward). The run prints the project folder on the target as a system line, which the frontend reads to map sources before attaching js-debug. tsx is refused for now (it hangs once js-debug attaches); other programs get an error naming the fix.
Closes#6901
Co-authored-by: wildcatDownstairs <[email protected]>
Co-authored-by: wildcatDownstairs <[email protected]>
Adds the managed tool typescript-styled-plugin (@styled/typescript-styled-plugin, pinned, hosted by vtsls). ide_sdk::apply::configure_styled adds it to vtsls' globalPlugins when it is installed and a package.json at, above or below the server root depends on styled-components or emotion; a tsconfig that declares the plugin keeps one copy. Opening a script that imports one of those libraries offers the install once per project and session. The bounded walk below the root is now shared with CSS Modules Kit.
Closes#6900
Co-authored-by: wildcatDownstairs <[email protected]>
Co-authored-by: wildcatDownstairs <[email protected]>
GitignoreStack::matcher_for read a directory's ignore files outside the cache lock and stored the matcher afterwards, so a watcher-thread lookup racing a command that rewrote .gitignore and invalidated could leave the older rules cached; the next listing then missed the new entry. Invalidations now bump a generation counter under the cache lock and a lookup stores its matcher only when none happened since it started reading. This made rpc::serves_projects_files_documents_search_and_runs fail intermittently on Windows.
Xcode run configurations only ran iOS apps on the Simulator. The run now reads the scheme's build settings without a destination and, when its first application supports macOS but not the iOS Simulator (or the Simulator field is macos), builds with -destination platform=macOS and execs the app's executable, so its output reaches the Run console and Stop's SIGINT reaches it; NSUnbufferedIO=YES is set as Xcode does. The destination choice is shared by Clean Build Folder, which now cleans a macOS app's build for the Mac too.
Closes#6907
Co-authored-by: wildcatDownstairs <[email protected]>
Co-authored-by: wildcatDownstairs <[email protected]>
Debug on a SwiftPM executable configuration launched lldb-dap on a hardcoded .build/debug/<product>, which misses -c release, --scratch-path / --build-path and the .build/out/Products layout of recent toolchains. The launch now carries a swiftpm key (product and the swift run build options), and ide-dap resolves program with swift build <options> --show-bin-path, like the cargo key. The Swift docs describe the SwiftPM run configurations and Debug.
Closes#6913
Co-authored-by: wildcatDownstairs <[email protected]>
Co-authored-by: wildcatDownstairs <[email protected]>
A table's EditorInput has no path, so the path-keyed file decorations that tint console tabs never reached it. Editor kinds can now supply tabTint, read next to tabTrailing and refreshed by notifyTabTintsChanged when a source's colour changes; the table kind answers with its source's colour, and the data view's toolbar carries it too. A selected tinted tab now shows the colour at full strength instead of mixing it with the selection background, and inactive tinted tabs are dimmed.
Closes#6915
Co-authored-by: junchangpeng <[email protected]>
Co-authored-by: junchangpeng <[email protected]>
The data view's toolbar gets a DDL button that opens the table's definition through the same openDdl the tree's Go to DDL uses, so checking an index or constraint no longer means leaving the rows. It is disabled while the DDL loads, for custom JDBC sources (no vendor DDL) and for catalog-qualified tables.
Closes#6910
Co-authored-by: junchangpeng <[email protected]>
Co-authored-by: junchangpeng <[email protected]>
prefs.ts re-exported GUTTER_ICON_GROUPS and GutterIconGroup from ./localAppearance, but their users import localAppearance directly, so pnpm knip failed on main since #6912.
Co-authored-by: wildcatDownstairs <[email protected]>
Co-authored-by: wildcatDownstairs <[email protected]>
Xcode projects had no way to clean a scheme's build or clear its DerivedData. Clean Build Folder runs xcodebuild clean in the Run tool window with the same flags as an xcode run. Delete DerivedData resolves the project's <Name>-<hash> folder from xcodebuild -showBuildSettings (never a guessed hash) plus the IDE's own run builds, asks, moves them to the Trash and restarts sourcekit-lsp. Both are in a new Build › Xcode submenu, Find Action and the .xcodeproj / .xcworkspace context menu; Flutter's and Xcode's build submenus now come from one dynamic_submenu table in both menu renderers.
Closes#6897
Co-authored-by: wildcatDownstairs <[email protected]>
Co-authored-by: wildcatDownstairs <[email protected]>
xcodebuild compiles only the files a target lists, so a source file created or renamed in the IDE inside a classic .xcodeproj group was silently left out of the build. After file operations in the IDE (one check per burst), an XcodeGen or Tuist project gets an offer to regenerate it, and a classic project without synchronized folders gets a warning naming the files project.pbxproj doesn't list, with Open in Xcode. Regenerate Xcode Project is also in Find Action and in the context menus of project.yml / Project.swift. Names are matched as whole file names, and file operations without source files skip the check.
Closes#6887
Co-authored-by: wildcatDownstairs <[email protected]>
Co-authored-by: wildcatDownstairs <[email protected]>
The Caches settings commands were trusted-only, so the welcome window could neither show the current location nor apply a custom directory, though the directory is an app-wide setting. Reading it now runs everywhere and changing it runs outside Restricted Mode. The Linux GTK file chooser and the global hotkey probe had the same gate and are now always allowed.
Fixes#6886
The signing keys and tokens are repository secrets, readable by any workflow on any branch, and secrets: inherit hands them all to the called release workflows. The jobs that read a secret other than GITHUB_TOKEN now name environment: release (plugins, plugin-keys, build, server-signatures, mirror, cask). secrets: inherit stays until the secrets move into the environment, so releases build and sign as before; the environment is created on first use with no rules. Refs #6701.
Co-authored-by: bertyhell <[email protected]>
runGutter, which the Language smoke loads, imported gutterIconsOn from cm/prefs, pulling about 40 editor modules into the smoke inputs and failing scripts/smoke-paths.test.ts on main. The gutter icon groups and the per-editor appearance override move to cm/localAppearance, which prefs re-exports; the gutter providers import it directly and language-smoke.yml lists the new file.
Since #6893 ide-tools depends on ide-http on macOS, so ide-http is an input of the Language smoke, but the Changes step still listed it as unused and scripts/smoke-paths.test.ts failed on main. Removes ide-http from that list.
Co-authored-by: audichuang <[email protected]>
Trackpad scrolling in the Markdown preview could leave a large part of it blank until the next scroll. The preview moves itself on each wheel event with scrollBy, and in WebKit a run of scrollBy calls can leave the compositor at an older, never-painted offset than the page's. Setting scrollTop/scrollLeft keeps them in step; the source editor's large wheel jumps and the diff divider's wheel did the same and now set offsets too.
A fenced code block overflowing by a pixel no longer counts as a vertical scroller, and a nested scroller keeps the wheel only while it can still move in that direction, so scrolling no longer stops over code blocks.
Debug on an Xcode run configuration builds and installs the app as Run does, launches it suspended on the iOS Simulator (simctl launch --wait-for-debugger) and attaches lldb-dap to its pid, so breakpoints in the app's Swift sources hit while its output stays in the Run console; stopping the debug session stops the run. simctl holds back its <bundle id>: <pid> line when stdout is a pipe, so the launch script prints it once the suspended process under the installed bundle appears. Detected and new Xcode configurations get debugAdapter lldb-dap. Closes#6885.
Co-authored-by: wildcatDownstairs <[email protected]>
Show Line Numbers, Show Whitespaces, Show Gutter Icons and Show Indent Guides can be toggled for the active editor without changing the global setting. Overrides live in each CodeMirror EditorState, so split panes on one document can differ and untouched editors keep following the settings; line numbers, whitespace marks, indent guides and gutter providers reconfigure through one appearance path, and a local Gutter Icons override can enable providers even when the global setting is off. The toggles are in View > Active Editor, with IdeaVim aliases and unbound keymap entries.
Co-authored-by: muutot <[email protected]>
Resolve Swift Packages and Update Swift Packages run swift package resolve / update in the Run tool window from the folder of Package.swift, like Go Mod Tidy, using the swiftpm run kind. They are in Find Action (category Swift) and on a single Package.swift in the Project view, editor and tab menus; when the run ends, run configurations and external libraries reload. sourcekit-lsp already reloads on Package.resolved changes through its file watcher, so no restart is added. Documented on the Swift page.
Co-authored-by: wildcatDownstairs <[email protected]>
Tool downloads run through the system curl, which in Auto proxy mode only got the manual macOS proxy from Matcher::from_system(), never the PAC script, so on a PAC-only network language-server installs went direct while the rest of the IDE followed the PAC.
Http::base now asks the same PacResolver the HTTP client uses (ide_http::system_pac_route, evaluated inline with the per-host cache) and passes its proxy to curl as --proxy; while the script loads or fails it answers with the manual proxy, as before. Linux and Windows build the same command as before.
Co-authored-by: audichuang <[email protected]>
cargo deny failed on RUSTSEC-2026-0620: curve25519-dalek 5.0.0, pulled in by ed25519-dalek for extension signature checks in ide-extension, has an AVX-512 backend bug in scalar multiplication. Our builds do not enable that backend; lock-only update to the fixed 5.1.0.
With Editor > General > Change font size with Ctrl/Command+Mouse Wheel enabled, Ctrl/Cmd+wheel over Quick Documentation changes the documentation font size. One persisted zoom (-6..36 px) is shared by the hover, the F1 popup and the Documentation tool window, and the focused Increase/Decrease/Reset Font Size actions go through the existing font-zoom surface registry. Only documentation typography scales; editor text, toolbar controls and popup scrolling are unchanged.
Co-authored-by: muutot <[email protected]>
A dirty buffer whose file another program deleted (git switch, git stash -u, a build clean) was written back by the next autosave, because check_disk_conflict only ran when fs::metadata succeeded.
A missing file (NotFound) now goes through the existing disk-conflict path: autosave refuses and the buffer stays dirty. DocDiskConflict carries deleted, so the notice says the file was deleted and offers no Load Changes from Disk; an explicit save recreates the file and clears the conflict.
Co-authored-by: audichuang <[email protected]>
When another program rewrote a clean open file in a different encoding or line ending, Documents::reload_from_disk re-detected and stored the new values but nothing sent them to the editor's DocMeta, so the status bar kept the old encoding and line separator until the tab was reopened; Load Changes from Disk had the same gap for the BOM.
Adds IdeEvent::DocEncoding (modelled on DocLanguage): both reload paths emit it through one helper only when the encoding, BOM or line ending changed, and the DocumentManager updates the meta.
Co-authored-by: audichuang <[email protected]>
Adds an English and Chinese guide under Guide > AI explaining how plugins, memory, MCP, tools and skills interact across an agent task, and what enters the LLM context window: plugin mcpTools reach the model through the built-in server's tools/list while plugin code stays out of the prompt. Linked from the Agents guide. The walkthrough video was left out to keep large binaries out of the repository.
Co-authored-by: dengliu <[email protected]>
The built-in openidea card in Settings > Agents > MCP Connections is now expandable like the other servers: it shows the tool count, status, stdio command and HTTP endpoint, lists the core and enabled plugin-contributed tools, and the search box filters them.
A read-only mcp_server_tools host command (trust = always) lists them through the same tools_for helper as Registry::tools, so Restricted Mode filtering and plugin tools match what agents see, while external server probing stays trusted-only. Tool descriptions are clamped to two lines with the full text in a tooltip.
Co-authored-by: dengliu <[email protected]>
WebKit enables PreferPageRenderingUpdatesNear60FPSEnabled by default, throttling rendering updates (requestAnimationFrame, scrolling, viewport updates) to about 60 Hz on ProMotion and other high-refresh displays. The webview configuration now disables it through the private feature API (_features, falling back to _experimentalFeatures on macOS 12.0-13.2), sharing one helper with the TextInputClientSelectionUpdatesEnabled workaround.
To keep frames within the shorter budget: the window-level wheel listener stays passive unless a wheel shortcut is bound (none by default), horizontalScrollHold skips unchanged writes, and the overview lane moves its thumb with a transform and folds the pass-through hit test into its measure pass.
Co-authored-by: w4terlaw <[email protected]>
When the review repository is not the VCS store's branch root, connectedBranch() reports upstream: null, so a change of that branch's upstream under the same HEAD (git branch -u, git push -u) never triggered a new pull request lookup.
For such a root each VCS refresh re-reads branch.<head>.remote/.merge and looks the pull request up again only when they differ from the last lookup; the change is recorded when read so a later reset also supersedes a late answer. The single-repository path is unchanged and no GitHub request is sent while the config is unchanged.
Co-authored-by: audichuang <[email protected]>
"Update Branch to Enable Review Mode..." ran gh pr checkout in connectedRoot() while the sync check and pull request lookup use reviewRoot() (#6622), so with a worktree or a second clone selected the update acted on another repository and could fail with "refusing to fetch into branch checked out at ...".
checkoutPullRequest takes an optional root (default connectedRoot(), so other callers keep theirs); updateReviewBranch captures reviewRoot() before the details reload so a selection change during the reload cannot move the checkout.
Co-authored-by: audichuang <[email protected]>
Update classes while debugging copies the compiled outputs into the exploded
deployment, then HotSwaps. When HotSwap could not apply the change (a new
class or method) it fell back to a redeploy, which explodes the recorded WAR
into the deployment again; that WAR predates the change, so the old classes
came back and classes added since were removed while the IDE reported
"Application updated". The WAR is now rebuilt before that redeploy.
Refs #6603
The auxiliary-window commands are async, so several requests for the same
window (Ctrl+Alt+S pressed quickly or held) could all pass the already-open
check before the first window registered; five parallel requests opened
five Settings windows for one project window. The window's creation is now
claimed before the check, and a request arriving during the build leaves
its launch for that window and returns.
Fixes#6630
Scrolled away from the end while a reply streams, the view jumped when rows
changed height (a reasoning folding once the next tool call arrives, a lone
call joining a folded run): WebKit has no scroll anchoring. Away from the
end, Stream now keeps the row at the top of the view in place after every
render, row resize and scroll; content that gets shorter below leaves blank
room (now an ::after spacer) instead of pulling the view down. Following
the end is unchanged.
An openidea.properties next to the executable (the AppImage file on Linux,
the folder holding OpenIDEA.app on macOS) sets the OPENIDEA_CONFIG_DIR,
OPENIDEA_DATA_DIR, OPENIDEA_LOCAL_DATA_DIR and OPENIDEA_LOG_DIR variables at
start, so a portable install needs no environment. Relative paths are taken
from the file's folder and the environment wins. Applied first thing in main
so every directory and child process sees the same locations.
Closes#6207Closes#6437
The test status bar only showed a duration from the runner's summary line.
JUnit runs through the IDE's runner report each test's time but no total,
so the bar showed none. TestResults.totalDurationMs() now falls back to the
tests' summed time; the status bar and the export share it.
The Spring route source scan kept every Java/Kotlin file containing
"Mapping" (MapStruct mappers, DTOs, @Mapping) and stopped at 1024 files.
In a large multi-module backend those filled the budget and, with the
parallel walk, which controllers survived varied between runs.
Only files naming a request mapping annotation and a controller or Feign
client are kept now (what the endpoint index reads), the caps are raised
to 8192 files / 128 MB, and hitting a cap is logged.
Adds Maximize Commit Message after Copy Revision Number in the Git Log and
File History commit menus and on the commit details toolbar. It opens a
resizable, scrollable dialog with the full message and metadata of every
selected commit (read-only commits included); disabled without a
selection.
Co-authored-by: muutot <[email protected]>
Adds the Git Log Refresh action (Vcs.Log.Refresh) for Git Log and File
History, bound to the Refresh shortcut (Ctrl+F5 on Windows/Linux, Cmd+R on
macOS) and scoped to the log so other bindings keep the key elsewhere. The
toolbar button and the action share one refresh path that keeps the current
log while reloading, invalidates commit-detail caches for the visible
repositories and is ignored while the log is already loading.
Co-authored-by: muutot <[email protected]>
Plugins can open a file in the built-in text editor even when a custom
editor claims it (workspace.editor open-as-text, SDK open_editor_as_text),
and commands can contribute to the Open In submenu (openIn menu location,
file as the argument, no submenus). Docs, versioning table and rebuilt
components included.
Fixes#6852Fixes#6853
Typing in a Navigation Bar child list (the floating Alt+Home bar and the status-bar breadcrumbs) filters its rows with fuzzy matching and highlights the matched characters; Backspace edits the query, Escape clears it before closing, and Enter opens the selected match. The query resets when the list moves to another folder or back to a parent.
The typed text shows in a row above the list, red when nothing matches, as in the project tree's speed search.
Co-authored-by: muutot <[email protected]>
Line-end hints (inline blame, line-end lenses, plugin messages) draw from a zero-width anchor: they widen the scroll range but not the content, and most leave on an edit and return a moment later. While one was away the range shrank and the browser clamped scrollLeft, so a horizontally scrolled editor jumped sideways on every keystroke.
A 1px spacer at the visible right edge, moved on every scroll and geometry change, keeps the range from shrinking under the view without adding scroll room. Covers every line-end hint, not only blame.
Fixes#6624
Adds Focus Text Filter (Vcs.Log.FocusTextFilter, Ctrl+L) to Git Log and File History: from the commit list it focuses the message filter, from inside the filters toolbar it returns to the commit list.
The action is ordered ahead of the Agents input (also Ctrl+L in the Windows keymap), which otherwise took the key whenever an agent task was on screen, and it leaves popups their own Ctrl+L. Eclipse keymaps share Go to Line's Ctrl+L with it; the title has a zh entry.
Co-authored-by: muutot <[email protected]>
- Resolve each symlink target through the other symlinks of the skill,
folding case, and reject trees that place entries beneath a symlink.
Installs create directories without following symlinks and re-check
every created link on disk before the skill is moved into place.
- Scan every form of an `allowed-tools` value (block scalars, flow and
block sequences, continuation lines, quoted keys, aliases, escapes)
for shell grants instead of only inline values and `-` lists.
- Install exactly the tree the preview showed: the request carries the
preview's tree SHA and the installer fetches that tree, so commits
pushed to the ref after review are not installed. Downloaded blobs
are checked against their Git object id.
Run launches already shorten long Java command lines, but Debug through java-analyzer sent the full classPaths list, and the Kotlin debuggee was spawned with java -cp and the whole classpath, so large JDK 8 Spring Boot projects on Windows failed with os error 206. java-analyzer launches now pack an oversized classpath into a temporary manifest-only pathing jar (works on JDK 8 and later), the Kotlin debuggee goes through the same shortening as Run, and the session removes its temporary files when it stops.
Fixes#4733
Co-authored-by: arookieofc <[email protected]>
Remote development fetched openidea-server from GitHub only, even when the app updates from the CNB mirror. The server now comes from the configured update source first, then the other host. Releases sign every server archive with the updater key in a dedicated server-signatures job, the only one given the key, and the app verifies the archive against the updater public key from tauri.conf.json, so a signed archive is trusted from either host. Releases without signatures keep the GitHub download checked against its .sha256. When a signature exists but no host serves a matching archive, the download fails instead of falling back to an unverified binary.
Fixes#6747
A goal typed or picked as prefix:goal (spring-javaformat:apply) reached mvn verbatim, and Maven only resolves prefixes of its default plugin groups when the plugin metadata is missing from the repositories, so plugins such as io.spring.javaformat failed with No plugin found for prefix. Goals whose prefix matches a plugin of the project's effective model (inherited plugins included) now run as groupId:artifactId[:version]:goal, keeping @execution; flags and their values, phases, full coordinates and unknown prefixes stay as typed. The configuration name keeps the prefix form.
Fixes#5570
Co-authored-by: arookieofc <[email protected]>
Plugin API 1.19 adds net.fetch-stream: it returns a response-stream once the headers arrive, and the body is read piece by piece with a timeout (read returns nothing with done=false when no bytes came in time). It applies the same grants, net:ask, secrets, body limit and redirect checks as fetch, which now shares the request builder; at most eight streams per plugin, closed on resource drop or plugin stop. The SDK adds host::fetch_stream, ResponseStream and an incremental text/event-stream parser (ResponseStream::events), with mock support; components are rebuilt for the new WIT.
Fixes#6844
The updater signing key and Apple credentials were exported job-wide through GITHUB_ENV, so every later step in the release build (dependency installs, third-party actions) could read them. They now reach only the steps that sign: a signed tauri-action build when the updater key is configured (an unsigned build otherwise, since an empty key still counts as set), DMG notarization, and the portable zip. All third-party actions across the workflows are pinned to commit SHAs with their release in a comment, and Dependabot keeps the github-actions ecosystem current with weekly grouped updates.
Refs #6142, #6701
Co-authored-by: rohitdanda <[email protected]>
#6834 made Project Structure › Artifacts editable when the project has no Maven or Gradle build; the settings spec still expected a disabled JAR button. It now checks the button is enabled and the Maven/Gradle note is absent.
The chooser appeared whenever listing simulators failed, so Restricted Mode windows, hosts without the command and the browser e2e harness showed "Simulators unavailable" in every project's toolbar (breaking the toolbar layout e2e specs on main). A failure is now shown only after a listing has confirmed an Xcode project; later refresh failures still appear in the chooser.
Adds Settings › Agents › Memory and a Session Memory picker (/memory, /memories, the composer + menu and the context meter link). They list each agent's own instruction files, path-scoped rules and auto-memory notes: AGENTS.md, CLAUDE.md and .claude/rules, .github/copilot-instructions.md and .github/instructions, .cursor/rules, GEMINI.md, and the Claude Code, Codex and Hermes auto-memory folders.
Per-file modes (Auto / Always / Off) and the auto-memory policy (Inherit / Read & Write / Read Only / Off) are stored in settings.toml at user or workspace scope and never edit tracked files. Workspace entries load only in trusted projects. Each driver receives the policy natively: Claude Code through --settings and --add-dir, Codex through its memories config and /memories, GitHub Copilot through excludedTools and the system message, and Hermes through config.yaml. A file set to Always is staged into other agents' sessions. Auto-memory notes can be promoted into the workspace AGENTS.md, and an idle session restarts when a memory policy changes.
Groups of the same agent are titled by scope, for example Claude Code (User) and Claude Code (Auto Memory).
Closes#6810
Co-authored-by: dengliu <[email protected]>
List headers in the Bookmarks popup are now selectable rows; F2 on one opens the list name dialog, while file section rows stay non-selectable and are skipped by the keyboard. The popup claims F2 while its list is focused so the global Rename File shortcut does not take it.
Co-authored-by: muutot <[email protected]>
The Rust job's Maven cache only held what resources:resources and compiler:compile resolve,
so the Java launch and rebuild tests on GitHub-hosted runners missed artifacts (#6561).
The preparation step now also runs clean and fetches slf4j-api 1.7.36 with
maven-dependency-plugin 3.8.1 (both pinned, from Maven Central), and the cache key gets a
v2 prefix so the incomplete caches are not restored.
Co-authored-by: principalwater <[email protected]>
A Windows run on main that ended in a test failure skipped the Rust cache save, so the next PR
compiled every dependency again (about 19 minutes of Clippy plus 30 of test binaries) and ran out
of the 60-minute limit partway through the tests.
- rust-cache in the Rust job saves on failure too; still only on main, PRs and forks restore.
- The Windows Rust job gets 75 minutes; macOS and Linux stay at 60.
Refs #6496
The TypeScript job in Language smoke now also runs typescript_project_errors (Problems ›
TypeScript Project Errors against the global tsc the job installs) and typescript_import_style
(the import style settings through real vtsls). Both smokes came with #6097 and #6342 but were
not run in CI yet.
The built-in MCP server gets xdebug_* tools: debugger status, start a session for a run configuration or run point, control it (resume, pause, step, wait for pause, stop), list/set/remove breakpoints, run to line, threads, stack, frame values, values by path, evaluate and set variable. Breakpoints go through the window's editor model, so they show in the gutter, persist and are the list the user sees; sessions start through the IDE's Debug action with its before-launch tasks. Mutating tools are marked write for the trust gate.
Co-authored-by: akbar1214 <[email protected]>
A failed reopen of a repository never updated the cache stamp, so every gix() call reopened it again and logged a warning, and status fell back to running git in a worktree folder that no longer existed (os error 267 on Windows). The stamp is now updated on failure too, and a repository whose worktree or git directory is missing is skipped by status, ignored-files and path status, logged once, and picked up again when both directories are back.
Fixes#5514
Co-authored-by: arookieofc <[email protected]>
append_body returned on a body error before flushing the tokio File, whose writes run on a
background thread, so a resume could measure the partial file shorter than the bytes already
received (the Linux CI flake in a_broken_download_resumes_with_range). The error is now held
until the file is flushed; the success path and signature checks are unchanged.
Search Everywhere's Text tab gets Match Case, Words and Regex toggles (Alt+C / Alt+W / Alt+X). They use Find in Files' option store, so both entry points send the same search flags, and the choices are persisted across restarts.
Co-authored-by: muutot <[email protected]>
Select Line at Caret dropped the line where a selection ended at column 0 and kept a backward selection's direction, so invoking it again selected the same lines. It now covers every line the selection touches, including the one it ends at the start of, and leaves the caret at the selection end, so repeated calls extend line by line. Folded lines and multiple carets work as before.
Co-authored-by: muutot <[email protected]>
reload_from_disk treated a file that now loads as binary like a document opened as binary: it refreshed the disk stamp without a disk-change report, so autosave wrote the next edit over the binary file. A detected-encoding buffer now gets the disk conflict too. Reopening a file whose closed tab kept unsaved changes shows that buffer as text instead of a binary viewer that hid what Save would write. A clean buffer gets its own disk-change wording.
Co-authored-by: audichuang <[email protected]>
Xcode run and test configurations now publish the compiler and linker messages in their xcodebuild output to Problems and the editor as they arrive. A Format::Xcode on top of the GCC/Clang line parser folds in notes, project-level lines and Undefined symbols blocks; XcodebuildMessages resolves positions, maps symlinked paths back to the project, reports each message once across architectures and stops at the build result. A new run clears the files its previous run reported; messages without a location go on the project file.
Closes#6842
Co-authored-by: wildcatDownstairs <[email protected]>
Advertise window/showDocument support. An existing file: URI becomes an LspShowDocument event that the frontend opens through openCodeLocation with the requested selection and focus; external http/https/mailto links open in the browser. Anything else answers success: false. This makes sourcekit-lsp's Expand Macro and Inline Macro code actions work.
Closes#6845
Co-authored-by: wildcatDownstairs <[email protected]>
Running, busy and starting servers get a Stop button next to Restart in the language server popup. LspManager::stop shuts the instance down and leaves it idle, so it starts again when a file it serves is opened; a notification says it will restart when needed. Adds the lsp_stop command.
Fixes#6835
The button sits left of the line's first non-space character, over the indent or the gutter, but the hover area started at the text and ended four characters in: moving the pointer to the button left the area and hid it before it could be clicked. The area now includes the gutter, and while the button is shown it reaches the button's right edge on that line.
Fixes#6832
Another application taking the primary selection makes WebKitGTK clear the page's selection. An editor in an inactive window is still the active element, so CodeMirror wrote its selection back and claimed the primary selection again: terminals and other X11 apps could not keep a selection while an OpenIDEA editor had one. On Linux the editor now accepts the cleared selection while its window is inactive, keeping its carets.
Fixes#6309
Adds Project Structure… to the title bar gear menu (before Settings) and Open Module Settings to the Project view context menu (below Compare With, above Mark Directory as). Open Module Settings is offered on the project folder, Maven / Gradle / Project Structure module folders and sources / resources roots; it opens Project Structure › Modules with the innermost module holding the path selected, and F4 / Cmd+Down on a module folder opens it too. The action uses a new project-structure icon.
Artifacts in Project Structure are now editable when the project has no build tool, since the IDE builds and deploys them itself; with Maven or Gradle the page stays read-only with a note. The Tomcat run configuration's "No artifacts configured" Fix opens Project Structure › Artifacts and the deployment list refreshes when artifacts change.
Refs #404
Co-authored-by: wildcatDownstairs <[email protected]>
The built-in python.toml starts debugpy's adapter with a bare python3. On Windows that name (and often python) resolves to an App Execution Alias in %LOCALAPPDATA%\Microsoft\WindowsApps, which fails to start unless the Store's Python is installed, so a Python Debug Server reported failed to start ...\WindowsApps\python3.exe even with Python installed and on PATH.
The adapter now takes every match on PATH of the command, then python, then the py launcher, and uses the first that is no alias or one that runs, as the IDE already does when it installs Python tools.
Fixes#6818
[capabilities.reasons] lets a plugin say in one sentence why it asks for a declared capability. The permission dialog and the plugin's details in Settings › Plugins show it below the IDE's own description, marked as the plugin's words and never instead of it; it is translated through the plugin's locales/<tag>.json. Keys must be capabilities under required or optional; reasons are 1-500 characters.
settings.open(page) opens Settings at the plugin's node or one of its declared pages, and settings.open-permissions at its permissions in Settings › Plugins (plugins#permissions:<id>, so it also reaches a separate Settings window), letting a notice take the user straight there. Both work only from a command or event of a window; an undeclared page is not-found.
Plugin API 1.19.0: WIT package, engine, SDK wrappers and mock, rebuilt components; 1.18 is recorded as shipped with 0.1.54. The settings-pages fixture exercises both additions.
Refs #6745
2026-11-29 18:24:29 +08:00
2354 змінених файлів з 224059 додано та 15731 видалено
description:Prepare and open an OpenIDEA pull request that a maintainer can accept from its description — scope check, the checks CI runs, evidence chosen by the kind of change, UX consistency review, and a filled-in template. Use before opening or updating a PR ("提 pr", "open a PR", "写 PR 描述", "准备验收证据").
---
# Open a pull request with evidence
A reviewer should be able to accept the PR from its description: what changed, why, and proof
that it works and didn't break its neighbours. Evidence is the part people skip; it is required.
## 1. Scope
- One problem per PR. If the description needs more than 2–4 sentences, split it.
-`Closes #<n>` when it resolves an issue. Read the issue's comments first: a maintainer may
already have decided how it should behave.
- The diff contains only what the problem needs: no drive-by refactors, formatting of untouched
files, generated files you didn't need to regenerate, or local IDE state (`.openidea/`).
- A product decision you can't make (layout or navigation restructure, a changed default, an
unclear expected behaviour) → ask in the issue, label `needs-decision`, stop.
- Title in Conventional Commits, written as the commit you want on `main`:
`fix(editor): keep the caret visible after folding`. It describes the change, not the
process; no references to screenshots, other products or "parity".
## 2. Checks
Run what CI runs for the parts you touched (`AGENTS.md` § Before opening a PR). Run long checks
one at a time. Paste the command and its result line (`test result: ok. 412 passed`,
| Bug fix | A test that fails on `main` and passes on the branch (name it), or exact steps from a fresh start with the before/after result |
| Visible UI | `before.png` / `after.png` at the same state and window size. Every theme the change touches (at least Islands Light and Islands Dark when colours, borders or icons change). The narrow case when width matters |
| Interaction: multi-step, drag and drop, keyboard, focus, animation | A short recording (GIF/MP4), or numbered screenshots of each step |
| Keyboard shortcut or action | Where it appears (Find Action, menu, keymap settings) and that it doesn't clash in the default keymaps |
| Code intelligence / language support | Which `fixtures/` project, `cargo test -p ide-host --test language_smoke -- --ignored --exact <language>` output; for Java, `pnpm eval --only <id>` numbers before/after |
| Run / debug | `pnpm smoke smoke/run.test.ts -t <language>` or `smoke/debug.test.ts`, plus a screenshot of the Run/Debug tool window |
| Performance | Before/after numbers on the same machine and build type (`pnpm perf`, `pnpm perf:rust`, or the exact measurement), and evidence the results are identical: a fast path must return the same results or fall back |
| Windows / Linux only | The platform's CI job, and a screenshot or log from a real machine. Say plainly if you couldn't run it on that platform |
| Backend / IPC | Test output; logs for behaviour tests can't reach |
| Remote development / containers / WSL | The flow against a real `openidea-server` host or container, with a screenshot or log |
| Plugin API / `wit/` | A sample plugin exercising the change, and the rebuilt `dist/` |
| Settings / persisted data / migrations | Start from data written by the previous release and show it still loads and behaves the same |
| Security fix | A test for the attack case. Describe the class of problem only; follow `SECURITY.md` for anything not yet public |
| Copy, docs, pure refactor | The commands run, and "No visible change" / "no behaviour change" stated |
Also state what else the change could affect (other languages, platforms, entry points such as
menu / context menu / shortcut, other themes) and how you checked each.
How to capture:
- Use the `verify` skill to drive the app and take screenshots. Before: on `main` (or with the
fix reverted). After: on the branch, same state and window size.
- Crop to the relevant area when the window is large, but keep enough context to locate it.
- Drag screenshots and recordings into the PR description on GitHub. Never commit them.
- No real credentials, tokens, private repository names or personal paths in screenshots or logs.
## 4. UX consistency
For any change users can see, review it against `DESIGN.md`, `PRODUCT.md` and
`docs/en/contribute/guidelines/ui.mdx` before taking the "after" screenshots:
- Tokens only; spacing on the `--space-*` scale; icons from `src/ui/icons.tsx`; no emoji.
- Built from `src/ui/` primitives and workbench contributions; it looks like its neighbours
(same row height, font size, padding, hover/selection, empty state) rather than new.
- Same action, same name, place and shortcut as elsewhere in the IDE.
# Pushed with GITHUB_TOKEN, the tag does not start release.yml: the job below calls it.
git push origin "refs/tags/v$version"
echo "tag=v$version" >> "$GITHUB_OUTPUT"
release:
needs:prepare
if:needs.prepare.outputs.tag != ''
permissions:
contents:write
uses:./.github/workflows/release.yml
with:
tag:${{ needs.prepare.outputs.tag }}
nightly:true
secrets:inherit
# Points the nightly channel at the new nightly and drops the old ones.
channel:
needs:[prepare, release]
permissions:
contents:write
runs-on:ubuntu-latest
env:
GH_TOKEN:${{ secrets.GITHUB_TOKEN }}
GH_REPO:${{ github.repository }}
TAG:${{ needs.prepare.outputs.tag }}
steps:
- name:Nightly manifest
run:|
if ! gh release download "$TAG" -p latest.json -D "$RUNNER_TEMP/manifest"; then
echo "::warning::$TAG has no latest.json (unsigned build): the nightly channel stays where it was"
exit 0
fi
notes="The update channel of the [nightly builds](https://github.com/$GH_REPO/releases?q=nightly&expanded=true): its latest.json is the newest nightly's, [$TAG](https://github.com/$GH_REPO/releases/tag/$TAG)."
problems.push(`This PR changes UI files (${shown}). Add before/after screenshots, or a recording for interactions, to **How it was verified**; if nothing users see changed, write "No visible change" and say what you checked.`);
| Performance | Before/after numbers on the same machine (`pnpm perf`, `pnpm perf:rust` or a stated measurement), plus proof the results are unchanged |
| Windows / Linux only | The platform's CI job, and a screenshot or log from a real machine |
| Backend / IPC | Test output; regenerated `src/bindings.ts` when types changed |
| Remote development | The flow against a real `openidea-server` host |
| Plugin API / `wit/` | `plugins/build.sh` run and `dist/` committed; a sample plugin using the change |
| Settings / persisted data | Behaviour when starting from data written by the previous version |
| Copy, docs, refactor | The commands run; "No visible change" when nothing users see changed |
Attach screenshots and recordings to the PR description; never commit them. The `pr` skill
has the full checklist.
## Skills
Shared agent skills live in `.agents/skills/` (`.claude/skills/` links to them):
`pr` prepares a pull request — checks to run, evidence for the kind of change, description;
`verify` drives the running app through Tauri MCP and captures screenshot evidence.
## Commands
- Optional: `mise install` provisions the contributor toolchain; `mise tasks` lists the task aliases.
See [Development setup](docs/en/contribute/setup.mdx). The direct commands below still work without mise.
-`pnpm tauri dev` — run the app with worktree isolation. Use Node 22.22.2 or later on the 22.x line.
`pnpm dev:app` also enables the global Tauri API. `pnpm dev:status` reports
this worktree's running MCP bridges and actual ports.
-`pnpm build` — typecheck + bundle frontend.
-`pnpm dogfood:local [--build-only]` (or `mise run dogfood:local`) — build and locally install the grey-icon dogfood desktop app sharing release settings and data.
-`pnpm dogfood:remote <remote_name> [--restart | --no-restart] [--clean]` (or `mise run dogfood:remote <remote_name>`) — sync backend sources to a host from **Tools › SSH Configurations**, build `openidea-server`, and stage it for Remote Development.
-`pnpm dogfood:all <remote_name> [--restart | --no-restart]` (or `mise run dogfood:all <remote_name>`) — run `dogfood:local` and `dogfood:remote <remote_name>` in parallel.
- Changes to what users see follow [DESIGN.md](DESIGN.md) and the existing UI: tokens,
`src/ui/` primitives, both themes, keyboard access. Restructuring a layout or navigation
needs a maintainer's decision first.
- If a change needs a product decision you can't make, ask in the issue and stop
rather than guessing.
@@ -35,4 +41,4 @@ and the plugin API. Community plugins live in their authors' repositories and
are listed through [l0ng-ai/openidea-plugins](https://github.com/l0ng-ai/openidea-plugins);
see [`plugins/README.md`](plugins/README.md) § 8.1.
A check on each PR adds `needs-info` when the verification section is missing, and removes it once it's filled in.
A check on each PR adds `needs-info` when the verification section is missing, or when the PR changes UI files and the section has neither a screenshot nor a recording nor "No visible change". It removes the label once that's fixed.
/// Rust `impl Trait for Type`: the trait's name in the header (its last path segment, where go-to-definition lands), from the syntax tree.
#[serde(default)]
#[specta(optional)]
pubimplements: Option<Range>,
/// Rust `impl [Trait for] Type`: the implementing type's name (its last path segment), from the syntax tree.
#[serde(default)]
#[specta(optional)]
pubself_type: Option<Range>,
}
/// Fuzzy-match highlight: indices (in chars of the displayed string) that matched.
Loaded 100 of 2354 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Заблокувати користувача
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.