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