如何 运行 从终端自定义 IntelliJ 检查

How to run custom IntelliJ inspections from terminal

所以我目前正尝试从命令行 运行 IntelliJ 的代码检查器,但我可以找到放置自定义范围的位置。有一个自定义目录扫描的选项,但没有插入其自定义范围语言的选项。有没有其他人处理过这个? IntelliJ's Documentation

添加 idea.analyze.scope=SCOPE_NAME[1] to your custom properties using the Help | Edit Custom Properties... menu item. Replace SCOPE_NAME with the name of the scope you want to use. This scope you will have to define inside your IDE. If the scope cannot be found, the entire project is inspected. [2]