How to invoke Synchronize from PSI
In my plugin I provide an option to remove file from the project. That works fine, but the project source tree remains unchanged until synchronize runs either from menu or on next scheduled synchro event. Is it possible (I guess so) to invoke that from plugin code?
Thanks for any idea!
Pavlin
Please sign in to leave a comment.
May be it's VirtualFile.refresh(boolean asynchronous, boolean recursive)
TIA,
Dmitry
Dmitry Kashin wrote:
Basically, yes. Search for a whole lot of 'refresh' methods in
VirtualFileManager and friends.
Friendly,
Dmitry
--
Dmitry Lomov
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"