mirai/tools/intellij-plugin
Karlatemp d0b71b200f
block whitespace in permission id
- blocked all whitespace
- Update IntelliJ IDEA plugin message
- Bump IntelliJ IDEA testing project version
- Add tests for permission id
2020-10-21 00:02:55 +08:00
..
.images Improve description checker: support compile-time constants 2020-09-18 10:07:50 +08:00
libs Group mirai-console-intellij and mirai-console-gradle into 'tools' 2020-09-17 21:24:13 +08:00
run/projects block whitespace in permission id 2020-10-21 00:02:55 +08:00
src/main block whitespace in permission id 2020-10-21 00:02:55 +08:00
build.gradle.kts Bump versions 2020-10-04 22:28:56 +08:00
README.md Improve description checker: support compile-time constants 2020-09-18 10:07:50 +08:00

mirai-console-intellij

IntelliJ 平台的 Mirai Console 开发插件

功能

诊断

ILLEGAL_PLUGIN_DESCRIPTION

PluginDescriptionChecker.kt

  • 使用 ResolveContext
  • 检测 Plugin Id, Plugin Name, Plugin Version 的合法性. 并在非法时提示正确的语法.
  • 支持编译期常量

ILLEGAL_PLUGIN_DESCRIPTION