Search code examples
c#resharperresharper-6.1resharper-plugins

Suppress IProgressIndicator in Resharper ContextAction


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?


Solution

  • Ups. Try overriding ExecuteBeforeProgressAndTransaction and calling your dialog from there instead of from ExecutePsiTransaction