Plugins can open a file in the built-in text editor even when a custom
editor claims it (workspace.editor open-as-text, SDK open_editor_as_text),
and commands can contribute to the Open In submenu (openIn menu location,
file as the argument, no submenus). Docs, versioning table and rebuilt
components included.
Fixes#6852Fixes#6853
Plugin API 1.19 adds net.fetch-stream: it returns a response-stream once the headers arrive, and the body is read piece by piece with a timeout (read returns nothing with done=false when no bytes came in time). It applies the same grants, net:ask, secrets, body limit and redirect checks as fetch, which now shares the request builder; at most eight streams per plugin, closed on resource drop or plugin stop. The SDK adds host::fetch_stream, ResponseStream and an incremental text/event-stream parser (ResponseStream::events), with mock support; components are rebuilt for the new WIT.
Fixes#6844
Adds Settings › Agents › Memory and a Session Memory picker (/memory, /memories, the composer + menu and the context meter link). They list each agent's own instruction files, path-scoped rules and auto-memory notes: AGENTS.md, CLAUDE.md and .claude/rules, .github/copilot-instructions.md and .github/instructions, .cursor/rules, GEMINI.md, and the Claude Code, Codex and Hermes auto-memory folders.
Per-file modes (Auto / Always / Off) and the auto-memory policy (Inherit / Read & Write / Read Only / Off) are stored in settings.toml at user or workspace scope and never edit tracked files. Workspace entries load only in trusted projects. Each driver receives the policy natively: Claude Code through --settings and --add-dir, Codex through its memories config and /memories, GitHub Copilot through excludedTools and the system message, and Hermes through config.yaml. A file set to Always is staged into other agents' sessions. Auto-memory notes can be promoted into the workspace AGENTS.md, and an idle session restarts when a memory policy changes.
Groups of the same agent are titled by scope, for example Claude Code (User) and Claude Code (Auto Memory).
Closes#6810
Co-authored-by: dengliu <[email protected]>
The built-in MCP server gets xdebug_* tools: debugger status, start a session for a run configuration or run point, control it (resume, pause, step, wait for pause, stop), list/set/remove breakpoints, run to line, threads, stack, frame values, values by path, evaluate and set variable. Breakpoints go through the window's editor model, so they show in the gutter, persist and are the list the user sees; sessions start through the IDE's Debug action with its before-launch tasks. Mutating tools are marked write for the trust gate.
Co-authored-by: akbar1214 <[email protected]>
[capabilities.reasons] lets a plugin say in one sentence why it asks for a declared capability. The permission dialog and the plugin's details in Settings › Plugins show it below the IDE's own description, marked as the plugin's words and never instead of it; it is translated through the plugin's locales/<tag>.json. Keys must be capabilities under required or optional; reasons are 1-500 characters.
settings.open(page) opens Settings at the plugin's node or one of its declared pages, and settings.open-permissions at its permissions in Settings › Plugins (plugins#permissions:<id>, so it also reaches a separate Settings window), letting a notice take the user straight there. Both work only from a command or event of a window; an undeclared page is not-found.
Plugin API 1.19.0: WIT package, engine, SDK wrappers and mock, rebuilt components; 1.18 is recorded as shipped with 0.1.54. The settings-pages fixture exercises both additions.
Refs #6745
Settings › Tools › Terminal gains Paste on right click (terminal.rightClickPaste, off by default). When on, a plain right-click in a terminal pane pastes the clipboard through the same path as Paste and middle-click paste, so bracketed paste and multiline handling are unchanged; Ctrl or Shift + right-click still opens the context menu, and focus stays in the pane.
Fixes#6634
Query Workspace, opened from the Database tree, runs a single SELECT joining two to eight tables from saved PostgreSQL, ClickHouse, SQLite and file-backed DuckDB sources. Typing # picks a saved source without connecting; table and key completion fetch that source's metadata, and optional aliases disambiguate duplicate names. The project host reads the projected columns and join keys on independent read-only connections, complete or failing, within per-input and total row/byte limits, and joins them in the installed DuckDB JDBC driver. Run executes the statement at the caret or the selected statements in order and Execute Script runs the editor; each statement keeps its timing, result tab and page, and Stop or the first error ends the batch.
Closes#6177
Co-authored-by: principalwater <[email protected]>
A DuckDB data source can be a DuckLake catalog: an existing catalog file or named DuckDB secret is attached read-only, without migrating its metadata version, optionally with a relocated local data directory. Create New DuckLake is a separate, confirmed action that requires a new directory, so testing or reconnecting never initializes a catalog. The Rust side limits DuckLake sources to read-only jdbc:duckdb with no credentials, properties, tunnels or session overrides, and saving catalog settings goes through a dedicated approval command so an older remote host cannot drop them silently. The JDBC bridge JAR is rebuilt from the updated sources.
Part of #334
Co-authored-by: principalwater <[email protected]>
Adds a Swift language page (en, zh) covering toolchain setup, how the sourcekit-lsp workspace root is found, SwiftPM packages and Xcode projects through a BSP config, choosing an Xcode with DEVELOPER_DIR, formatting, single-file runs, debugging with lldb-dap, and current limitations.
Closes#6789
Co-authored-by: wildcatDownstairs <[email protected]>
Adds a Plugins category to Settings Sync. plugins.json maps each computer's random id to the plugins installed in its data directory; every computer writes only its own list, so lists never conflict and an uninstall only shortens one of them. After a sync, plugins other computers have and this one lacks are looked up in the marketplace and offered in a notification under the marketplace's names; ids that are not marketplace ids are dropped. Install... lets the user pick (each goes through the usual install and consent page) and Ignore These Plugins declines them; nothing is installed or uninstalled on its own. An unreadable plugins.json is left untouched.
The hidden plugins.installFromMarket action now accepts a single id (Import Settings) or a list of ids (Settings Sync).
Closes#6750
Co-authored-by: wildcatDownstairs <[email protected]>
Settings Sync gains Sync automatically (on by default once a repository is set): a sync on startup, shared across windows opened within a minute, and one 30 seconds after the last settings change. Before going to the network the automatic sync checks locally whether anything that syncs changed, so machine-only changes cause no fetch, and applying a sync does not trigger another.
Automatic syncs use saved credentials only and never prompt, stay quiet when nothing changed, report pulled and conflicting settings like Sync Now, show a warning with Sync Now on failure, and leave a notification instead of asking when the repository holds settings this computer never synced with. Frontend entries edited during a sync are kept for the next one, and a change arriving during a sync schedules one more.
Closes#6744
Co-authored-by: wildcatDownstairs <[email protected]>
Adds Settings > Appearance & Behavior > System Settings > Settings Sync, which syncs settings through a Git repository the user chooses (a secret gist works too); Git runs with the user's own credentials. Categories can be toggled individually: appearance, editor, keymaps, templates, macros, tool window layouts and view options, and other settings.
Sync Now (also File > Manage IDE Settings) fetches, merges each setting three ways against the last synced commit, commits, pushes and applies the result, retrying the merge once if another machine pushed in between. When both sides changed a setting this machine wins and the notification names it. The first sync with a repository that already holds settings asks whether to merge, use the repository's or use this computer's. An unreadable category file stops the sync without changing anything; a deleted one is written again.
Credentials, environment/argument/command/path-like settings, path values, URLs with credentials, proxy, SSH, deployment, run targets, tools, language servers, the MCP server, agent permissions and machine-local state never sync in either direction. The repository holds one JSON file per category and is written through a bare clone with plumbing commands only, keeping every other file in the tree.
Closes#6713
Co-authored-by: wildcatDownstairs <[email protected]>
Debug on a Python configuration with an SSH run target now starts the program under the debugpy bootstrap listening on the host's loopback interface, forwards a local port through the SSH session and attaches with the project root mapped onto the target folder. When the host's interpreter has no debugpy, the IDE's copy is uploaded once to ~/.openidea/debug/<version> (written to a temporary folder and renamed into place so concurrent runs don't see partial files); without a local copy the error offers to install it. The check times out after 30 s, and the run fails if debugpy is not ready 120 s after start. The launch parameter containerDebug is renamed targetDebug.
Closes#6695
Co-authored-by: wildcatDownstairs <[email protected]>
Breakpoints can be set in notebook code cells, and Debug Cell (notebook toolbar, cell toolbar, Find Action) runs the cell under the kernel's debugger through the Jupyter debugger protocol: DAP requests go as debug_request on the control channel, replies and events come back as debug_reply/debug_event. This works for local ZeroMQ kernels and kernels on a Jupyter server alike.
The bridge dumps every code cell once the debugger starts, rewrites source paths between cell URIs and the kernel's compiled files, re-dumps edited cells before setBreakpoints, and sends disconnect (never terminate) when the session ends, so the kernel and its variables are kept. DebugManager::start_over attaches a session over an existing stream. Kernels without a debugger are refused at once with the reason, and Interrupt during a debug session disconnects first.
Closes#6681
Co-authored-by: wildcatDownstairs <[email protected]>
Connect to Jupyter Server... in the notebook kernel drop-down and Find Action takes any URL a Jupyter server prints (lab/notebook/JupyterHub user URLs are reduced to the server base) and a token. The token is checked against /api/kernelspecs and stored in the OS credential store; only the base URL is written to disk. Saved servers are listed in the kernel drop-down with their kernel specs, remembered per notebook, and can be removed again.
A remote kernel is started with POST api/kernels, driven over its channels WebSocket (through the configured HTTP proxy via the new ide_http::tunnel), interrupted with POST .../interrupt and deleted on restart, close, failed or cancelled start. A dropped socket is reopened for the same kernel and session for about 15 s so buffered output is replayed. The kernel transport now has a Link with local (ZeroMQ) and remote variants, sharing execution, output routing and the Jupyter Variables window. Token-less servers get the _xsrf cookie and header.
Closes#6526
Co-authored-by: wildcatDownstairs <[email protected]>
Configure GPG Signature gets a signing format (OpenPGP / SSH), saved as gpg.format in the repository config. With SSH, the key list shows ssh-agent's keys (`ssh-add -L`, saved as key::<public key>) and ~/.ssh/*.pub files, agent keys first, with a hint to ssh-add a key that isn't in the agent. Changing the format without a new key removes the old key, which belongs to the other format.
Closes#6712
Co-authored-by: wildcatDownstairs <[email protected]>
Plugin Overview and What's New rendered as plain text and ignored the UI language. plugin.toml gains optional description-file and change-notes-file (API 1.18, Markdown inside the package, UTF-8, at most 256 KiB); a shared loader validates them and localized siblings (description.zh-CN.md) in check, pack, install and index. Descriptions and change notes resolve per locale from locales/<tag>.json and those siblings, with English fallback, for installed, local catalog and marketplace plugins.
Markdown is rendered with lazily loaded marked and an isolated DOMPurify that strips scripts, event handlers, javascript:/file: links, styles and external resources, keeping marked out of the Settings window's boot graph.
Closes#6773
Merged with main: the pending-uninstall placeholder plugin now gets docs from its manifest.
Co-authored-by: wildcatDownstairs <[email protected]>
Project endpoints (Search Everywhere's Endpoints tab, URL completion and navigation in .http files) came only from Spring and plugins. A built-in provider now reads Flask and FastAPI routes: app/blueprint/router decorators with methods, add_url_rule, blueprint and APIRouter prefixes including those given at registration, nested routers and mounted sub-apps, prefixes from module constants, imports and settings attributes. Only receivers resolved to Flask, Blueprint, FastAPI or APIRouter instances count, and routes whose path is only known at runtime are left out. Path parameters become {name}.
Route decorators get the Open in HTTP Client gutter icon. The project is scanned once and changed .py files are re-read individually (a large change set rescans); a new python_route_sources command lists candidate files using the Spring source scan, skipping site-packages.
Closes#6533
Co-authored-by: wildcatDownstairs <[email protected]>
Adds a Celery run configuration type: Worker runs python -m celery -A <app> worker (with -B when Run Beat scheduler is on), and Enqueue task sends one task with celery call (module, task, JSON args and kwargs). Celery joins the shared Python kind check (ide_run::is_python_kind, now also used for the container PYTHONPATH of local Docker runs, which Flask and FastAPI missed), so it runs on the project interpreter with PYTHONPATH / PYTHONUNBUFFERED, in containers too, and debugs through debugpy with subprocess attach for pool processes.
Checkbox fields in run configuration forms now show their text once, on the checkbox, instead of also as a misaligned row label (Go, JVM, Tomcat, Docker types included). The Python docs cover -P solo and separate Beat on Windows, @shared_task needing the app, and one debug session per pool process.
Closes#6646
Co-authored-by: wildcatDownstairs <[email protected]>
Flask and FastAPI apps could only run as ordinary scripts. Adds Flask server and FastAPI run configuration types: Flask runs python -m flask run with FLASK_APP / FLASK_DEBUG (read by every Flask version), host, port and extra options; FastAPI runs python -m uvicorn <module:app> with reload, host, port and options. Both use the Python interpreter choice and debug with debugpy; under the debugger Flask runs with --no-debugger, and without subprocess attach the reloader is turned off so breakpoints still stop.
A top-level (or src/) app.py, wsgi.py, main.py or app/main.py assigning Flask(...) or FastAPI(...) to a module-level name gets a detected configuration. The list of Python run kinds is now one function (ide_run::is_python_kind) instead of copies in the host, Docker, process and SDK code.
Closes#6532
Co-authored-by: wildcatDownstairs <[email protected]>
.jinja, .jinja2 and .j2 files opened as Plain Text. They now open as Jinja2 templates, with the extension before them deciding the content between the tags: Jinja2 HTML (.html.j2, .html.jinja, .htm.*) gets the HTML language server, Emmet, tag closing and linked tags like Django templates; any other name (nginx.conf.j2, values.yaml.j2, base.jinja) is a Jinja2 Template over plain text without HTML tooling.
Both use @codemirror/lang-jinja (now a direct dependency, the same 6.0.1 already in the lockfile): highlighting, folding and indentation of block statements, completion of tags, filters and tests, and tag matching. The file icon follows the extension before .j2, and breakpoints in a file typed as a Jinja language turn on debugpy's jinja support.
Closes#6644
Co-authored-by: wildcatDownstairs <[email protected]>
Python runs, tests and debug sessions started a conda interpreter without activating its environment, so on Windows packages whose DLLs live in Library\bin failed to import and the environment's tools weren't on PATH. When the launch's interpreter belongs to a conda environment, the launch gets what `conda activate` sets: CONDA_PREFIX, CONDA_DEFAULT_ENV (base, the envs/ name, or the path) and the environment's folders in front of PATH (Windows' Library\* folders included); values the configuration sets itself are kept.
Closes#6690
Co-authored-by: wildcatDownstairs <[email protected]>
Adds File › Save File as Template… (also in Find Action). The dialog prefills the active file's name, extension and current buffer, unsaved edits included, lets the user edit them and saves the template to the global Default file-template scheme without switching the selected scheme.
Co-authored-by: muutot <[email protected]>
Settings > Editor > Smart Keys gets the Line Copy and Paste options: Copy/Cut with no selection act on each caret's line (can be turned off), Copy can select the copied lines, and a linewise paste goes above the caret line, at the caret, or trimmed mid-line. Native, context-menu and Paste from History pastes share the same linewise metadata.
Co-authored-by: muutot <[email protected]>
Python functions and classes without a docstring offer Insert a documentation string stub in Show Context Actions, generating PyCharm's default reStructuredText stub with :param: lines for the parameters (self/cls skipped) and :return:.
Co-authored-by: muutot <[email protected]>
File > Save As opens the existing Copy dialog for the active file with Open copy in editor forced on. A single-file copy of an open editor uses the new doc_copy_as, which writes the current buffer with its encoding, BOM and line endings and refuses a target that is open in another editor.
Co-authored-by: muutot <[email protected]>
The Documentation tool window gets a find bar (Cmd/Ctrl+F and a toolbar button) with match highlighting, a match count and previous/next navigation; the query is matched as plain text, and re-rendered documentation keeps the active match without scrolling.
Co-authored-by: muutot <[email protected]>
Quick Preview in the Project tool window: with one file selected, Space opens a read-only, highlighted preview popup without opening an editor tab (an open buffer's text when there is one). Escape, a selection change, focus loss or unmount close it. Bound in the IntelliJ macOS/Windows and VS Code macOS keymaps.
Co-authored-by: muutot <[email protected]>
A non-empty selection offers Create new scratch file from selection in Show Context Actions. The selection is copied verbatim into a new numbered scratch file (no language template), whose language is detected from the fragment, else the source file's language or extension.
Co-authored-by: muutot <[email protected]>
Settings > Live Templates gets Duplicate Template: it creates an editable user copy in the same group with the body, variables, contexts and options, and resets the abbreviation to ABBREVIATION as IDEA does. Plugin templates stay read-only but can be duplicated; the copy drops the plugin origin.
Co-authored-by: muutot <[email protected]>
Project view Options > Appearance > File Details shows each file's modification date and time and its size beside its name, as IDEA's File Details does. Off by default, persisted with the other view options; a missing modification time shows only the size.
Co-authored-by: muutot <[email protected]>
Follow-up to #6729. Repositories now compare by host as well, so acme/app on an Enterprise server and on github.com stay two remotes; the selector shows the host when remotes span hosts, and the saved choice is host/owner/name (an older owner/name still loads). connect passes the target's host and root to its own requests and switches the shared API host only after they succeed, so a failed switch no longer redirects the existing connection's requests. Remotes match an Enterprise host whatever its port, keeping gh's host:port for --hostname. Docs note that gh checks the server certificate against the system trust store.
Co-authored-by: wildcatDownstairs <[email protected]>
gh api does not take the host from the remote as gh pr does, so requests for an Enterprise repository went to github.com. GhApiRequest now carries an optional host passed as gh api --hostname (validated as host[:port]); the GitHub tool window sends the connected repository's host, availability reads the login on that host, and remotes on the host gh resolved count as GitHub remotes. Commit checks in the Git log keep github.com.
Fixes#6717
Co-authored-by: wildcatDownstairs <[email protected]>
Follow-up to #6529. A run that inherits the IDE's environment now keeps an MPLBACKEND set in the login shell or the project's .envrc instead of replacing it with the Plots backend; debug launches get the backend too, unless their own environment names one. Figures dropped from the Plots tool window are deleted from the project's plots folder (plots_delete, limited to finished figures in that folder, compared canonicalized), and the watcher reports a figure once it is renamed into place.
Refs #6514
Co-authored-by: wildcatDownstairs <[email protected]>
clipboard_text was the only clipboard command declared trusted, so in Restricted Mode the native read was refused and readClipboardPlainText() fell back to the WebView's own read: WebKit's Paste callout on macOS (and WebView2's prompt on Windows) appeared for the editor's right-click Paste. Reading the clipboard runs nothing from the project, and clipboard_image, clipboard_file_list and clipboard_has_* are already always. clipboard_text is now always too, as is the web shell's stub; a test pins all clipboard reads to always. Plugins still read through plugin_answer_clipboard, which stays trusted.
Co-authored-by: audichuang <[email protected]>
Install from Disk resolved only paths starting with '.', and pip runs in a temporary folder, so a bare name like 'mylib' installed the PyPI package of that name. A typed relative path is now sent as './...' (resolved against the project) and '~/' expands to the home folder, so pip always gets an absolute path. Editable installs are offered and accepted only for a local directory: an editable clone of a repository would land in pip's temporary folder. The version control dialog accepts only vcs+scheme:// URLs, and an archive disables editable.
Co-authored-by: wildcatDownstairs <[email protected]>
DuckDB sources get DuckDB's SQL dialect (highlighting, completion, formatting and resolution) and the database tree lists attached catalogs with their schemas, tables and columns. The JDBC bridge gains a catalogs command and catalog-scoped schema and table metadata, matched by exact catalog and schema names; tables in another catalog open and page through the source session. DDL that attaches, detaches or changes a catalog refreshes the tree.
Co-authored-by: principalwater <[email protected]>
SQL consoles and files get a Database Output bottom tool window. It follows the active editor, keeps result tabs and errors scoped to each console, and has a client selector (file name with its data source) for looking at another run, plus a button to open that client in its editor. Run and Explain reveal the current client's results while keeping editor focus; background completions and late Explain responses leave the selected client in view. Switching clients or destinations never re-runs SQL. Settings > Tools > Database can send results to Services instead.
Closes#6176
Co-authored-by: principalwater <[email protected]>
Explain Plan now works for DuckDB data sources connected through JDBC. The statement runs as EXPLAIN (FORMAT JSON) in the console's session (so temporary tables resolve), and the physical plan is shown, falling back to the optimized or logical plan when explain_output asks for those; operator details become node properties. A script with several statements is checked with json_serialize_plan first and refused. Other custom JDBC sources still have no Explain Plan.
Co-authored-by: principalwater <[email protected]>
A + button in the Python Packages tool window offers Install from Version Control… and Install from Disk… (with Browse), both with Install as editable (-e). A plain https://, ssh://, git:// or git@host:path URL gets pip's git+ form; git+… and other vcs+ URLs pass as they are. sdk_python_pip takes an editable flag that adds -e (pip and uv pip); text starting with - is still refused, so no other pip option can be passed.
Closes#6531
Co-authored-by: wildcatDownstairs <[email protected]>
When the pane has a package's PyPI details (a search result, or an installed package after Show PyPI Details), it also shows the project's links (its PyPI page, home_page and project_urls; http(s) only, duplicates dropped) and its long description: rendered Markdown (sanitized, as in hover docs) when description_content_type is Markdown, plain text otherwise. Links open in the browser. Everything comes from the JSON API response the pane already loads.
Closes#6530
Co-authored-by: wildcatDownstairs <[email protected]>
Two SQL consoles on one JDBC data source waited on the same connection, so a long query, cancellation or close in one blocked the other. The JDBC bridge now multiplexes one connection per console inside the existing bridge JVM (capped at 32, with bounded reply buffers), and result reads, cancel and close are routed to the originating console's connection. DuckDB console connections share the database and its attachments with separate temporary tables and session settings; anonymous SQLite and H2 databases keep one shared connection so their contents stay visible.
Fixes#6484
Co-authored-by: principalwater <[email protected]>
Two PostgreSQL consoles on the same data source shared one manual transaction, so one console could see and commit the other's pending work. Each console now owns its manual transaction: Commit, Roll Back, Stop, result reads and close act on the originating console, retained results keep their transaction until the last reference closes, and a statement for a lost transaction fails before executing. The pool reserves capacity for ordinary work; up to two manual transactions can hold a connection per target, and a third gets a message on how to free a slot. Auto-commit and the transaction-pooler read-only path are unchanged.
Fixes#6445
Co-authored-by: principalwater <[email protected]>
A ClickHouse HTTP response that stalled (a relay holding the reply, a dropped connection) left the console showing Running forever. The built-in driver now stops waiting after 600 seconds without response data and reports that the outcome is unknown, with the query_id; it does not replay or cancel the statement. Reading another chunk restarts the timer, and the Advanced property http_read_timeout (seconds) changes the interval.
Fixes#6435
Co-authored-by: principalwater <[email protected]>
ClickHouse accepts a standalone SET over HTTP, but without a session the setting is gone before the next request, so a console script silently ran its later statements with other settings. With use_http_session=false the driver now refuses a session-scoped SET before sending it and says to use a session or query-level SETTINGS; named sessions, SETTINGS clauses and SET DEFAULT ROLE are unchanged. The ClickHouse splitter now also treats # line comments and nested block comments as comments.
Fixes#6432
Co-authored-by: principalwater <[email protected]>
Templates under src/main/resources/templates get a warning (underline and Problems) on a fragment expression whose template does not exist or does not define the fragment, as the inspection Thymeleaf > Unresolved template and fragment references. A fragment counts as defined by th:fragment, th:ref, an element of that name, or an id. It stays silent where names cannot be resolved as Spring Boot's defaults do: spring.thymeleaf.prefix or suffix set in application.properties / .yml, missing templates outside the project folder's own templates directory, ~{_}, ?: fallbacks, expression names, relative names and comments. Template names get .html unless they end in an extension Thymeleaf recognizes, which also fixes Go to Declaration on names with a dot.
Part of #2889
Co-authored-by: audichuang <[email protected]>
The Annotate gutter's Options menu gets a Colors submenu with Author, Order (the default, tint by commit order) and Hide. Author gives the authors, sorted by name, the palette colours in turn. The choice is kept in localStorage and applies to every annotated editor, like the column and Names options.
Refs #6397
Co-authored-by: audichuang <[email protected]>
reformat_file's description pointed agents at an optimize_imports tool for import-only cleanup, but none was registered. optimize_imports runs the existing organize-imports path (including the Ruff fallback for Python) on the given files without reformatting and returns the same capped unified diff as reformat_file. Documented in the English and Chinese MCP guides.
Co-authored-by: akbar1214 <[email protected]>
Import Settings now reads templates/*.xml from a JetBrains settings archive or settings folder and, after confirmation, merges the templates (group, abbreviation, description, body, variables and defaults, contexts, deactivated state) into the custom live templates under stable jetbrains.* ids, so importing again updates rather than duplicates. Built-in and unrelated custom templates are kept.
Contexts are read as IDEA writes them: the full context id first (JAVA_SCRIPT, SHELL_SCRIPT), then its shorter prefixes down to the language (JAVA_STATEMENT, Python_Class, JS_STATEMENT, KOTLIN_TOPLEVEL), OTHER as everywhere, and comment or string contexts expand outside code. Templates whose contexts don't map to a language are listed as not imported, never made global; expressions OpenIDEA can't evaluate are listed and kept as text.
Co-authored-by: muutot <[email protected]>
Adds a "Fix safe lint issues on save" Ruff setting that runs ruff check --fix-only on Python files when saving, and a commit check that applies the same safe fixes before committing. Safe fixes run separately from formatting and Format on save.
Also translates the new "No safe lint fixes to apply" message and drops the replaced on-save hint from the ko/ru/tr catalogs.
Co-authored-by: muutot <[email protected]>