I'm writing a Resharper ContextAction, and the progress indicator that pops up after a second keeps stealing the focus from my text box. How can I suppress the progress indicator that gets passed to ExecutePsiTransaction?
Asked
Active
Viewed 95 times
3 Answers
4
Ups. Try overriding ExecuteBeforeProgressAndTransaction and calling your dialog from there instead of from ExecutePsiTransaction

Dmitry Osinovskiy
- 9,999
- 1
- 47
- 38
0
Just pass NullProgressIndicator.INSTANCE

Evgeny Pasynkov
- 693
- 4
- 5
-
I tried overriding `BulbItemImpl.Execute`, passing a `NullProgressIndicator.INSTANCE` to `ExecutePsiTransaction`, but the same problem persists. It must be triggered some other way, but I can't find where. – Matthew Piziak Jul 11 '12 at 19:56