Andrey Cherkasov
278a5b80a8
[devkit] LightServiceMustBeFinal: suggest removing the 'Service' annotation on abstract classes and interfaces
...
IJ-CR-102194
GitOrigin-RevId: d7bf3203b32d9da35df621ed7cdc5c4c68c775c8
2023-04-13 00:38:41 +00:00
Andrey Cherkasov
f771794673
[devkit] Make test classes internal
...
IJ-CR-102194
GitOrigin-RevId: 03a6ca4157cd5a9cde3e7f41bf84d67da259c858
2023-04-12 14:51:57 +00:00
Andrey Cherkasov
86d94c38c6
[devkit] MismatchedLightServiceLevelAndCtorInspection: remove "Change method parameters to 'CoroutineScope'" quick-fix
...
IJ-CR-102194
GitOrigin-RevId: 7eaabce8f02394db756b101cb7dd3be8eba5a2aa
2023-04-12 14:51:54 +00:00
Andrey Cherkasov
7930871894
[devkit] MismatchedLightServiceLevelAndCtorInspection: fix inspection name and editor messages
...
IJ-CR-102194
GitOrigin-RevId: 8c01a35a4c885a56c1d632fe6b91e4246428c2d4
2023-04-12 14:51:48 +00:00
Andrey Cherkasov
56e57c4179
[java-intentions] ModifierFix: Avoid adding modifier on separate line if modifier list consists of annotations only
...
IJ-CR-102194
GitOrigin-RevId: 50d4f16ee583d75be79f8c77126a5d20944bddef
2023-04-12 14:51:45 +00:00
Andrey Cherkasov
c27a5fdc2f
[devkit] RetrievingServiceInspection: fix tests
...
IJ-CR-102194
GitOrigin-RevId: b34950f81f00f95e966da6f299e05c255a4785f1
2023-04-12 14:51:42 +00:00
Andrey Cherkasov
5a8799ac08
[devkit] MismatchedLightServiceLevelAndCtorInspection: rename tests and add new ones
...
IJ-CR-102194
GitOrigin-RevId: 4aee2694528a09385f7c7c04aa59356e90c2d456
2023-04-12 14:51:39 +00:00
Andrey Cherkasov
f1191b16e7
[devkit] Mismatch when retrieving a service: change severity from warning to error
...
IJ-CR-102194
GitOrigin-RevId: 5c3657d2649f890a448385b4f274e98228058637
2023-04-12 14:51:21 +00:00
Andrey Cherkasov
158d9bd4aa
[devkit] "Can be replaced with 'getInstance' call": change severity from warning to weak warning
...
IJ-CR-102194
GitOrigin-RevId: 8eb40e5f7050d768dacf40c4d049660b87fd4d3f
2023-04-12 14:51:00 +00:00
Andrey Cherkasov
1f10aab6dd
[devkit] Reuse the isInstantiatedExtension method in ExtensionClassShouldBeFinalAnd(Internal/PackagePrivate)Inspection
...
IJ-CR-102810
GitOrigin-RevId: b344367d787827f8303d858915c0b0e5a0b4ac8b
2023-04-12 14:50:51 +00:00
Andrey Cherkasov
e16ac2c948
[devkit] "Extension class should be final and package-private/internal" inspections: renaming
...
IJ-CR-102810
GitOrigin-RevId: c3898c97ff2caca04d96760146cc3bdb81bef9c1
2023-04-12 14:50:47 +00:00
Elena Lyulina
4f8cfb4ce1
[devkit] IDEA-298703 rewrite for UAST to support kotlin
...
GitOrigin-RevId: 42c15ffe74ecc471e845ec9107efc2fd3695e8ae
2023-04-06 19:10:26 +00:00
Andrey Cherkasov
620f8d70c9
[DevKit] Decompose NonFinalOrNonInternalExtensionClassInspection into Kotlin and non-Kotlin parts
...
IDEA-316510
IJ-CR-102810
GitOrigin-RevId: 8c8455ef6e027db50a8b8c9821abefd288ae3c87
2023-03-31 19:38:54 +00:00
Elena Lyulina
8a21dc30d6
[devkit] IDEA-294395 filter out services mentioned in extensions' attributes
...
GitOrigin-RevId: 5f55e2176907143ae07bb828ac11222ab5f1b3ba
2023-03-31 13:39:45 +00:00
Elena Lyulina
271c7f2045
[devkit] IDEA-298703 filter out explict constructor calls
...
GitOrigin-RevId: d6013518960b878dd13fe6d959e08f3460c2e818
2023-03-31 13:39:40 +00:00
Karol Lewandowski
3644a5a698
IDEA-301191: [DevKit] Inspection to discourage declaration of TokenSets in ParserDefinition
...
- Optimize inspection
- Add non-ParserDefinition test cases
GitOrigin-RevId: 70c2d08ca092e0df38a1cc0ccc5556d25839bb28
2023-03-28 12:59:02 +00:00
Karol Lewandowski
e264775f3a
IDEA-301191: [DevKit] Inspection to discourage declaration of TokenSets in ParserDefinition
...
Fix "non-core" -> "non-platform" leftovers
GitOrigin-RevId: 2dbf7d5074b6071f725ecdbed00e931fdf9cdd83
2023-03-27 15:52:09 +00:00
Andrey Cherkasov
aa37a0eb71
[devKit] New inspection: A service can be converted to a light one
...
IDEA-254577
GitOrigin-RevId: 7b3202cfe8d37173d68b3100abc47f41212bf8f1
2023-03-27 12:24:13 +00:00
Karol Lewandowski
7e7ccd372d
IDEA-301191: [DevKit] Inspection to discourage declaration of TokenSets in ParserDefinition
...
GitOrigin-RevId: cab7298c1babe62754272d529bd4e471cf3b17c6
2023-03-24 16:49:28 +00:00
Andrey Cherkasov
8e56c5dcf2
[jvm + devKit] Add action to change annotation attribute and use it in MismatchedLightServiceLevelAndCtorInspection
...
IJ-CR-102194
GitOrigin-RevId: bdef6309bfcaf710db8bdcc773ac43757856e8f1
2023-03-13 12:53:51 +00:00
Andrey Cherkasov
c9a55f3ac5
[devKit] RetrievingServiceInspection reports problems not only when retrieving light services but also regular ones
...
IJ-CR-102194
GitOrigin-RevId: e25dd9f51149452c18bcd9b33859660a9eff9aa5
2023-03-13 12:53:45 +00:00
Yann Cébron
fd56996333
[devkit] NonFinalOrNonInternalExtensionClassInspectionTestBase: convert to light test using fake EP declaration
...
GitOrigin-RevId: 7c94d64c9e2da826f1d66655777ded8e0ed0d8fb
2023-03-07 18:38:29 +00:00
Yann Cébron
493b07abdd
[devkit] ExtensionLocatorTest: avoid custom ProjectDescriptor
...
GitOrigin-RevId: 56fb0240546c9df11683a42b5d5c3ca443c53243
2023-03-07 17:10:49 +00:00
Karol Lewandowski
1fe1329497
IDEA-306218: Improve DevKit tests performance
...
GitOrigin-RevId: 225c1c524a555a59b33a210df66ff4c8ae233369
2023-03-07 14:01:05 +00:00
Vladimir Krivosheev
ac2c42d149
update test data
...
GitOrigin-RevId: fad0914131c22aeb50a0e6e003ac20452bcb2ba7
2023-03-07 08:47:19 +00:00
Vladimir Krivosheev
43d2a64828
restore showViewer (still used by platform), remove chrome16, output.png and showHiddens.png icons (deprecated for a long time)
...
GitOrigin-RevId: 06ef397f4488776bb492a9f296f6acfa0949aaf4
2023-03-06 10:12:22 +00:00
elena-lyulina
d3bf1aa73c
[devkit] IDEA-298703 Add Java tests
...
GitOrigin-RevId: 846b81ffd8151c71e481d3b5a71171fa004fa6f7
2023-02-24 20:46:27 +00:00
elena-lyulina
e1451a3aec
[devkit] IDEA-309523 add Java/Kotlin tests
...
GitOrigin-RevId: 4ae22ecf0e898859e76c704366044de20399e848
2023-02-24 18:38:49 +00:00
elena-lyulina
1cc664e5e9
[devkit] IDEA-294395 Add component check, skip irrelevant classes, wording, more tests
...
GitOrigin-RevId: c05ea9cd227a3b1d009a55acf737b6aaaf6bb73c
2023-02-23 01:24:34 +00:00
elena-lyulina
df2303bbdd
[devkit] IDEA-294395 Add java/kotlin tests for extension/service overlapping registration
...
GitOrigin-RevId: 52fb543a201008e5ba3d9b630c7f7b6322209dde
2023-02-23 01:24:30 +00:00
Andrey Cherkasov
8b09356f76
[devKit] IJ-CR-102194 LightServiceMustBeFinal: highlight the problem as an error
...
IDEA-236032
GitOrigin-RevId: 869ef0fe709630c7c6ebe6db04ea370dd415edc8
2023-02-22 17:57:05 +00:00
Andrey Cherkasov
cfb3b25b2b
[devKit] IJ-CR-102194 Split LightServiceInspection into three inspections
...
IDEA-236032
GitOrigin-RevId: 0ec3219b2893b1e597f99bcbb2c632a9a28174a7
2023-02-22 17:57:02 +00:00
Yann Cébron
9f2fc8d213
IDEA-284082 Devkit: support ExtensionPointName "goto related" -> registration for UAST - support Super-CTOR calls
...
GitOrigin-RevId: ffd58b4b1a135dc3337d10d93865565793258061
2023-02-22 14:16:13 +00:00
Yann Cébron
eaa4f2d6c8
IDEA-313466 Devkit: support ApiStatus.Obsolete as EP status
...
GitOrigin-RevId: 9cffe51fb6529807c751c71c5184914999d99687
2023-02-16 18:56:02 +00:00
Andrey Cherkasov
3aedf5dd0b
[devKit] New inspection: Extension class should be final and internal (or package-private)
...
IDEA-309065
GitOrigin-RevId: 6e558abd4b09893351d37bc17d55dde3424346f9
2023-02-13 16:06:48 +00:00
Andrey Cherkasov
7e7a7a50f0
[devkit] IDEA-236032 LightServiceInspection: add description, quick-fixes and tests
...
IDEA-301162
GitOrigin-RevId: 259310fcff6e1f36260c7a0ebc0915deaa617796
2023-02-06 16:15:24 +00:00
Andrey Cherkasov
209eb8fd3f
[devkit] IDEA-236032 LightServiceInspection: fixes and tests
...
GitOrigin-RevId: acb15a158ddb34bb13f254133a5d3d072768ef81
2023-02-03 16:11:41 +00:00
Yuriy Artamonov
8385c58c3f
[devkit] Support CoroutineScope injected into service constructor
...
GitOrigin-RevId: dc97594dbf40faf7b70482d0e625fbc90bf9f95c
2023-01-13 18:42:03 +00:00
Yann Cébron
3820d859da
IDEA-284490 PluginConfigReferenceTest#testExtensionPointHighlighting: add missing test data
...
GitOrigin-RevId: cbaceb5f39216fbb60096408385d3e004faebd42
2023-01-10 19:01:15 +00:00
Alexey Belkov
390ba59bc2
Fix spelling of "quick-fix" phrase in messages
...
It should be hyphenated: https://www.jetbrains.com/help/idea/resolving-problems.html
GitOrigin-RevId: a3cc01babc32c3edfbe59594fa3756a415cc169b
2022-12-07 15:26:37 +00:00
Roland Illig
225d9a7d0f
Enable test for inspecting invalid extension point names
...
GitOrigin-RevId: f3d7af94cadcbe749ae09679b97c0b382291f1e9
2022-11-22 21:09:15 +00:00
Karol Lewandowski
437cf0adef
IDEA-189985 - QuickFixGetFamilyNameViolationInspection - Rewrite to UAST
...
GitOrigin-RevId: fb5a48b720b173c654d6f64b91a6037d2fc7ee3f
2022-11-16 17:17:15 +00:00
Karol Lewandowski
0aaee9b7aa
IDEA-189985 - QuickFixGetFamilyNameViolationInspection - Add missing test cases
...
GitOrigin-RevId: 297d3291e08c89cf58d363d0e091e09c4c37d122
2022-11-16 17:17:11 +00:00
Karol Lewandowski
edea76428a
IDEA-189985 - QuickFixGetFamilyNameViolationInspection - Tests cleanup
...
GitOrigin-RevId: 2e8d054d86e8bab6c6f3f31bc4047aa957ed4f92
2022-11-16 17:17:08 +00:00
Karol Lewandowski
91ef67e5d1
IDEA-189985 - UseCoupleInspection - Rewrite to UAST
...
GitOrigin-RevId: 8ede9ec2b600aa2ccb9123ceafc7bbdd5bc42bb1
2022-11-09 11:10:46 +00:00
Karol Lewandowski
111d8e1931
IDEA-189985 - UseCoupleInspection - Add tests
...
GitOrigin-RevId: f58d7c20e47ee03d8cd17eee70ec77f38b94eeb0
2022-11-08 16:23:25 +00:00
Karol Lewandowski
14f5aba4e7
IDEA-189985 - UseEqualsInspection - Revert Java fix and add tests
...
GitOrigin-RevId: 2c33417a03a0aa5fa49ddbe9dd81f8af8b0b6670
2022-11-08 09:48:44 +00:00
Karol Lewandowski
961ded48c9
IDEA-189985 - UseEqualsInspection - Change inspection message
...
The current message:
"''{0}'' instances should be compared by 'equals()', not '=='"
is invalid for e.g. Kotlin, where `==` is equality comparison.
GitOrigin-RevId: d49d98f3e72b80839d413509f8aec873aaa030bf
2022-11-08 09:48:41 +00:00
Karol Lewandowski
21d9d47e6a
IDEA-189985 - RegistrationProblemsInspection - Move action tests from PluginXmlFunctionalTest to specific classes
...
GitOrigin-RevId: b4779798a4fd314163a7579926375bbe365b73a8
2022-11-03 19:38:27 +00:00
Karol Lewandowski
375689d19f
IDEA-189985 - RegistrationProblemsInspection - Split component and actions tests into separate classes
...
GitOrigin-RevId: c6f012c1caab852add1505a2b412f99647728b43
2022-11-03 19:38:24 +00:00