New Project accepted the name of a folder that already exists and has files, and only reported "already exists and is not empty" in the progress view after Create. It now checks as the name or location changes: the name field and its hint turn red and Create is disabled. Until the user types a name, it follows the first free `untitled`, `untitled1`, … in the location.
The location always started at the home folder (unless Default Project Directory was set). It now starts where the last project was created; the Default Project Directory setting still comes first.
The check is the one `scaffold_create` already did, moved into `ide_scaffold::target_taken` and exposed with `free_name` as `scaffold_target_taken` / `scaffold_free_name`.
Markdown can display the editor above its live preview so both use the full width of a narrow editor group. Choose Side by side or Stacked under Preview layout in Markdown settings. Each layout remembers its own divider position, and existing side-by-side sizes are restored when switching back.
Remote Development was hidden in the welcome page's More Actions menu, with the same folder icon as Open; New File used the same plus as New Project. Remote Development is now a header button next to Clone Repository with a new server icon, and New File has a new page-with-plus icon (both icons apply wherever these actions appear). Header buttons no longer cap their width, which cut "Remote Development" to "Remote Develo…"; they collapse to icons below 740px.
The Remote Development dialog's rows ended at different edges because Configure… is wider than Browse. The form is now a two-column grid: fields share the first column and side buttons the second, and its horizontal padding matches the dialog footer, so fields, side buttons and Cancel / Open line up.
A long file name in a single-row editor split could push the selected tab's close button outside the visible strip. Single-row tabs now constrain the label to the available width and keep the close button beside the shortened name. The hidden tabs picker still opens tabs outside the visible strip.
Right-clicking the annotation gutter showed Show Commit in Git Log first and Close Annotations last, below Options. The menu now starts with Close Annotations, then Show Diff and Copy Revision Number; after a separator come the revision actions (Annotate at Revision…, Annotate Previous Revision, Show Commit in Git Log, Ignore This Commit), and Options is last. On an uncommitted line the menu is Close Annotations, Options.
A long terminal session name could take more space than its tab strip and push the close button out of view. Each tab now fits the available width, with an ellipsis for long labels and the full name on hover. New Tab and the terminal options sit next to the strip, and the tab picker handles sessions that overflow.
File refactoring previews give each file a distinct header with its directory and occurrence count. Each code excerpt starts near the changed text and can wrap in a narrow window. The reference count and confirmation buttons stay visible as the list scrolls, and excluded files have a struck-through file name.
The plugin details page groups version, downloads, author, categories and the ID / homepage / mail / signer fields so they are easier to scan, with translated labels. The Welcome sidebar uses a larger logo and full-width navigation rows; danger menu items tint their icons.
Co-authored-by: laot7490 <70145288+laot7490@users.noreply.github.com>
The count on a Database tree row opens a searchable chooser for what that row shows, without opening Data Source Properties: PostgreSQL source rows choose databases and database rows choose schemas (each database inherits the source rules until overridden, stored as schemasByDatabase); ClickHouse keeps a flat database list. A visibility-only save updates the rules against the latest saved file and keeps the connection and loaded metadata, while wildcard rules and names the server did not return are preserved.
Closes#4781
Co-authored-by: principalwater <67874880+principalwater@users.noreply.github.com>
The General tab of a named database preset lists its built-in driver and the local JDBC profiles associated with that preset, so a local driver no longer requires switching the type to Custom JDBC; the type and tree icon stay. Manage Drivers and Go to Driver open the profile manager scoped to that type. A connection refuses a profile associated with another preset, and a JDBC password is kept apart from a Snowflake key-pair passphrase when switching transports.
Closes#4564
Co-authored-by: principalwater <67874880+principalwater@users.noreply.github.com>
Adds a Diff & Merge page to Color Scheme with the four change types (Changed, Conflict, Deleted, Inserted: line background and error stripe mark) and the folded unchanged fragments wave. Each attribute edits the --diff-* tokens the diff viewer paints, with a live preview, and IntelliJ scheme import maps DIFF_* keys and DIFF_SEPARATOR_WAVE onto them. The theme template and token reference list the new wave token.
Co-authored-by: muutot <92625353+muutot@users.noreply.github.com>
The MCP and Skills pickers in the composer share one SessionPicker for the trigger, popup header, filter, footer and row parts, and one CSS module; each picker supplies only its data and labels. The trigger's product name is passed as `brand` and shown as written, as before.
Co-authored-by: Mr0Bread <55754540+Mr0Bread@users.noreply.github.com>
The rules the MCP Servers and Skills settings pages had in common move into SettingsPage.module.css; each page keeps only its own rules. No visual change.
Co-authored-by: Mr0Bread <55754540+Mr0Bread@users.noreply.github.com>
GitHub and GitLab item URLs are matched through one route table, and tool output (JSON metadata and links) is ingested by one helper for both the gh-create and plain tool paths. Classification results are unchanged.
Co-authored-by: Mr0Bread <55754540+Mr0Bread@users.noreply.github.com>
Features import navigation/related provider registration and the offset/position helpers from `@/editor/api` instead of reaching into editor internals. No behaviour change.
Co-authored-by: Mr0Bread <55754540+Mr0Bread@users.noreply.github.com>
The left and right paths of Compare Directories are editable fields with a folder chooser beside each, as in IDEA. Enter, leaving the field or picking a folder compares the new pair, opened as its own tab in place of the current one; a path that isn't a folder, or the same folder on both sides, is refused with a message. The layout e2e test follows the editable fields and per-row synchronisation.
Closes#3925
Co-authored-by: wildcatDownstairs <26499420+wildcatDownstairs@users.noreply.github.com>
Each Compare Directories row carries IDEA's synchronisation operation in the marker column: copy to the right, copy to the left, delete (one-sided entries) or do nothing; Space or a click cycles it. Synchronize Selected and Synchronize All run the operations as one batch after a single confirmation counting deletions and overwrites. The new fs_synchronize_directories command validates every path, runs the operations on the blocking pool through the existing copy/merge and delete paths (Local History, VCS delete hooks), continues past failures and returns them; cancelling stops before the next entry. The per-row operations replace the single-entry Copy to Left / Copy to Right / Delete buttons.
Refs #3925
Co-authored-by: wildcatDownstairs <26499420+wildcatDownstairs@users.noreply.github.com>
A folder inside an attached project now has Mark Directory as › Excluded (and Cancel Exclusion), written to that project's own .openidea settings so it also applies when the project is opened alone. New commands project_workspace_members and project_workspace_member_set (projectStructure.* keys of attached projects only); the existing markFolder logic computes the change. Other roles stay out of the menu for attached projects until their source and test roots are applied.
Closes#4712
Co-authored-by: wildcatDownstairs <26499420+wildcatDownstairs@users.noreply.github.com>
Compare Directories gets IDEA's Compare by selector: Binary content (default), Text, Size, and Size and timestamp. Text decodes both files with the editor's encoding detection and ignores line separators (files over 5 MiB or binary ones fall back to bytes); Size and timestamp allows 2 s of skew. The choice is remembered.
Refs #3925
Co-authored-by: wildcatDownstairs <26499420+wildcatDownstairs@users.noreply.github.com>
With Delegate IDE build/run actions to Maven, starting several Java configurations together (a Compound, or several Services rows) ran one mvn -pl <module> -am compile plus one classpath probe per configuration, one after another, rebuilding shared upstream modules each time. A launch's Maven run now also builds the modules of the launches still waiting for theirs (same reactor, scope, incremental policy and delegation) as one -pl a,b,c -am run with one classpath probe; the waiting launches reuse the recorded snapshots and classpaths. A member with JDT errors makes it a clean compile; if the shared build fails, none start and each console shows the failure. A lone launch builds as before.
Refs #3971
Co-authored-by: wildcatDownstairs <26499420+wildcatDownstairs@users.noreply.github.com>
In a workspace with attached projects, the primary project's excluded folders were applied relative to every root (excluding gen in the primary also hid gen in each attached project), while an attached project's own exclusions were ignored. Each workspace project now keeps its own excluded folders, read from its Project Structure settings and build files, and one per-root lookup (exclude_globs_in / search_excludes_in / root_of) gives the index, file watchers, Find in Files, the Project view, the Cucumber/Spring scans and the MCP file tools that root's set. A workspace folder (container) still applies its excluded folders in every member.
Co-authored-by: wildcatDownstairs <26499420+wildcatDownstairs@users.noreply.github.com>
The Kotlin page gets Identifiers › Extension function call, Package-level function call and Classes › Enum entry, as IntelliJ's Kotlin page has. Calls on an explicit receiver to top-level functions are extension calls, without one package-level calls; enum entries no longer take Constant. Each falls back to its parent until set; .icls KOTLIN_* keys fill them.
Closes#4059
Co-authored-by: wildcatDownstairs <26499420+wildcatDownstairs@users.noreply.github.com>
Language Defaults and each language page get Identifiers › Predefined type and Predefined function next to Predefined symbol, and Literal keyword next to Keyword. The new entries show their parent until set, so existing overrides keep applying. true / false / null in the clike modes (Kotlin, Scala, Dart, Groovy, C#) are bool / null tokens taking Literal keyword instead of Constant.
Co-authored-by: wildcatDownstairs <26499420+wildcatDownstairs@users.noreply.github.com>
Settings › Editor › Color Scheme gets a JavaScript and TypeScript page as in WebStorm, with Decorator and Identifiers › Global variable / Global function. A decorator's whole name takes the Decorator colour (tsserver reports it as a class), from the syntax tree before the server answers; non-local variables and functions take the global entries, library symbols stay Predefined symbol. .icls TS.* / JS.* keys land on the new page.
Co-authored-by: wildcatDownstairs <26499420+wildcatDownstairs@users.noreply.github.com>
The open AskUserQuestion card was pinned above the composer: with several options it covered the conversation (max 50vh, its own scroll), and in a short conversation it floated away from its messages. The card now renders in the conversation at the asking entry and scrolls with it; picking an option on a single-select question moves on to the next one. Permission forms and questions that outlive their turn still wait above the composer at the composer's width.
Closes#5033
Co-authored-by: panda-student <71381346+panda-student@users.noreply.github.com>
Markdown Preview Only still showed the code breadcrumbs (the heading at the caret) under the rendered preview. A text editor wrapper can now report that it hides the source editor (useSourceHidden); the editor pane then drops that tab's code breadcrumbs. Markdown does so in Preview Only and keeps its heading breadcrumbs while the source is shown.
Co-authored-by: faysou <893862+faysou@users.noreply.github.com>
Each preview scroll frame read offsetTop of every block to find the line at the top. The preview now indexes its blocks when the HTML changes and binary-searches them, reading offsets lazily from the live layout so reflows (zoom, images, diagrams) still count.
Co-authored-by: faysou <893862+faysou@users.noreply.github.com>
The Markdown preview showed footnote references as raw text. A marked extension renders references as bracketed superscript links and collects (multi-line) definitions after the document body in citation order, each with return links to its citations; unresolved references and code spans stay literal.
Co-authored-by: faysou <893862+faysou@users.noreply.github.com>
Typing ; while only closing parentheses follow the caret puts it after the last ), as IntelliJ IDEA's editor.move.semicolon.after.paren does (on by default). It applies in languages that end statements with ;, and not in strings, comments, control statement heads (for, if, try-with-resources, …), declarations, annotations, or when the statement continues on the next line. Settings › Editor › General › Smart Keys has an option to turn it off.
Closes#4936
Co-authored-by: wildcatDownstairs <26499420+wildcatDownstairs@users.noreply.github.com>
Linked worktrees share one repository's branches, but the branch popup and the Git Log Branches pane listed each checkout as its own repository. vcs_roots now reports each root's branch_root (the main worktree of its common Git directory), and both views group checkouts by it while the Paths filter still scopes the log to the selected checkout. The branch menus also offer New Worktree from '<branch>'…, which preselects the branch, requires a new branch when it is already checked out, and opens the worktree in a new window.
Co-authored-by: faysou <893862+faysou@users.noreply.github.com>
The JavaScript page still said there was no ESLint integration, no browser debugging and no Bun debugging, and the GitHub page said files couldn't be opened on GitHub or linked. Document the ESLint server, the JavaScript Debug configuration, bun-dap, Open In / Copy Path/Reference… for GitHub, GitLab and Bitbucket remotes, and the TypeScript inlay hints, in English and Chinese.
vscode-json-language-server validates nothing unless json.validate.enable is set, so even a file's own $schema was ignored. JSON and JSONC now enable validation and map package.json, tsconfig/jsconfig, ESLint, Prettier, Babel, Lerna, Turborepo, SWC and Composer configs to their published schemas.
Both servers produce no inlay hints unless their inlayHints settings ask for them, and no language config set any. TS, TSX, JS, JSX and Vue's vtsls now enable parameter names at literal arguments, inferred variable types and enum member values; Editor › Inlay Hints still decides which kinds are shown.
Add mise.toml pinning Rust (with rustfmt and clippy), Node.js and pnpm, plus six tasks (setup, dev, dev:app, build, test, check) that call the existing pnpm scripts and Cargo commands, so the worktree-aware launcher is unchanged and contributors can still work without mise. Document the optional workflow in both setup guides and AGENTS.md, and raise the documented Node minimum to 22.22.2, which the locked jsdom requires on the 22.x line.
Closes#4941
Co-authored-by: dengliu <5108773+dengliu@users.noreply.github.com>
Language smoke's path filters missed inputs the smoke actually loads (src/workbench, src/ui, src/bindings.ts, editor LSP modules, vite/tsconfig, pnpm-workspace, patches, build-tools) and the crates ide-host pulls in directly (ide-search, ide-streams), so changes there skipped the smoke. Add them to the workflow paths and the Changes step patterns, and add scripts/smoke-paths.ts with a test that derives the smoke's inputs from the frontend import closure and cargo metadata and fails when the workflow misses one. CI's frontend filter now also runs on crate manifest changes, which the test reads.
Co-authored-by: Mr0Bread <55754540+Mr0Bread@users.noreply.github.com>
The workbench CSP had no base-uri or form-action, so injected markup could add a <base> element to retarget relative URLs or post a form to any origin. Add base-uri 'self' and form-action 'none'; the workbench never uses <base> and every form handles submit in script. The plugin view CSP already sets form-action 'none'.
Co-authored-by: ntbang0901 <121003585+ntbang0901@users.noreply.github.com>
In a narrow composer the toolbar's first item was capped at 110px, meant for the New Task agent picker. A chat's composer has no agent picker, so the cap fell on the model control and squeezed the model name to "G…" next to its settings chip while the row had room to spare. The agent picker already shows only its icon and doesn't grow, so the cap is removed.
The composer's model controls had three ways into the same settings: a "High" detail next to the model chip with a half divider and no chevron, a "Low ›" entry on model list rows leading to a settings page with a back arrow, and inside it a dropdown for Codex's six effort levels — two steps to change effort. While a model's settings loaded, a "Loading model settings…" text broke the row's alignment.
Now the model chip only picks (and pins) models, and the chip next to it opens every option of the current model — effort, context size, fast mode — in one popup, each a click away: on/off as a switch, up to five values as a segmented control, more listed. A model with a single option closes the popup on a choice. The chip has a chevron like the other composer chips, and a spinner takes its place while settings load. Configuring a model other than the current one from its list row is gone.
The Test and Test Subject choosers give file names their own space and align directories to the right, keeping the end of long directories visible. When there are several tests, the first match is selected and Create New Test appears below the results, with a divider before it.
Navigation target rows show the container next to the symbol at the same text size. File locations align to the right and keep the file name and line visible when a long path has to be shortened. The list scrolls inside the popup when space is limited.
The indentation popup uses a Code Style heading for the active file's language. The current indentation stays checked even when the file uses a custom number of spaces. The heading and choices use the standard menu text size.
RUSTSEC-2026-0587: on Windows a drive-prefixed path component let a WASI guest escape its preopened directory. 49.0.7 carries the fix; the rest of the wasmtime crates move with it. Lockfile-only.
Go to Declaration on a declaration's own name shows its usages only when the language server answers the declaration itself. kotlin-language-server answers nothing there, so ⌘B / ⌘-click on `fun lend` reported "Cannot find declaration to go to" while Find Usages listed four. When the server has no definition and the syntax tree puts the caret on a declaration's name, the usages show now, for every language.
Go to Declaration into a library could open its source editable: only files under the External Libraries roots were read-only, and many language servers answer with sources they keep elsewhere (java-analyzer's source cache, the TypeScript lib files of the server's own typescript, Intelephense's stubs, the temporary copies kotlin-language-server writes). A file outside the project that code navigation opens (declarations, implementations, usages, hierarchy, documentation and inlay links) now opens read-only with the Library source notice. Files opened outside the project in other ways stay editable.
Without jdtls, a Java run or debug used the JDK the Java language server reports (java-analyzer's own runtime) before matching the module's Java version, so a module compiled for release 21 started on JDK 17 and failed with UnsupportedClassVersionError. The server's JDK is now used only when it can run the module's release; otherwise the installed JDK matching it is picked.
A key the keymap leaves alone reached WebView2's browser accelerators: Ctrl+F in a view without its own find opened the page's Find bar over the whole window, and F3, F12 or Alt+Left ran browser features. Turn the accelerators off for every webview; the page still gets every key.
The combined changes view gives each file its own inset section, with a bold file name and a muted path. File actions sit before the name so they stay visible when a narrow editor pane truncates the text. Compact Mode reduces the space around file sections and headers.
A middle click on a link (an agent reply, any rendered content) navigated the IDE window to it: link handlers listen to click, and the middle button fires auxclick, whose default action the webview carried out. A window-wide auxclick handler now cancels it for every link and opens a web link in the default browser, as a left click does; a link into the app itself does nothing.
Fixes#4992
The keyboard New popup aligns the search icon and text with the options below it. The search divider has side margins, and the search field keeps its height in short windows while the list scrolls. The wider list and smaller shortcut text let the full Scratch File label fit alongside its Windows shortcut.