rohitkumardandaandrohitdanda bb4f9ed180 fix(agents): keep the user's files out of a local task's rollback when git converts line endings (#2816)
When HEAD moved after a local task started, a file was treated as the user's doing only if its bytes on disk equalled the start commit's. Under core.autocrlf the working-tree bytes (CRLF) never match the committed blob (LF), so every such file was kept in the task's changes and rollback could revert the user's own reset or checkout.

Tracked files now count as changed only when git's own worktree diff against the start commit lists them (path or rename source), so git's line-ending and other filters apply. Files left untracked by a mixed reset are byte-compared with CRLF on disk matching LF committed. Tests run with core.autocrlf off and on, plus a mixed-reset case.

Co-authored-by: rohitdanda <10144914+rohitdanda@users.noreply.github.com>
2026-11-12 04:45:04 +08:00
2026-11-11 19:31:09 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00

OpenIDEA

The IDE you know, rebuilt in Rust.

Download  ·  Docs  ·  Benchmark  ·  Plugins  ·  Community  ·  Sponsor

https://github.com/user-attachments/assets/234dd54c-1255-4b3a-b35c-533d78d737c0

OpenIDEA brings the IntelliJ IDEA way of working — its keymap, its tool windows, its search-everything habits — to a native app with a Rust core.

Editor, code insight, debugger, Git, terminal, database and HTTP clients, for 60+ languages. Builds for macOS, Windows and Linux.

Benchmark

Opening freqtrade (Python, ~770 files) with warm caches, median of 5 runs:

OpenIDEA IntelliJ IDEA 2026.2.3
Window with the project 0.9 s 3.1 s
Ready (CPU settled) 1.1 s 13.2 s
Memory (USS, all processes) 169 MB 2011 MB
CPU time until ready 2.4 s 47.9 s
Idle CPU 4 % of a core 7 % of a core
Quit 0.3 s 5.9 s

A release build of OpenIDEA from main and IDEA with default settings and plugins, on Windows 11, 32-core AMD, 62 GB RAM. IDEA analyses Python more deeply, so "ready" doesn't mean the same work on both sides. Both are measured from the outside, the same way: see perf/compare to run it on your machine and projects.

Plugins

Plugins add actions, completion, quick fixes, tool windows, custom editors, themes, file icons and languages. They run as sandboxed WebAssembly components; themes, icon themes and languages need no code at all.

Install them from Settings › Plugins, or start your own with openidea-plugin new — see Writing OpenIDEA plugins and the official plugins. The plugin API is still a preview.

Community

Sponsor

If OpenIDEA saves you time, you can support its development with Alipay or WeChat Pay.

Alipay QR code
Alipay
WeChat Pay QR code
WeChat Pay

License

Apache 2.0. Bundled third-party assets are listed in THIRD_PARTY_LICENSES.md.

Not affiliated with JetBrains. IntelliJ IDEA is a trademark of JetBrains s.r.o.

S
Description
The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.
Readme Apache-2.0
142 MiB
Languages
TypeScript 52.8%
Rust 44%
CSS 1.8%
Java 0.5%
Python 0.4%
Other 0.2%