Temp storage for files Follow
Answered
Where\how to store temp files? For example user can replace some FileTemplate, this action must be undoable. Is it ok to keep content of file as String field in undo action?
Please sign in to leave a comment.
I'm not sure I understand what you're referring here to. Do you mean File | Settings | Editor | File and Code Templates ? Unless you click "Apply" or "OK" settings won't be changed.
Issue fixed. I replaced native java.io functionality with IDEA API which sup Undo, so i don't need to care about storing temp files.
P.S. yep it's File and Code Templates, my tempaltes depends on FileTemplates so my export\import system may delete\replace\add FileTemplates silently via PSI API.