Commit Graph

34 Commits

Author SHA1 Message Date
Karlatemp
5bf1a9755f
Improve PsiMethod.hasSignature; fix #294 2021-02-16 22:44:01 +08:00
Him188
6d02764e2e Add USING_DERIVED_XXX_TYPE diagnostic and ConvertToXXXFix for derived collection type usages in PluginData delegation. fix #278 2021-02-11 18:52:48 +08:00
Him188
626b8d600b 2.4-M1 2021-02-07 14:35:20 +08:00
Him188
fada587297
Resource not closed inspection (#286)
* Initial support of ResourceNotClosedInspection, #283

* Improve UsingStringPlusMessageInspection

* Add fix for sendAsImageTo and uploadAsImage

* Add Fix for ResourceNotClosedInspection

* ResourceNotClosedInspection support for Java

* Add WrapWithResourceUseCallIntention for Kotlin, #284
2021-02-05 21:45:39 +08:00
Him188
73f457b628 Support CommandDeclarationLineMarkerProvider for Java methods 2021-02-03 21:47:19 +08:00
Him188
6d02aa72d9 Support PluginMainLineMarkerProvider for Java classes 2021-02-03 21:31:31 +08:00
Him188
2d69c6ae10 Improve inspection performance 2021-01-29 10:23:18 +08:00
Him188
d5827f3088 Support PluginMainServiceNotConfiguredInspection for Java 2021-01-16 13:13:45 +08:00
Him188
f802415c7a Provide ConvertToValFix for READ_ONLY_VALUE_CANNOT_BE_VAR 2020-12-01 10:14:12 +08:00
Him188
a6d5656161 Support ReadOnlyPluginData:
Add ReadOnlyPluginData, ReadOnlyPluginConfig,
New inspection: READ_ONLY_VALUE_CANNOT_BE_VAR,
2020-11-30 14:25:40 +08:00
Him188
e63775676a Fix RESTRICTED_CONSOLE_COMMAND_OWNER 2020-11-29 16:21:54 +08:00
Him188
a66ecbf8c8 New inspection: RESTRICTED_CONSOLE_COMMAND_OWNER, close #216 2020-11-29 16:12:49 +08:00
Him188
bc290f63bb New inspection: ILLEGAL_COMMAND_DECLARATION_RECEIVER, close #174 2020-11-29 15:05:39 +08:00
Karlatemp
2132e4d095
IDEA Plugin: Requirement checking 2020-11-26 22:56:51 +08:00
Him188
c433450be2 Update dependencies 2020-11-25 17:19:52 +08:00
Him188
ff9c493e4b Support kotlinx-serialization builtin serializers 2020-11-13 14:32:16 +08:00
Him188
0c3a4c735d Support PluginMainServiceNotConfiguredInspection and ConfigurePluginMainServiceFix 2020-11-10 13:59:41 +08:00
Him188
e37ac17b82 Support ProvideDefaultValueFix for NOT_CONSTRUCTABLE_TYPE 2020-11-10 11:38:24 +08:00
Him188
c077719c1b Report NOT_CONSTRUCTABLE_TYPE on type argument 2020-11-10 10:50:48 +08:00
Him188
d248188fac Update icon 2020-11-05 16:34:56 +08:00
Him188
bace377d1e Fix semantic version and plugin id regexes 2020-10-28 15:38:25 +08:00
Him188
14fd3015b9 Fix resolve 2020-10-28 15:25:30 +08:00
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
Him188
e214a43043 Fix IDE resolve on startup 2020-10-02 13:45:25 +08:00
Him188
c8696b6ac5 Update debugging proejcts 2020-09-19 13:33:15 +08:00
Him188
3fa7c9e128 Support ILLEGAL_COMMAND_NAME, ILLEGAL_PERMISSION_NAME, ILLEGAL_PERMISSION_ID, ILLEGAL_PERMISSION_NAMESPACE 2020-09-19 00:22:38 +08:00
Him188
cd86878307 Merge remote-tracking branch 'origin/master' 2020-09-18 20:01:10 +08:00
Him188
39145634e6 Support UNSERIALIZABLE_TYPE for detecting @Serializable annotations 2020-09-18 20:00:47 +08:00
Him188
7244cb76c4 Introduce inspection NOT_CONSTRUCTABLE_TYPE for PluginData.value 2020-09-18 15:36:03 +08:00
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
Him188
6a2ef97b41 Improve description checker: support compile-time constants 2020-09-18 10:07:50 +08:00
Him188
5dbf596582 Support checking plugin name and plugin id (ILLEGAL_PLUGIN_DESCRIPTION) 2020-09-18 01:49:08 +08:00
Him188
3fc2d7f5c1 Diagnostics and resolve utilities 2020-09-18 00:21:05 +08:00
Him188
287b4b2995 Group mirai-console-intellij and mirai-console-gradle into 'tools' 2020-09-17 21:24:13 +08:00