Petr Kudriavtsev
c192b82298
Addressed review comments 3
...
* test case moved into a dedicated package
(cherry picked from commit 8c6df41f0e01bccf74e432572ebfeb71478594a0)
IJ-CR-135637
GitOrigin-RevId: ae9786f0c2694a411cb89ad36023de0cbef8d6e9
2024-06-07 13:37:38 +00:00
Petr Kudriavtsev
da4e9151ab
Addressed review comments
...
* added comment for the new API method
* added test
(cherry picked from commit 9ceee785c0551eef3bc1e106b968b5b473444c6c)
IJ-CR-135637
GitOrigin-RevId: cc0aac906d565cae2a516332b2371fb4c383995a
2024-06-07 13:37:31 +00:00
Tagir Valeev
310d7e251c
[java-inspections] Merge UnusedSymbolLocalInspection and UnusedSymbolLocalInspectionBase
...
Preparation for IDEA-349083 Reimplement unused inspection not as a part of PostHighlightingVisitor, but as a normal inspection
GitOrigin-RevId: 6faa03b4ad81f4f983e49a9894b938a656b8ff00
2024-03-20 14:22:17 +00:00
Vladimir Krivosheev
ed86ac7ace
createOrLoadProject - set runPostStartUpActivities by default to false
...
GitOrigin-RevId: 08d724f469d3ea293147f28977916cea1f41918c
2024-03-09 21:16:18 +00:00
Bart van Helvert
271d362d14
[junit] Move Java JUnit inspections into JUnit plugin
...
#IDEA-341929 Fixed
GitOrigin-RevId: 7dd42203f64380382b3d39c77a409fe652b09941
2023-12-28 23:17:28 +00:00
alexey.afanasiev
37fa7c13b1
QD-6980 Reorganise InspectionMetaInformationService API
...
GitOrigin-RevId: 9ae7c43f5e0f0a7bad41dcb738e5daebcfdb7e2b
2023-11-19 13:08:15 +00:00
alexey.afanasiev
f5aea02726
fixup! [qodana] QD-7190 Update info, only Java | Security/Serialization issues/Probable bugs, Spring | Security
...
GitOrigin-RevId: 423477b95f83a3c9ff9dd6d76b5c26b513f3ba64
2023-11-15 19:35:10 +00:00
alexey.afanasiev
3da7d31bb3
QD-6980 Add InspectionMetaInformationService for obtaining cweIds
...
GitOrigin-RevId: 666e33a25a23c39fc9f182dd8e5f827203a9c2b7
2023-11-13 20:07:16 +00:00
Roman Shevchenko
18632a4398
[project] replacing even more custom Path extensions with stdlib/JRE calls
...
GitOrigin-RevId: 600179c80b09d62490a4ca19c3c2b6be9195fdd8
2023-09-06 14:02:32 +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
Tagir Valeev
4f22d33eac
[java-tests] Test sources moved from InspectionGadgets/IntentionPowerPak to java-tests
...
GitOrigin-RevId: 6740376193d319be31f0ae52679a06b5379d5467
2023-08-01 13:06:36 +00:00
Roman Shevchenko
66454fafda
Cleanup (some cruft around inspection profiles)
...
Inlining pointless intermediate `NewInspectionProfile`; minor optimization; typos; formatting.
GitOrigin-RevId: fe8f81038208eb36478874e4aca5cac7ce5db83b
2023-07-06 21:37:50 +00:00
Bart van Helvert
2902091094
[java-test] Size check to isEmpty
...
GitOrigin-RevId: 7bc281cab9f0f65f470eefe20939337442ae2938
2023-06-23 17:26:29 +00:00
Bart van Helvert
cf40811d53
[test] Set test inspections to error level
...
Makes test inspections that report code that will give a guaranteed runtime error be at error level by default.
GitOrigin-RevId: 5fd05b4e8e9f9f1f80fa87280eb8166e6dd497f6
2023-06-23 17:26:28 +00:00
Yann Cébron
56b512ff70
[devkit] remove redundant suppress
...
GitOrigin-RevId: a337e67094ce92c4c8dfec218d602fb68a28285a
2023-05-25 15:53:09 +00:00
Tagir Valeev
7758aba811
[intentions] Experimental OptPaneUtils to allow using OptPane UI outside of inspection options
...
Used in EditRangeIntention and EditContractIntention
GitOrigin-RevId: 1f7b04e67e9df45aadc114e54d907f891e00d088
2023-05-15 09:59:21 +00:00
Tagir Valeev
8e08ed7169
[inspection-options] Pass project to customized options pane
...
Fixes IDEA-318984 Choose NotNull Annotation hangs with infinite "Searching..." indicator
GitOrigin-RevId: 3c575072412a95d0aad5854f4953349748ca3dc5
2023-05-05 19:45:28 +00:00
Tagir Valeev
aa893057b4
Revert "[code-inspections] Pass OptionController to custom component renderer"
...
This reverts commit fc161fa7814eea4b3695c3473b22da31bb41a7e6.
GitOrigin-RevId: 89521fd2c5dc123e8b91833499c642b8e3533481
2023-05-05 19:45:25 +00:00
Vladimir Krivosheev
f785d0c406
Revert "Revert "[code-inspections] Pass OptionController to custom component renderer""
...
This reverts commit 5c6184c0ab2808a7d54e9e9576ffa81a42c8e68a.
GitOrigin-RevId: 5b078d3b337591d0bcd7d0cc756d4273085d684b
2023-05-04 20:15:13 +00:00
Vladimir Krivosheev
030668f02d
Revert "[inspection-options] Pass project to customized options pane"
...
This reverts commit ff8fbe0e1e29b503a000ee311bebe7c6568fb752.
GitOrigin-RevId: f20f3638309a4058bdedae8dbbadd37188f9a8f3
2023-05-04 20:15:13 +00:00
Tagir Valeev
40b4546e44
[inspection-options] Pass project to customized options pane
...
Fixes IDEA-318984 Choose NotNull Annotation hangs with infinite "Searching..." indicator
GitOrigin-RevId: ff8fbe0e1e29b503a000ee311bebe7c6568fb752
2023-05-04 17:26:59 +00:00
Tagir Valeev
4b47a409b2
Revert "[code-inspections] Pass OptionController to custom component renderer"
...
This reverts commit fc161fa7814eea4b3695c3473b22da31bb41a7e6.
GitOrigin-RevId: 5c6184c0ab2808a7d54e9e9576ffa81a42c8e68a
2023-05-04 17:26:56 +00:00
Tagir Valeev
6efe690841
[code-inspections] Pass OptionController to custom component renderer
...
GitOrigin-RevId: fc161fa7814eea4b3695c3473b22da31bb41a7e6
2023-05-02 09:02:59 +00:00
Vladimir Krivosheev
3f3e985ff0
IDEA-318843 storage tracker per project
...
GitOrigin-RevId: 8d045ad6b7fd94a8dedf3ddd84dca6a0b589bee1
2023-04-26 15:03:33 +00:00
Tagir Valeev
33dce802ee
[inspections] OptionController#onValue: generic
...
GitOrigin-RevId: 73067ff85e024fd94ebdde5e78e31bbc4e5d153c
2023-01-16 12:18:33 +00:00
Tagir Valeev
66f8ecf18b
[inspections] Support double numbers; use in PhpComplexClassInspection
...
GitOrigin-RevId: 4af702e81cf1ef1dcd69e6a4111fd9831a47013c
2023-01-10 19:30:45 +00:00
Tagir Valeev
8e69df225a
[inspections] Pass Project to StringValidator; use it in JavaClassValidator
...
GitOrigin-RevId: 19fc9b2d0145396c89e77fbe7ce368e0518ffcad
2023-01-10 19:30:38 +00:00
Tagir Valeev
c17568b2c5
[inspections] OptPane#asCheckbox
...
GitOrigin-RevId: 51b8780f137e9faf970bd696b417baf5e3e6168b
2023-01-10 19:30:33 +00:00
Tagir Valeev
fb6e8d4302
[inspections] OptionController; composing options
...
GitOrigin-RevId: 1ef89dce3166f99847ed86263d3a58f3efa0fd03
2022-12-22 21:07:34 +00:00
Tagir Valeev
9b5d63df1b
[inspections] OptPane.asTab
...
GitOrigin-RevId: 4d196b3b0a2bc129a9111697b75e94de6588998e
2022-12-22 21:07:31 +00:00
Tagir Valeev
03bc35c2cf
[inspections] Pass Disposable to InspectionOptionPaneRenderer
...
GitOrigin-RevId: 7fc375a1847dbff98af94d89b1ab1b949cb86619
2022-12-21 09:22:56 +00:00
Tagir Valeev
d0ef7fb19e
[inspections] OptCustom: rework now rendered with separate extensions; example with configureAnnotationsButton
...
I still hesitate to store custom object inside OptCustom, as this would prevent it from being easily serializable and transferable to frontends. We assume that the whole information necessary to render a specific custom control is serialized into the additional 'data' string. We'll see how it works.
GitOrigin-RevId: 50c35ad0640ba4975a9adeae21a434f2c1bc0fd2
2022-12-18 13:58:49 +00:00
Tagir Valeev
5fd18caf28
[inspections] OptCustom: component instead of control
...
GitOrigin-RevId: 4f2069235d26053bd0dbfc10be33e4588088829d
2022-12-18 13:58:47 +00:00
Tagir Valeev
fdc9b73dab
[inspections] OptCheckbox description
...
GitOrigin-RevId: 604235cf970d9b7e0b4158e772c072e2020fab0e
2022-12-16 15:42:30 +00:00
Louis Vignier
65d42e3782
[codeInspection.ui] Render inspection options with the UI DSL
...
GitOrigin-RevId: 53acabddccdc3dc5ace44b77add2c99b0bd1aa7d
2022-12-14 12:17:39 +00:00
Tagir Valeev
0a55db0c8e
[inspections] Allow custom read/write of options (IDEA-306800)
...
GitOrigin-RevId: 56fd02bbdb675b5eeeb3ed790b22aa7f95c550a9
2022-12-11 13:00:34 +00:00
Tagir Valeev
702594deda
[code-inspections] OptControl: rename readValue/writeValue to getValue/setValue
...
GitOrigin-RevId: 9ebd6216ea29c3605af6e82b6f44da484c03cc29
2022-12-05 11:48:26 +00:00
Tagir Valeev
456195648b
[code-inspections] InspectionOptionPaneRenderer: custom control API reworked; used in DataFlowInspection
...
GitOrigin-RevId: 97a03b45b4981cb54f15f86cfc3b1e6c1c21736e
2022-11-29 19:49:59 +00:00
Tagir Valeev
ce81c45d6d
[code-inspections] OptControl: read/write methods; tests; better documentation for bindId
...
GitOrigin-RevId: 14636820d157bb15a094528582c4534f6f091eb1
2022-11-29 19:49:56 +00:00
Tagir Valeev
15271d5cd2
[code-inspections] OptPane: validate that bindIds are unique
...
GitOrigin-RevId: 4d4cac1bf2d47bc8fe094e5adb835b4f9887ae09
2022-11-29 17:03:21 +00:00
Tagir Valeev
adb060863f
Text blocks used
...
GitOrigin-RevId: 7db538c0a10131a3f946436c85b42fe7d7dc5b10
2022-09-29 12:58:29 +00:00
Anna Kozlova
c6c352c566
[tests] avoid accessing production internals in tests
...
GitOrigin-RevId: c4ebd88a18b666088d2b06405ee7cf699bf10563
2022-07-01 17:39:20 +00:00
Anna Kozlova
c7789d9ecd
[highlighting attributes] forbid storing defaults in the xml
...
otherwise old IDEA versions would be incompatible with new xml-s
GitOrigin-RevId: 09e5fa08d66681d464f02564ebc8c428f4a4bed0
2022-06-23 16:34:36 +00:00
Bart van Helvert
eec349542d
[java] Fix JUnit malformed decl inspection merger test
...
GitOrigin-RevId: ebdc440fe7182e5a32e2adfb63d15174f6cb317a
2022-06-23 15:15:20 +00:00
Bart van Helvert
f4bd22020b
[jvm] IDEA-296557 Convert "Test in production code" inspections to UAST and merge them together
...
GitOrigin-RevId: a084452c8af9d275285c2aa3591166552fec123b
2022-06-23 15:15:19 +00:00
Bart van Helvert
dbc74393d4
[jvm] IDEA-294238 Merge JUnit malformed member inspections
...
GitOrigin-RevId: 41cf58abee798f395f8071b0900d0d26956f8994
2022-05-30 23:36:50 +00:00
Alexandr Suhinin
28256f7921
[javadoc inspection] IDEA-291759: remove JavaDocLocalInspection (part 1)
...
GitOrigin-RevId: 8c757b711078cb47b6259f588906e99970b77f90
2022-05-17 10:04:46 +00:00
Alexey Kudravtsev
aad0917d61
make forceInitProfilesInTestUntil more structural to enforce correct usage; fix incorrect one
...
GitOrigin-RevId: 05fda75c86a5f254660aeee59a3698162ae5db3b
2022-05-03 10:50:04 +00:00
Anna Kozlova
e9b02eb233
[java] get rid of ProblemHighlightType.LIKE_UNUSED_SYMBOL in favor of editor attributes (IDEA-27007)
...
GitOrigin-RevId: 950de9dbd0cf727c6baa7363783e1723fb398a62
2022-04-26 11:39:49 +00:00
Anna Kozlova
6e0b1aa0d5
[inspections] text attributes: test for serialization
...
GitOrigin-RevId: 05f15e19d62edb758452e1145cf2888975f14b08
2022-04-22 18:58:39 +00:00