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]>
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]>
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]>
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]>
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".
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]>
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]>
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]>
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]>
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
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 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]>
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]>
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]>
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]>
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 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]>
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]>
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]>
* 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]>
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]>
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
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
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]>
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]>
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
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]>
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]>
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]>
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]>
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]>
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]>
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]>
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]>