What is the suggested pattern for implementing a plugin that runs an external command that generates inspections?

已回答
I have seen several plugins that run an external command (pylint/mypy/ruff etc) to generate inspections in the editor. All of these plugins have struggled with asyncronously running the command and they all basically kill the UI or system.

Currently this issue in the Ruff plugin is causing me pain https://github.com/koxudaxi/ruff-pycharm-plugin/issues/148

My question is this: What is the recommended design pattern / API usage for this exact use case.

0

请先登录再写评论。