Commit Graph

707 Commits

Author SHA1 Message Date
Yann Cébron
c6db2f5230 [devkit] Project Wizard: Update intellij.version to 2024.1.7; Change since/until build to 241-243.* (2024.1-2024.3.*)
(cherry picked from commit 534054e22547571f41fce485789c5c5c8bc53ecb)

IJ-CR-149159

GitOrigin-RevId: 41f76a131fc39d8ff1e3ecf40863c6f80eb1538a
2024-11-12 18:23:30 +00:00
Yann Cébron
f2ef6446ef [devkit] PluginXmlFunctionalTest.testExtensionsHighlighting: stabilize?!
GitOrigin-RevId: c85958ae0cc45c1f409b1c142d4d2b0f36de9c2e
2024-10-08 14:01:54 +00:00
Yann Cébron
e039f0d36b [devkit] fix PluginXmlFunctionalTest.testExtensionI18n after f8780303634c1aea8539af045c1b739b681b1225
GitOrigin-RevId: 475a29548940e602a893e2b3f5dc26230e06cafc
2024-10-08 09:57:11 +00:00
Yann Cébron
50bef321f5 [devkit] support description file features for ModCommand (IJPL-162811)
GitOrigin-RevId: fd94a5c490d3091ff6f10792ad6d459058b9bfba
2024-10-07 18:18:15 +00:00
Karol Lewandowski
0f2f3780b5 IJPL-162560: IncorrectProcessCanceledExceptionHandlingInspection: Rename to IncorrectCancellationExceptionHandlingInspection
GitOrigin-RevId: cfad09299a8124eea5747dd36d5472ae27e3c9ab
2024-09-20 12:12:43 +00:00
Karol Lewandowski
cb6b9a9a0c IJPL-162560: IncorrectProcessCanceledExceptionHandlingInspection: Add support for CancellationException in coroutine context
GitOrigin-RevId: aeaa49f2a8e27af62a3ec826b3cece3a4e0c447b
2024-09-20 12:12:43 +00:00
Karol Lewandowski
2beb8da5c2 Rename ReadOrWriteActionInServiceInitializationInspection to PotentialDeadlockInServiceInitializationInspection
GitOrigin-RevId: bcf700c2c1a8c7afa9d3d257f010413e6a0e95fb
2024-09-13 17:25:06 +00:00
Karol Lewandowski
1897480db8 Handle invokeAndWait calls in ReadOrWriteActionInServiceInitializationInspection
GitOrigin-RevId: 6c60791465c54c3e8633dde5446797c1087730ab
2024-09-13 17:25:06 +00:00
Karol Lewandowski
ed7196bf47 Improve messages in ReadOrWriteActionInServiceInitializationInspection
GitOrigin-RevId: 5d1dfb765163ebe5326da07dfc400131060dcd34
2024-09-13 17:25:06 +00:00
Yann Cébron
96090e5b02 [devkit] adjust "Must override ActionGroup.canBePerformed [...]" inspection (IJPL-116447)
GitOrigin-RevId: 02077deb11ed9d0a63dcb064192ed16f1dcff1dd
2024-09-12 15:15:07 +00:00
Yann Cébron
8223c7002e [devkit] PluginXmlFunctionalTest: cleanup
GitOrigin-RevId: d99390ed0dec76a6074d378856853387391bce6f
2024-09-11 15:16:12 +00:00
Yann Cébron
4710afbd03 [devkit] plugin.xml: check vendor@url/idea-plugin@url to have valid website link, fix tests (IJPL-160794)
GitOrigin-RevId: 5f319b9b0e22c3a3d3e24e99d27920a06b70bb70
2024-09-11 13:54:52 +00:00
Yann Cébron
88cf87918d [devkit] plugin.xml: check vendor@url/idea-plugin@url to have valid website link (IJPL-160794)
GitOrigin-RevId: 3bdaf13f12f001a286fb4978a5c3e875327e8377
2024-09-11 13:54:52 +00:00
Yann Cébron
29d7e44190 [devkit] plugin.xml: check vendor@url default value for both 'http' and 'https'
GitOrigin-RevId: 021f56d04ef27c300e8cfcdd090c8d1fbbd0e6af
2024-09-10 14:47:54 +00:00
Nikolay Chashnikov
e0f8efbb23 [devkit] support 'loading' attribute for 'module' tag in plugin.xml (IJPL-161359)
GitOrigin-RevId: 0ac07cca0eea815508edcc1363ac88fdd5b49032
2024-08-30 18:22:38 +00:00
Roman Shevchenko
026c9d84bf [devkit] checking SDK type in JUnitDevKitPatcher (EA-1014019)
GitOrigin-RevId: fe2e557e631773e07465fab4354f37b96ebb2304
2024-08-09 16:25:10 +00:00
Yann Cébron
e2fa26c890 [devkit] new inspection: JComponent must use UiDataProvider (IDEA-355274)
rewrite to UAST

GitOrigin-RevId: 3579db2e2f0416ea30ceeddb8f0416efe53c5831
2024-08-06 11:37:08 +00:00
Karol Lewandowski
d254beda2b Update General Threading Rules to Threading Model (labels and links)
GitOrigin-RevId: 45406f37f0c5387267708a880de123bd7972f5ac
2024-07-30 17:09:14 +00:00
Nikita Kudrin
cdf91bf213 [benchmarks] Renaming PerformanceTest* => Benchmark*
GitOrigin-RevId: 9963b84d51e1062acc262a8d3d3de1409a708e3b
2024-07-23 18:20:01 +00:00
Yann Cébron
4817098482 [devkit] new inspection: JComponent must use UiDataProvider (IDEA-355274)
WIP

GitOrigin-RevId: 0c8002a011a442f8cad12a001f6a2daf40e28be5
2024-07-16 19:26:30 +00:00
Yann Cébron
b47f5ffa32 [devkit] DOM: stub <idea-plugin@implementation-detail>
GitOrigin-RevId: 1a3720c91581b0e2ddd7028d6d49c997338e0af3
2024-07-10 17:07:41 +00:00
Yann Cébron
da18ede174 [devkit] Extract "Plugin should have pluginIcon.svg" check from PluginXmlValidity inspection (IDEA-355886)
GitOrigin-RevId: 52964f1e4f897556ac7fa045258340d103e2cdb5
2024-07-10 16:49:34 +00:00
Karol Lewandowski
1e46ed418c Sort inspection lists in DevkitInspectionsRegistrationCheckTest for easier assertion error reading
GitOrigin-RevId: 8b21577fb1e0a60d4a985fe2fe4289caabb559bc
2024-07-10 13:24:43 +00:00
Karol Lewandowski
6fd8c1e648 Enable UastHintedVisitorAdapterHintsInspection by default
GitOrigin-RevId: f5a55dcc77a453f5a3199f36e7ee4947ad8f73c0
2024-07-10 13:24:43 +00:00
Yann Cébron
3782dc0da3 [devkit] IJPL-115197 Provide distinct icon for V2 plugin.xml
GitOrigin-RevId: 400aaa59a3f796dc275171c10b48271bf6438d7e
2024-06-25 10:35:21 +00:00
Yann Cébron
1d0ac8c33e [devkit] "Extension class should not be public": show dedicated hint for services (IJPL-115185)
GitOrigin-RevId: 8ddceed617020cacc5e5c2cd3dfab5d3b0fbd8ad
2024-06-20 14:27:35 +00:00
Vladislav Rassokhin
78e0059e89 [platform] move isIdeaProject to a dedicated class in intellij.platform.ide.core as it's widely used
GitOrigin-RevId: 73c43defd45327b2beb761cd3a2d027d04754d7c
2024-06-20 13:09:26 +00:00
Yann Cébron
81971d10ee IJPL-156832 DevKit: extract "element should be defined in..." checks for IDEA project to separate internal inspection
GitOrigin-RevId: dc8cffb5861d5fa31e979112270ceab8758357d4
2024-06-19 13:30:10 +00:00
Karol Lewandowski
b236d7801e IJPL-115558: Fix UInjectionHost false-positive
GitOrigin-RevId: 9f8685ae87d7c64688dea2c59ddfa4af49824f45
2024-06-18 15:17:43 +00:00
Karol Lewandowski
4b134e5a2f IJPL-115558: Fix DevkitInspectionsRegistrationCheckTest
GitOrigin-RevId: 986d5376f97c13ab8ea018a7d5685f708a1b920a
2024-06-10 10:02:26 +00:00
Karol Lewandowski
18003c638d IJPL-115558: Implement UastHintedVisitorAdapterHintsInspection
GitOrigin-RevId: 29b1bd0a6565136ef34d6bf9b9c86c672a64d59f
2024-06-10 10:02:21 +00:00
Yann Cébron
3a4d44fce0 [devkit] PluginXmlFunctionalTest.testExtensionI18n: fix testdata
GitOrigin-RevId: 8af44344d517e3714e048f6914d401a57e9d5375
2024-06-04 13:53:05 +00:00
Yann Cébron
e11bc891e7 [devkit] PluginXmlFunctionalTest.testExtensionsHighlighting: fix testdata
GitOrigin-RevId: cb8a8bb9422fb054f167ad7807c31d5427a3b0cb
2024-06-04 13:53:01 +00:00
Maxim.Kolmakov
71168cb8a9 IJ-CR-135039 Replace usages of PlatformTestUtil.newPerformanceTest with PerformanceTestUtil.newPerformanceTest
GitOrigin-RevId: 4edcfadc23f7305d68b8c08cd6ae634ee4869a2e
2024-06-03 10:14:22 +00:00
Karol Lewandowski
d69af56141 Add @Nullable/@NotNull annotations manually to avoid indeterministic indexing
GitOrigin-RevId: b05f205b8d831333591202223707e22c1f22e425
2024-05-21 10:36:11 +00:00
Andrew Kozlov
b6e88e8dbf [devkit] i18n property inlined in tests
GitOrigin-RevId: 918fdb959b193758dac26292d4fc4c506e8219d9
2024-04-23 17:20:36 +00:00
Yann Cébron
2338c10c80 [docs] update/cleanup URLs to IntelliJ Platform SDK docs
GitOrigin-RevId: 0c8f39ed84ff1375617613c5a7b68d4073efbc4c
2024-04-18 20:08:53 +00:00
Alexey Kudravtsev
bea50636b2 notnull, cleanup
GitOrigin-RevId: 04cf8a716196d0c05031edc810a44bb5e1a19e38
2024-04-18 15:28:24 +00:00
Yann Cébron
08dd3d9064 [devkit] support line marker to plugin.xml for EPs with >1 CTOR parameter (IDEA-351950)
add more tests

GitOrigin-RevId: 671729c6a760a7b8aae4d39a51f5d8afc830a0ff
2024-04-17 15:24:55 +00:00
Yann Cébron
5adb80d28b [devkit] support line marker to plugin.xml for EPs with >1 CTOR parameter (IDEA-351950)
GitOrigin-RevId: 233d5d39ff8e9efb8140235ab17b44462c341c5a
2024-04-17 12:02:19 +00:00
Vladimir Krivosheev
f8b4ecb14f reduce dependency on CGLIB
GitOrigin-RevId: 5c59ba6aac4113d14c50260c4a58bc7d45249338
2024-04-10 18:11:45 +00:00
Karol Lewandowski
1076dec137 IDEA-326655: Read or write action called during service initialization
GitOrigin-RevId: 7946e238e6421167c01a9fa96425f5ca354b10c6
2024-04-05 16:55:31 +00:00
Yann Cébron
ab7e136f01 [devkit] Plugin Model V2: no "experimental" highlighting for external plugins (IDEA-261862)
GitOrigin-RevId: 9eb47c0d54bb2470d22d494e8a7c433c745d89ba
2024-04-04 12:29:46 +00:00
Yann Cébron
0aeb6c9163 [devkit] DOM: remove obsolete "on-demand" attribute (IDEA-297005)
GitOrigin-RevId: aca260207fa8830f5ea5e682b9b59a92ba2ba9cf
2024-04-04 12:29:40 +00:00
Dmitry Avdeev
043ea9029b IDEA-349217 Add i18n inspection/quick fix to live template setting files
GitOrigin-RevId: 48444ea71c01086397eb50e9b4a9974f9bd14ccc
2024-03-15 11:17:12 +00:00
Nikolay Chashnikov
a6b4669f4b [devkit] provide highlighting and completion for product-modules.xml (IDEA-348550)
DOM model is added for product-modules.xml, and ProductModulesXmlDomInspection is introduced to report errors in it. The inspection is marked as internal and disabled by default, because currently it makes sense for the 'intellij' project only.
References to modules in product-modules.xml use IntellijModuleSymbol as the target, but for now it isn't integrated in Symbol API, and its data is used directly to resolve references to modules in IntellijModuleConverter.

GitOrigin-RevId: 98f264fdad920b518125c6dfcff794d31778c1c6
2024-03-08 11:48:45 +00:00
Gregory.Shrago
04d9f4675f introduce missing soft assert methods
`softAssertEventDispatchThread`
`softAssertBackgroundThread`

Also, unify constant names.

GitOrigin-RevId: 38f598d72d93c9a3d36feabbeeee21e6e1c74fa6
2024-03-03 23:34:01 +00:00
Vladislav Rassokhin
d5b62983c6 [devkit] move isIdeaProject to ProjectIconsAccessor, reuse code
GitOrigin-RevId: 83c08ca20b9a23910c527870664f6d266b5b07fd
2024-03-01 22:11:34 +00:00
Andrey Cherkasov
32e4248809 [devkit] LightServiceMigrationInspection: configurationSchemaKey must not be specified
^IDEA-254577

GitOrigin-RevId: db3871b563b94f9d55cf607326ebca8743756e60
2024-02-28 21:41:25 +00:00
Andrey Cherkasov
3323eb5bc3 [devkit] LightServiceMigrationInspection: fix tests
^IDEA-254577

GitOrigin-RevId: e7633864e0d8541f6bbf563b2909d2b4e150a6e2
2024-02-28 21:41:21 +00:00