BulkFileListener: check if VFileEvent describe changes from "outside" or from Idea

Answered

How to do subj?

I.e. how to distinguish if BulkFileListener#after()/before() fired because of file been changed from "outside" (let say due to git checkout command) or due to Idea doing saving changes made inside Idea on disk?

PS Both VFileEvent#isFromRefresh and VFileEvent#isFromSave seems to be useless in that case, or I'm wrong?...

0
1 comment

They should work as they're used in many places. Please give a specific reproducable example.

0

Please sign in to leave a comment.