mirai/tools/intellij-plugin
Karlatemp 8fe2506e75
Terminal (#179)
* Rename ConsolePure to ConsoleTerminal

* Fix the way to close console with Ctrl+C

* Fix windows pipeline error. Fix EndOfFileException

* Add ConsoleExperimentalApi

* Collect imports

* Review

- Change old CLI main deprecation level to ERROR
- Update documents
- Update tasks from pure to terminal

* Fix error in closing console.

* Fix terminal closing and Ctrl+C closing.

* Add console shut-downing status

* Don't invokeOnCompletion when console shut-downing

* Fix Input interrupt

* Ensure active unless console is shut downing

* Change MiraiConsole.isShutDowning to `!job.isActive`

* Code Review

- Update Message on MiraiConsolePureLoader.kt
- Change MiraiConsole.isShutDowning to MiraiConsole.isActive
- Change MiraiConsole.shutdown to ConsoleInternalApi

* run catching

* Fix console input

* Update shutdown

* Fix module

* Revert 5199395

* Typo
2020-09-18 12:43:57 +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 Terminal (#179) 2020-09-18 12:43:57 +08:00
src/main Improve performance 2020-09-18 11:11:31 +08:00
build.gradle.kts Introduce compiler-common module 2020-09-17 21:39:34 +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