Temp storage for files
已回答
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?
请先登录再写评论。
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.