Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在编写一个 Resharper ContextAction,一秒钟后弹出的进度指示器不断从我的文本框中窃取焦点。如何抑制传递给 ExecutePsiTransaction 的进度指示器?
UPS。尝试覆盖 ExecuteBeforeProgressAndTransaction 并从那里而不是从 ExecutePsiTransaction 调用您的对话框
只需通过 NullProgressIndicator.INSTANCE
您最好在开始交易之前获取必要的数据。