дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 01:31:41 +02:00
Replace in Files saves open files that have no unsaved changes through `Documents::save`, which writes unconditionally. If such a file changed on disk (git checkout, another editor, a formatter) before the watcher delivered the event, Replace All overwrote the external change with the replaced old text. Open tabs now save through `autosave`, which compares the disk stamp first: on a mismatch the replacement stays unsaved in the editor and the usual disk-conflict prompt appears. Files Replace opens only for itself were read moments before and still save directly. Co-authored-by: audichuang <[email protected]>