Commit Graph

4507 Commits

Author SHA1 Message Date
Vladimir Krivosheev
bbd02357f4 IDEA-330211 cleanup
GitOrigin-RevId: 5d9208de9db805c074881ee979e63510c3debe05
2023-08-22 14:33:42 +00:00
Elena Lyulina
d85fce3920 [devkit] Add tests for ServiceUtil.kt
GitOrigin-RevId: d8af1992150eebc455406a0d5e9b9bd29a8efe19
2023-08-22 10:52:59 +00:00
Elena Lyulina
61c1e03246 [devkit] IDEA-298703 IDEA-321030 Implement "fun getInstance() over a property" inspection as a part of this one
GitOrigin-RevId: d22665e27d1569a53fb4f7ce8a720775d1bf234c
2023-08-22 10:52:58 +00:00
Elena Lyulina
30c7986c40 [devkit] IDEA-298703 IDEA-305592 add a check for SSR inspection Eager service initialization during classloading
GitOrigin-RevId: 12c45875706c98f58ca8029ae34d30bf9e02f4c5
2023-08-22 10:52:56 +00:00
Elena Lyulina
4701e0fd21 [devkit] IDEA-298703 improve naming, add a check for backing fields in kotlin
GitOrigin-RevId: 5e74319e790c4246b64e6d5f57c51c6930dbf19f
2023-08-22 10:52:55 +00:00
Tagir Valeev
c37d3a2931 Warnings fixed
GitOrigin-RevId: 8a3bfbe6e9a14c6ef958ee978e120fb678001456
2023-08-17 11:16:39 +00:00
Elena Lyulina
e24fc22724 [devkit] IDEA-309052 add Internal API status, update the description, fix inspection level
GitOrigin-RevId: c268570a49a0f2ee4925f598c2113260de63f9ca
2023-08-16 16:44:38 +00:00
Vladimir Krivosheev
5418192cb2 IDEA-328187 lazy icon
GitOrigin-RevId: 800bce1ba40043978c5059bc01bfe76daf4fa1d3
2023-08-15 09:33:35 +00:00
EgorKulikov
00613b9767 [kotlin] merge kt-master to master
GitOrigin-RevId: ee9a781cd33d36d8479b20d1e7181e916f7f9cfa
2023-08-11 17:14:41 +00:00
Elena Lyulina
e614f3f398 [devkit] IDEA-309052 IDEA-323001 update the description
GitOrigin-RevId: 6c73633814f8597c302d529f765f98fc7cbea075
2023-08-10 18:30:06 +00:00
Elena Lyulina
6a83be036c [devkit] IDEA-309052 IDEA-321399 Add more quickfixes, conflicts handling, more tests
GitOrigin-RevId: 81852f9cdab9241d5b9460dd31b5545b07707646
2023-08-10 18:30:03 +00:00
Vladimir Krivosheev
8dd13764a9 IDEA-326151 update hash algo for icons
GitOrigin-RevId: bb8f3acd0314190362619afb86151270b893f082
2023-08-09 14:46:20 +00:00
Yann Cébron
747ff771ba IDEA-327715 Plugins: Improve handling of "No display name is specified for configurable"
GitOrigin-RevId: bda811d0e3e38fd9bc054bc43804e841fadcef01
2023-08-08 19:11:35 +00:00
Anna Kozlova
7cb969e92c [kotlin] k2: fix name validation (KTIJ-26547)
GitOrigin-RevId: b595a7a5ca829dec2a6921ea048819f0f7581bf9
2023-08-08 11:27:44 +00:00
Nikolay Chashnikov
df21724f54 [devkit] make "Show Serialized XML for Class" work for Kotlin classes (IDEA-327691)
Also, show an error message if the caret is located not on a class identifier.

GitOrigin-RevId: 64bff5b24bd4a7bfd285be570ab8be60b4539792
2023-08-07 15:59:38 +00:00
Yann Cébron
cbaab2106b IDEA-327236 Devkit: verify EP com.intellij.statusBarWidgetFactory has defined id attribute in plugin.xml
refine message

GitOrigin-RevId: acea3e8ac6292e07589ec219787aeb5cba752495
2023-08-07 09:13:43 +00:00
Roman Shevchenko
386eee00be [project] replacing custom Path extensions with stdlib/JRE calls
GitOrigin-RevId: 521524062de528211d495d08b32afcd2132d7ebd
2023-08-04 17:11:22 +00:00
Bart van Helvert
259a3a7f90 [uast] Introduce and migrate to resolveToUElementOfType
GitOrigin-RevId: 2561711789a076cbe2761c010d7374f299ccb6ff
2023-08-03 15:01:35 +00:00
Yann Cébron
092f935ee6 DevKit: enable "Plugin.xml dynamic plugin verification" inspection by default
GitOrigin-RevId: 1dd0b8d513e58e23812075025472e1bc18fad541
2023-08-03 09:25:44 +00:00
Leonid Shalupov
347a2fe4df devkit: convert tests from groovy to java
GitOrigin-RevId: 4ccc258805caefdb8ffd483f139b53de9bd41a99
2023-08-03 00:44:20 +00:00
Yann Cébron
4db4c2dece IDEA-327236 Devkit: verify EP com.intellij.statusBarWidgetFactory has defined id attribute in plugin.xml
GitOrigin-RevId: 242d9f39f97254e61a64f8222d480ab1595b5f72
2023-08-02 10:39:34 +00:00
Daniil Ovchinnikov
8a7aa194b0 Revert "generate calls to ThreadingAssertions instead of ApplicationManager and Application in threading-annotated methods"
This reverts commit 99f29d2400585b1b296915923245e659dd5f8e5d.

GitOrigin-RevId: 98907af236392a3e14681e411049a9f1e19036ae
2023-07-28 14:54:04 +00:00
Yuriy Artamonov
4e8b1fbe03 [statistic] Counter usage collectors now can be implemented as Kotlin object
GitOrigin-RevId: 4e68e8d085ee0e09b0e32594cfc15ee4cd70c08d
2023-07-28 13:36:08 +00:00
Dmitrii Gridin
4bcc07c36c [kotlin][k2] allow to analyze from write action in some places
Such places should be rewritten in the future

^KT-60586

GitOrigin-RevId: 44766131fd99d4b172a27d314071083261161746
2023-07-28 12:56:05 +00:00
Daniil Ovchinnikov
423794b53d generate calls to ThreadingAssertions instead of ApplicationManager and Application in threading-annotated methods
GitOrigin-RevId: 99f29d2400585b1b296915923245e659dd5f8e5d
2023-07-26 11:13:27 +00:00
Tagir Valeev
0d61f28ad5 [mod-commands] ModCommandAction#asQuickFix -> LocalQuickFix#from
GitOrigin-RevId: c8f2245707d267fe2412c2fd3da17bdb68557b20
2023-07-24 14:48:57 +00:00
Dima Golovkov
0c88bfe824 Add icons for devkit-core for IntUI
GitOrigin-RevId: 52595f9b9361af39f36d24a321636a1428d073b4
2023-07-24 14:47:53 +00:00
Daniil Ovchinnikov
d1eff6c1bd move threading model helper tests to proper packages
GitOrigin-RevId: f746f0e30b41d17226e6c519eb045714c48973b8
2023-07-21 22:29:19 +00:00
Daniil Ovchinnikov
ffe28b670b move threading assertions from ApplicationImpl to a separate class
GitOrigin-RevId: c2b5daa3c4d54ba20f3404dbf59d3ef50f61f255
2023-07-21 22:29:16 +00:00
Tagir Valeev
2c12f7c579 [java-intentions] ExtendSealedClassFix: ModCommand
IntentionActionWithChoice UI replaced with multi-step ModCommand, as we don't have IntentionActionWithChoice in ModCommand API, and it's unclear whether it's a good idea, and how to implement it better

GitOrigin-RevId: a702bc672b56f4c51dd7e7b01cf5ee0ded457805
2023-07-21 11:17:34 +00:00
Vladimir Krivosheev
920807e07a convert PluginManagerCore to kotlin
GitOrigin-RevId: 623c6539d672489b0f42182e2e8866deae0ff4c2
2023-07-20 19:29:30 +00:00
Yann Cébron
333c676b68 [devkit] check known disabled inspections vs expected
GitOrigin-RevId: e77c1e39d2404385911f835d42f14476d6998eac
2023-07-20 16:24:14 +00:00
Dmitry Avdeev
4e2ddc9968 enable update from sources for any idea project
GitOrigin-RevId: ac469a7e48985f16b367f980949fc66ffc810e26
2023-07-19 08:49:56 +00:00
Pavel Porvatov
0fa4f90090 IDEA-294340 Add additional properties in SegmentedButtons (icons, tooltips etc)
GitOrigin-RevId: 9cc33f93f0d645baa3b186da91cce91dbca3a519
2023-07-18 21:55:33 +00:00
Dmitry Avdeev
024af96704 update from sources disabled for not-idea-projects
GitOrigin-RevId: 76a628249da9a06ac17d01e0ff37cee94e73d8f1
2023-07-17 22:20:44 +00:00
Dmitry Avdeev
780210537b update steps with options
GitOrigin-RevId: ed935fcc7c2d2e3e43a661f93042eab4cc7ae6ea
2023-07-17 21:15:54 +00:00
Tagir Valeev
ff28f2909f [devkit] Remove IntentionsImplicitPropertyUsageProvider.java
No more actual after 4dd821b5bd260c0722dddf78a69b8e683a792240 IPP: no more calculated properties Bas Leijdekkers 31/05/2022 16:59

GitOrigin-RevId: 4a733e79deaa2c90c92eddaaf5afa3aeda5fc3ea
2023-07-17 19:38:38 +00:00
Dmitry Krasilschikov
25b8cc92d2 IDEA-322488 remove redundant getPresentableName()
GitOrigin-RevId: 5fbb6637184b985429a5ba7cdcec63a8ff3b1d70
2023-07-16 23:32:48 +00:00
Andrey Cherkasov
034cc95216 [kotlin] KotlinNameSuggester: replace void extension functions with regular ones returning Sequence<String>
IJ-CR-110895

GitOrigin-RevId: 932a5f1ccecc08028a2788c9243575b7a4ab8a96
2023-07-15 15:42:59 +00:00
Vladimir Krivosheev
16c9cd96c7 FileEditorProvider.accept - readAction should be taken by extension if needed (part 2)
GitOrigin-RevId: 2f58d7bd0aaa2a95bea61dff8496044eccf7aef6
2023-07-13 22:30:37 +00:00
Karol Lewandowski
9deb3828d8 Fix UElement used as PSI element warning
GitOrigin-RevId: 5ca88808d4030587a2c09929f710cb4046784419
2023-07-12 11:30:46 +00:00
Karol Lewandowski
94d2cd51b8 EA-883041: Fix NPE thrown in UElementAsPsiInspection because of unsafe nullable type conversions to not nullable (!!)
GitOrigin-RevId: da9cb87b16ec06a751fd84652d0a5b49bf21b91b
2023-07-12 11:30:43 +00:00
Karol Lewandowski
164efc180e Remove unused message from DevKit bundle
GitOrigin-RevId: 1ff0163791b76b8226eb6f1231f04ad8424739ee
2023-07-12 11:30:40 +00:00
Dmitry Avdeev
0fc148ea6b logging for ide update
GitOrigin-RevId: 4b252f2f3e54781c468739fb5935d857b4df8244
2023-07-11 17:09:40 +00:00
Karol Lewandowski
e552c3c21b Make KtUElementAsPsiCheckProvider class internal
GitOrigin-RevId: 51c395ee56b2ccba558384709ef3b812565e8d80
2023-07-11 12:18:05 +00:00
Yann Cébron
e9a579e647 [devkit] update starter versions, remove Kotlin 1.8.20 workaround
GitOrigin-RevId: ff5b733c5ee680eed206752bd1e854de386eb8f5
2023-07-11 12:09:01 +00:00
Karol Lewandowski
37c6cc9fd0 Cleanup UElementAsPsiInspection tests
GitOrigin-RevId: 65941e11097b6b7085934438dc43abecc890c48f
2023-07-05 17:55:54 +00:00
Karol Lewandowski
fddcfa52f3 IDEA-307665: Fix duplicate UElement used as PsiElement warnings
The checkMethod() is called for top and all nested methods, which results in reporting issues multiple times. Solution skips checking inspection in nested methods.

GitOrigin-RevId: 904152db09fdb23a9354b34833ab95e85054f087
2023-07-05 17:55:52 +00:00
Karol Lewandowski
cb48acbc68 IDEA-307665: Fix: UElementAsPsiInspection does not work with Kotlin extension functions
GitOrigin-RevId: 91bf2fd27e58ffba9db7fc07b969fe9af8ccf8b5
2023-07-05 17:55:50 +00:00
Karol Lewandowski
517964e8f4 ForbiddenInSuspectContextMethodInspection description cleanup
GitOrigin-RevId: f209ec91dc4f1626a72aa5f8862359eb045ea7b2
2023-07-05 17:55:47 +00:00