Long task performing write action Follow
Hi,
I'm coding a plugin which reads and writes file, a bit like a compiler. As it can take a lot of time, I need to execute this asynchronously and as I produce files it requires to have this running in a write context.
I've tried to use the ProgressManager and the runWriteAction but that doesn't work or I didn't use the good combination of them.
Does anyone know how to do this ?
thanks
---
Original message URL: http://devnet.jetbrains.net/message/5518690#5518690
Please sign in to leave a comment.
Hi,
could you pleas show your code (some major parts) so we could help you (a gist would be great).
The main idea I think that you do long operation under progress and after that perform write acton on EDT.
Regards, Oleg.