Commit Graph

95 Commits

Author SHA1 Message Date
Him188
9c3af046c7 IDE: remove maven dependency 2021-04-10 12:36:56 +08:00
Him188
f1d4f3fef6 Improve @ResolveContext resolution performance 2021-04-08 12:56:47 +08:00
Him188
662013e4ec Fix build and fix warnings 2021-04-08 12:43:59 +08:00
Him188
ffef5c00db IDE: Reformat files after linking Gradle project 2021-04-08 01:43:13 +08:00
Him188
a40e5731e5 Make mirai-console compatible with IDEA 2021.1, fix #323 2021-04-08 01:43:13 +08:00
Him188
2d12d8bbce IDE: Fix mirai version parsing 2021-04-08 01:43:13 +08:00
Him188
bfd8a0068c Fix template name 2021-04-04 19:30:34 +08:00
Him188
41d0c16ad1
New Project Wizard (#320)
* Add project wizard

* Add OptionsStep

* Template application fundamentals

* Extract BuildSystemType from BuildSystemStep to top-level

* Complete templates

* Fix build

* Fix build

* Support Java and Groovy, fix strings in Kotlin templates

* Add template for gradle.properties

* Disable `depends on` field

* Fix Java template

* Fix build

* Update tools/compiler-annotations/src/CheckerConstants.kt

Co-authored-by: Karlatemp <karlatemp@vip.qq.com>

* Update tools/intellij-plugin/src/creator/steps/ValidationUtil.kt

Co-authored-by: Karlatemp <karlatemp@vip.qq.com>

Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2021-03-29 18:17:50 +08:00
Him188
0a0caeeb3a ConfigurePluginMainServiceFix and PluginMainServiceNotConfiguredInspection: support multiline service files 2021-03-28 17:34:00 +08:00
Him188
a2e7112cd3 Merge remote-tracking branch 'console/master' 2021-02-24 09:09:21 +08:00
Him188
85c6387b9c Configure JVM target for mirai-console-intellij 2021-02-24 09:08:38 +08:00
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
da3d7a7e19 Redirect idea-sandbox to run/idea-sandbox to avoid being cleared by task 'clean' 2021-02-11 18:08:09 +08:00
Him188
626b8d600b 2.4-M1 2021-02-07 14:35:20 +08:00
Karlatemp
4a60a52faf
Don't config maven publish for gradle & idea plugin 2021-02-06 14:12:58 +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
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
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
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
2e4ca12929 Configure experimental annotations, binary compatibility validator, dokka, build, publishing, for mirai-console. 2021-01-28 10:13:42 +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
d422d8e173 IJ Plugin since 201..215 2021-01-12 19:12:36 +08:00
Him188
7af1821fa6 Code cleanup 2020-12-30 16:53:38 +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
Him188
113fc20cf9 2.0-M2-dev-4 2020-12-25 20:45:38 +08:00
Him188
ab00443418 Migrate 2020-12-19 00:58:10 +08:00
Him188
cbbd6eb083 Update to mirai-core 2.0-M1-dev-3 2020-12-18 16:36:49 +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
64e0d545f4 Correct package (not affecting API) 2020-11-30 12:09:10 +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
2132e4d095
IDEA Plugin: Requirement checking 2020-11-26 22:56:51 +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