Commit Graph

196 Commits

Author SHA1 Message Date
Him188
2089ecfe54 2.4.0-dev-1 2021-02-05 23:34:31 +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
8ac8089015 2.3.2 2021-02-03 19:55:29 +08:00
Him188
70cd1621ca 2.3.1 2021-02-03 15:49:27 +08:00
Him188
b7c46e27e0 2.3.0 2021-02-03 13:15:23 +08:00
Him188
3f98d8ec2a Allow underscore in plugin id, fix #263 2021-02-01 09:14:02 +08:00
Him188
68860f7e12 Auto create 'resources' directory when absent on ConfigurePluginMainServiceFix, fix #256 2021-02-01 08:30:16 +08:00
Karlatemp
a5481accb5
2.2.2 2021-01-31 23:08:52 +08:00
Him188
24c0482d50 2.2.1 2021-01-30 22:00:45 +08:00
Him188
2a0cc6ca16 Fix publishing 2021-01-30 14:49:32 +08:00
Him188
11c75e686c Fix PluginMainLineMarkerProvider icon 2021-01-29 13:04:44 +08:00
Him188
90c6c7be15 idea: disable declaration checkers if mirai-console dependency not found 2021-01-29 13:04:20 +08:00
Him188
6c71783498 Fix CommandDeclarationChecker 2021-01-29 12:43:42 +08:00
Him188
52df8ef432 2.2.0 2021-01-29 12:21:51 +08:00
Him188
2d69c6ae10 Improve inspection performance 2021-01-29 10:23:18 +08:00
Him188
445cfd07c3 Migrate deprecated usages of LineMarkerInfo 2021-01-29 09:30:54 +08:00
Him188
b254018a74 Add README for mirai-console-intellij 2021-01-29 09:05:59 +08:00
Him188
4769a0995d Extract ResolveContext and RestrictedScope to separate modules 2021-01-29 07:44:22 +08:00
Him188
fb983f76a9 Merge remote-tracking branch 'console/master'
# Conflicts:
#	tools/gradle-plugin/src/VersionConstants.kt
2021-01-28 12:00:17 +08:00
Him188
d9128e00e8 2.2.0-dev-5 2021-01-28 11:59:14 +08:00
Him188
6624cc3b4e Drop kapt 2021-01-28 10:29:10 +08:00
Him188
2e4ca12929 Configure experimental annotations, binary compatibility validator, dokka, build, publishing, for mirai-console. 2021-01-28 10:13:42 +08:00
Him188
4432ae30df Include mirai-console in mirai project build 2021-01-28 09:32:22 +08:00
Him188
64c7770b56 Update UsingStringPlusMessage inspection message 2021-01-16 15:10:16 +08:00
Him188
1d44ad1520 Fix duplicated inspection shortName 2021-01-16 14:56:47 +08:00
Him188
d5827f3088 Support PluginMainServiceNotConfiguredInspection for Java 2021-01-16 13:13:45 +08:00
Him188
2947a7c162 2.0.0 2021-01-15 18:13:41 +08:00
Him188
a81cd2239c Update docs 2021-01-14 17:21:50 +08:00
Him188
d422d8e173 IJ Plugin since 201..215 2021-01-12 19:12:36 +08:00
Him188
18affb2b0c 2.0-RC 2021-01-12 19:00:29 +08:00
Him188
0b957d6475 Update permitteeIds to new temp user structure 2021-01-12 17:31:10 +08:00
Him188
d13e1e6d44 2.0-RC-dev-1 2021-01-10 23:43:54 +08:00
Him188
1a2d484a45 Update to mirai-core 2.0-RC, add StrangerCommandSender, OtherClientCommandSender, etc. 2021-01-10 21:56:27 +08:00
Him188
7af1821fa6 Code cleanup 2020-12-30 16:53:38 +08:00
Him188
1160ff2ad2 Merge remote-tracking branch 'origin/master' 2020-12-30 16:51:15 +08:00
Him188
f8b6e8a1fa Support complex expressions 2020-12-30 16:50:59 +08:00
Him188
280a85ad8f Code cleanup 2020-12-30 16:44:58 +08:00
Him188
203636d309 Support UsingStringPlusMessageInspection and ConvertToPlainTextFix 2020-12-29 17:23:56 +08:00
Karlatemp
ca3a207575
2.0-M2-1-dev-1 2020-12-29 11:48:39 +08:00
Him188
d2965c87f5 2.0-M2 2020-12-28 18:39:54 +08:00
Him188
7dc5485cea Update to 2.0-M2 (2.0-M2-dev-14) 2020-12-28 17:54:32 +08:00
Him188
113fc20cf9 2.0-M2-dev-4 2020-12-25 20:45:38 +08:00
Him188
e6621fbb3d 2.0-M1-1 2020-12-19 23:30:06 +08:00
Him188
94237297a1 Ignore case when filtering dependencies for buildPlugin task 2020-12-19 23:25:02 +08:00
Him188
cb2f7d5eb5 Fix IGNORED_DEPENDENCIES_IN_SHADOW: ignore mirai-core-utils 2020-12-19 23:24:08 +08:00
Him188
ab00443418 Migrate 2020-12-19 00:58:10 +08:00
Him188
e2fb094e0f Update to mirai-core 2.0-M1 2020-12-19 00:55:56 +08:00
Him188
b3b34c19d1 JSON encode defaults 2020-12-18 16:52:39 +08:00
Him188
cbbd6eb083 Update to mirai-core 2.0-M1-dev-3 2020-12-18 16:36:49 +08:00
Him188
e608a3dbbc Update excluded dependencies 2020-12-01 11:19:23 +08:00
Him188
dd8a9efd4c Add pluginJarSuffix to metadata 2020-12-01 11:07:25 +08:00
Him188
394f817e41 Introduce metadataVersion in plugin metadata 2020-12-01 10:58:01 +08:00
Him188
22f22bf65c Include all configuration when generating metadata 2020-12-01 10:56:32 +08:00
Him188
eb7b4b8eb9 Fix plugin metadata publishing 2020-12-01 10:47:21 +08:00
Him188
4ac0356ecd 1.1.0 2020-12-01 10:25:57 +08:00
Him188
f802415c7a Provide ConvertToValFix for READ_ONLY_VALUE_CANNOT_BE_VAR 2020-12-01 10:14:12 +08:00
Him188
d532a9ffa1 Fix publishing keys 2020-12-01 09:47:00 +08:00
Him188
0a2e103bf3 Simplify @since 2020-11-30 14:31:51 +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
64e0d545f4 Correct package (not affecting API) 2020-11-30 12:09:10 +08:00
Him188
55c2bdefd2 Change RESTRICTED_CONSOLE_COMMAND_OWNER to warning 2020-11-29 19:17:28 +08:00
Him188
4803a21488 Improve inspection performance 2020-11-29 16:28:31 +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
Him188
062227e072 IJ plugin: More flexible internal structure for element checkers 2020-11-29 10:41:36 +08:00
Karlatemp
df3418ef5b
Merge branch 'requirement' into 'master'
Close #225
2020-11-29 10:13:29 +08:00
Him188
525b759d9e 1.1.0-dev-30 2020-11-29 00:27:03 +08:00
Him188
b36ddf29e2 Fix gradle tasks 2020-11-29 00:26:13 +08:00
Him188
3a5d95aee3 1.1.0-dev-29 2020-11-29 00:15:45 +08:00
Him188
9a2ea32e93 Plugin publishing via gradle plugin 2020-11-29 00:15:03 +08:00
Him188
08c61dee0e 1.1.0-dev-1 2020-11-28 13:59:47 +08:00
Him188
4880601fa7 Explicit API mode for gradle-plugin module. 2020-11-28 13:57:58 +08:00
Him188
fab3727b44 Plugin publishing fundamentals, #227 2020-11-28 13:53:53 +08:00
Him188
baa447bccb Update docs 2020-11-27 13:04:59 +08:00
Karlatemp
2132e4d095
IDEA Plugin: Requirement checking 2020-11-26 22:56:51 +08:00
Him188
fe5bf0e10c 1.0.1-dev-2 2020-11-26 07:51:48 +08:00
Him188
0e0271ec78 Add notes 2020-11-25 17:30:52 +08:00
Him188
c433450be2 Update dependencies 2020-11-25 17:19:52 +08:00
Him188
226a90ad05 Configure jvm, androidJvm and common targets only 2020-11-24 17:15:04 +08:00
Him188
cd2ee20961 1.0.1-dev-1 2020-11-24 10:38:51 +08:00
Him188
5778b7c8d5 1.0.0 2020-11-20 10:42:53 +08:00
Him188
1f3434e54a Support AutoLoginConfig, close #198 2020-11-18 13:32:52 +08:00
Him188
fb061be7cf Improve plugin main checks 2020-11-13 19:18:45 +08:00
Him188
9a25ac78fa 1.0-RC2-dev-6 2020-11-13 18:24:40 +08:00
Him188
18a0a95609 Fix PluginMainServiceNotConfiguredInspection 2020-11-13 18:24:33 +08:00
Him188
d1f431e98e Fix resources packaging in buildPlugin 2020-11-13 15:35:38 +08:00
Him188
ff9c493e4b Support kotlinx-serialization builtin serializers 2020-11-13 14:32:16 +08:00
Him188
1d6dccb793 Pretty buildscript 2020-11-12 09:42:18 +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
233ff9bee3 Fix MiraiConsoleErrors 2020-11-10 10:49:48 +08:00
Him188
fb0b54f42e Update kotlin idea dependency 2020-11-10 10:49:08 +08:00
Him188
8cd4d1cca2 Update kotlin idea dependency 2020-11-10 10:48:32 +08:00
Him188
85600d35b0 Fix build 2020-11-09 15:46:05 +08:00
Him188
289a82189b Fix tests 2020-11-09 09:02:16 +08:00
Him188
e5a7df46de Code cleanup 2020-11-08 09:52:29 +08:00