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.