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
Karol Lewandowski
1663a7df90
IDEA-189985 - RegistrationProblemsInspection - Move "Multiple components with the same interface-class are not allowed"
...
Moved to PluginXmlDomInspection.
GitOrigin-RevId: 5c4fc4ff0f807d7c1d6006ebed507ae3e0297c60
2022-11-02 07:27:06 +00:00
Karol Lewandowski
051654a94e
IDEA-189985 - RegistrationProblemsInspection - "Plugin component class must not be abstract" -> PluginXmlDomInspection
...
- Move tests to the new PluginXmlDomInspectionTest and bring back removed tests+fixes
GitOrigin-RevId: e5a9eed84c0aea5ac6fa59adb76e41c17f1e9576
2022-11-02 07:27:01 +00:00
Karol Lewandowski
5e806172c1
IDEA-189985 - PluginXmlDomInspection - Fix incorrect interfaceClass tag name
...
GitOrigin-RevId: baead483e3c7cce291f175b88cf8c44dca9f9f2b
2022-11-02 07:26:59 +00:00
Karol Lewandowski
25cfa42a8d
IDEA-189985 - PluginXmlDomInspection - add quotes in messages (fix tests)
...
GitOrigin-RevId: 8cd88d3da08d7f9a3ee1e1cf3fc5c9812a748121
2022-11-02 07:26:58 +00:00
Karol Lewandowski
3fd35d4a88
IDEA-189985 - RegistrationProblemsInspection - Remove action "Plugin component class must not be abstract" (plugin.xml)
...
It is handled by DOM API.
GitOrigin-RevId: 15b06c8bf9fa00fef061c7d182c862e939dd8f0a
2022-11-02 07:26:56 +00:00
Karol Lewandowski
9d98d7abe4
IDEA-189985 - RegistrationProblemsInspection - Remove "Action class must have a no-argument constructor" (plugin.xml)
...
It is handled by com.intellij.util.xml.impl.ExtendsClassChecker.
GitOrigin-RevId: a97700f45775f4dfcbbc24d14a52b7e6d6f1ba02
2022-11-02 07:26:47 +00:00
Karol Lewandowski
30026579af
IDEA-189985 - RegistrationProblemsInspection - Remove "Action class must extend '...'" (plugin.xml)
...
It is handled by com.intellij.util.xml.impl.ExtendsClassChecker.
GitOrigin-RevId: 15c6304a807a317b6660a9d418ed030451fbcf66
2022-11-02 07:26:44 +00:00
Karol Lewandowski
33d6620be0
IDEA-189985 - RegistrationProblemsInspection - Remove "Missing implementation-class"
...
- it is handled by DOM
GitOrigin-RevId: 841c54b57254985ec543ad8fe4cd84c81f2c8163
2022-11-02 07:26:40 +00:00
Karol Lewandowski
5a41b0623d
IDEA-189985 - RegistrationProblemsInspection - Remove "Cannot resolve {0} class" inspections
...
It is handled by DOM, and two warnings for the same issue are reported
GitOrigin-RevId: 9144954031b3cb0f15e823f4541bf177a4266eae
2022-11-02 07:26:36 +00:00
Karol Lewandowski
72176cd9b6
IDEA-189985 - RegistrationProblemsInspection - cleanup
...
GitOrigin-RevId: 6015fe4ddc5fbf38a1bc18afca451a8991399fe0
2022-10-20 13:57:51 +00:00
Karol Lewandowski
b37690992a
IDEA-189985 - UseDPIAwareInsetsInspection - rewrite to UAST
...
GitOrigin-RevId: dc2e1dbf7274fc4fe1634279dcd86bba6edcbc0f
2022-10-19 17:17:37 +00:00
Karol Lewandowski
8f6dc5cee3
IDEA-189985 - UseDPIAwareEmptyBorderInspection - rewrite to UAST
...
GitOrigin-RevId: fba675df7f2d03b534dee0f64933e3b5d7618788
2022-10-18 13:25:36 +00:00
Karol Lewandowski
4fb94664e5
IDEA-189985 - UseDPIAwareEmptyBorderInspection - cleanup UI messages
...
GitOrigin-RevId: fa4b5000a453b6e79897e7596cdbefd063e8f12a
2022-10-17 14:34:55 +00:00
Karol Lewandowski
4c556c0ce8
IDEA-189985 - UseDPIAwareEmptyBorderInspection - add tests
...
GitOrigin-RevId: 8d2aaa8cb49081f393ec72943065bc6b7ace524e
2022-10-17 14:34:42 +00:00
Yann Cébron
5ceb7a8241
IDEA-284082 Devkit: support ExtensionPointName "goto related" -> registration for UAST
...
port existing field navigation
GitOrigin-RevId: 2d21984572f02e74f091b0cd2449322282adad45
2022-10-17 09:20:40 +00:00
Yann Cébron
b4a45be687
[devkit] EP declaration "goto related": support KeyedExtensionCollector
...
GitOrigin-RevId: 85b9389b4dbce04ff8d78842e72bb0795b4ac22c
2022-10-12 17:16:46 +00:00
Yann Cébron
1396a2b558
IDEA-284490 provide code insight for EP name in code
...
GitOrigin-RevId: cf2e46bd92f903d5b7c7a56aaeb1a2c644f1192f
2022-10-12 17:16:44 +00:00
Karol Lewandowski
eee32437ec
IDEA-189985 - UseGrayInspection - rewrite to UAST
...
GitOrigin-RevId: c0b766b88a34cfccf4a349ffb0ae8cdd0d986ae8
2022-10-12 13:18:05 +00:00
Karol Lewandowski
1a1e33a61d
IDEA-189985 - UseGrayInspection - add tests for ConvertToGrayQuickFix
...
GitOrigin-RevId: cca73c34c744268c6618b65785c7f368233ffb50
2022-10-12 11:17:32 +00:00
Karol Lewandowski
966442fd9e
IDEA-189985 - UseGrayInspection - add tests
...
GitOrigin-RevId: f96f0e984dfd690d679c3ee37b8689938bd319a9
2022-10-12 11:17:25 +00:00
Karol Lewandowski
7092a11de6
IDEA-189985 - UseJBColorInspection - rewrite ConvertToJBColorConstantQuickFix fix to UAST
...
GitOrigin-RevId: d3266f14487034e0c4d9e243cb2338bdc67ba76a
2022-10-12 07:43:33 +00:00
Karol Lewandowski
bea4cecd0b
IDEA-189985 - UseJBColorInspection - rewrite inspection to UAST
...
GitOrigin-RevId: 63858fd59783750621bdca7305c7b8b31ae801f9
2022-10-12 07:43:30 +00:00
Karol Lewandowski
d52af3cd09
IDEA-189985 - UseJBColorInspection - add test case for statically imported colors
...
GitOrigin-RevId: 8ec63abe5bc5fdbec6b8b753538734aef86231bd
2022-10-12 07:43:28 +00:00
Karol Lewandowski
8a0ce082fa
IDEA-189985 - UseJBColorInspection: add tests for fixes
...
GitOrigin-RevId: c365faf2499859e4f8e5677fbc51b82ae8949449
2022-10-07 15:11:55 +00:00
Karol Lewandowski
5a2dbd67a2
IDEA-189985 - UseJBColorInspection: do not report cases like 'new JBColor(Color.BLACK, Color.WHITE)'
...
GitOrigin-RevId: d9c322d5f1fc8a86155d2611ac4dd5b09d4d9e28
2022-10-07 15:11:54 +00:00
Karol Lewandowski
a44cc689f6
IDEA-189985 - UseJBColorInspection: add tests
...
GitOrigin-RevId: 101402802bc4c0861201c3d6341630d4026aaf70
2022-10-07 15:11:52 +00:00
Karol Lewandowski
ff2c7e117e
IDEA-189985 - UnspecifiedActionsPlaceInspection - rewrite to UAST and evaluate "place" expression
...
GitOrigin-RevId: 0efd5c267928d4e98e3539c660bf04fb150ded08
2022-10-06 12:47:54 +00:00
Karol Lewandowski
1f0bd7983e
IDEA-189985 - UnsafeVfsRecursionInspection - use isInheritor() method and add tests for VirtualFile subclasses
...
GitOrigin-RevId: 18d16f4488f98a62b382d25f5749fdc57fa5b909
2022-10-06 10:01:03 +00:00
Karol Lewandowski
2c1d1e526a
IDEA-189985 - UnspecifiedActionsPlaceInspection - add support for ActionPopupMenu and inline "unknown" literal
...
GitOrigin-RevId: f1253d36a4dc90a4a53c8dfb8779035485d9e987
2022-10-06 08:42:38 +00:00
Karol Lewandowski
313b41ff64
IDEA-189985: Rename UniqueToolbarIdInspection and related files to UnspecifiedActionsPlaceInspection
...
GitOrigin-RevId: d5dbf75218000c9da3f19812afa4e80654bfff88
2022-10-06 08:42:32 +00:00
Karol Lewandowski
ce3105370c
IDEA-189985: Rewrite UnsafeVfsRecursionInspection to UAST
...
- wrap referenced symbol in single quotes according to Inspection UI Guidelines
GitOrigin-RevId: dfea310e5d01a17dc610147db562addf786e81a3
2022-10-05 13:07:53 +00:00
Karol Lewandowski
a488e44626
IDEA-189985: Rewrite UnsafeVfsRecursionInspection to UAST
...
- rewrite to UAST and add Kotlin tests
GitOrigin-RevId: a0ad6c02b161cac4fa69f5c883139afd1bdff151
2022-10-05 13:07:47 +00:00
Karol Lewandowski
cce42f4335
IDEA-189985: Rewrite UnsafeVfsRecursionInspection to UAST
...
- add inspection tests
GitOrigin-RevId: ec6e229c785abdd3cb1ffa76aecaba4d2bbbefd2
2022-10-05 13:07:40 +00:00
Kirill Smelov
8ef6e27839
IJ-CR-95222 Add testdata
...
GitOrigin-RevId: e27404aae9ffba6b130397df05f818877082d7af
2022-10-05 10:51:49 +00:00
Karol Lewandowski
9473af4b87
IDEA-189985: Rewrite UnsafeReturnStatementVisitorInspection to UAST + tests for Kotlin and Java fix
...
GitOrigin-RevId: 66e3f5ea524a9656105a67d240c14580f9e7b7c5
2022-10-04 09:47:46 +00:00
Yann Cébron
91967ab634
[devkit] PluginXmlFunctionalTest.testExtensionsHighlighting: fix testdata
...
GitOrigin-RevId: dac323e7d9b7def992aac37f9671255167db12c9
2022-09-28 10:56:11 +00:00
Karol Lewandowski
0e5933ac50
IDEA-189985: Add tests for UnsafeReturnStatementVisitorInspection.MySkipVisitFix
...
GitOrigin-RevId: 69962409c9c6bd31302464cef840f656a12d5245
2022-09-27 17:08:46 +00:00