Asks what to do when a file with unsaved edits is changed on disk outside VS Code — like WebStorm's "File Cache Conflict".
Edit files with a script, another editor, or git while VS Code is in the background, then switch back: without this extension you can keep working on a stale buffer. With it, every open document with unsaved edits is checked the moment the window regains focus and when the extension starts, so a file that changed while VS Code was closed is reported as a conflict when you start it again.
How it works
Dirty file changed on disk (conflict) → the file's tab is brought to the front first, then a modal asks you, one file at a time:
Reload from Disk — load the disk version (your unsaved edits are lost, as the modal warns).
Keep Editor Version — keep your unsaved edits; the disk is not overwritten. You won't be asked again for that file until the disk changes again.
Show Diff — open a diff of disk vs editor and decide later (the prompt returns on the next focus if the conflict remains).
There are no commands, shortcuts, or settings — enable/disable the extension to turn it on/off. English/Korean UI.
한국어 (Korean)
저장하지 않은 편집이 있는 파일이 VS Code 밖에서 바뀌면 어떻게 할지 묻습니다 — WebStorm의 "File Cache Conflict"와 같습니다.
VS Code가 백그라운드에 있는 동안 스크립트, 다른 에디터, git 등으로 파일을 수정하고 돌아왔을 때, 이 확장이 없으면 낡은 내용을 보며 계속 작업하게 될 수 있습니다. 이 확장은 창이 포커스를 되찾는 순간과 확장이 켜질 때, 저장하지 않은 편집이 있는 문서를 모두 검사합니다. 그래서 VS Code를 꺼 둔 사이 바뀐 파일의 충돌도 다시 켤 때 알립니다.
동작 방식
미저장(dirty) 파일이 디스크에서 변경됨 (충돌) → 그 파일의 탭을 먼저 앞에 띄우고, 파일별로 순차 모달로 묻습니다:
Reload from Disk — 디스크 버전을 불러옵니다 (모달에 경고되듯 미저장 편집은 사라집니다).
Keep Editor Version — 미저장 편집을 유지하며, 디스크를 덮어쓰지 않습니다. 디스크가 다시 바뀌기 전까지 그 파일은 다시 묻지 않습니다.
Show Diff — 디스크 ↔ 에디터 diff를 열고 결정을 미룹니다 (충돌이 남아 있으면 다음 포커스 때 다시 묻습니다).
명령·단축키·설정이 없습니다 — 확장 활성/비활성이 곧 on/off입니다. 영어/한국어 UI 지원.