mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-11 02:50:15 +08:00
18 lines
578 B
Markdown
18 lines
578 B
Markdown
# mirai-console-intellij
|
|
|
|
IntelliJ 平台的 Mirai Console 开发插件
|
|
|
|
## 功能
|
|
|
|
### 诊断
|
|
|
|
#### ILLEGAL_PLUGIN_DESCRIPTION
|
|
|
|
[PluginDescriptionChecker.kt](src/main/kotlin/net/mamoe/mirai/console/intellij/diagnostics/PluginDescriptionChecker.kt#L34)
|
|
|
|
- 使用 [ResolveContext](../../backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/compiler/common/ResolveContext.kt)
|
|
- 检测 Plugin Id, Plugin Name, Plugin Version 的合法性. 并在非法时提示正确的语法.
|
|
- 支持编译期常量
|
|
|
|
![ILLEGAL_PLUGIN_DESCRIPTION](.images/ILLEGAL_PLUGIN_DESCRIPTION.png)
|