Commit Graph

68 Commits

Author SHA1 Message Date
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
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
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
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
d5827f3088 Support PluginMainServiceNotConfiguredInspection for Java 2021-01-16 13:13:45 +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
ab00443418 Migrate 2020-12-19 00:58:10 +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
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
fb061be7cf Improve plugin main checks 2020-11-13 19:18:45 +08:00
Him188
18a0a95609 Fix PluginMainServiceNotConfiguredInspection 2020-11-13 18:24:33 +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
e5a7df46de Code cleanup 2020-11-08 09:52:29 +08:00
Him188
d248188fac Update icon 2020-11-05 16:34:56 +08:00
Him188
03467a6f45 Simplify source root structure 2020-10-30 10:28:18 +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
Him188
2c5f9ebcf4 Update copyright 2020-10-28 13:35:15 +08:00
Him188
717c908ccf Support multiple ResolveContext kinds in single declaration 2020-10-25 13:16:27 +08:00
Him188
3ac20e3177 Change AddSerializerFix.familyName to "Mirai Console" 2020-10-23 13:11:30 +08:00
Him188
ca95add438 Add checkVersionRequirement 2020-10-23 13:06:55 +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
94398087ec Update java dependency 2020-09-19 23:51:53 +08:00
Him188
55fc85cb4d Add pluginIcon.svg 2020-09-19 14:58:32 +08:00