detecting when actions are complete
Answered
Hi -
Is there are a way to discover when a background job is completed. I am curious about the general case but thinking specifically about executing the ReformatCodeAction - I can't find a way to tell when it's complete.
cheers, jamie
Please sign in to leave a comment.
There's no general API. What would you like to achieve with this knowledge with regards to Reformat Code?
Well, I would like to execute it and when it's done get the updated document contents...
If you want to start reformatting yourself, it's probably best to do it manually and then execute the action you need. You can create and run ReformatCodeProcessor which supports custom postRunnable.
You're right... I was just trying to get for free some of what the action does. Thanks.