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]>