23249 Commits
Author SHA1 Message Date
Tagir Valeevandintellij-monorepo-bot 2296d8ba58 IDEA-387157 [java-inspection] JSpecify: Stream.filter(Objects::nonNull) not recognized as null-narrowing by nullability inspection
Do not reset nullability of a proper class type during the substitution


(cherry picked from commit ba1134c2b296e150e63800e45713a79026739253)

IJ-CR-197208

GitOrigin-RevId: 3b840e9bd8f2e68cf177f18aea03d6708a5df2a5
2026-03-24 12:10:42 +00:00
Aleksey Dobryninandintellij-monorepo-bot 199a0c9301 [junit]: IDEA-386776 Add JUnit6 version detection
(cherry picked from commit e731adcf24253c6ceac0105ccb5a6687f309df4b)

IJ-CR-195055

GitOrigin-RevId: 350b441c71d83d7b2cae3a815ef4e0eabb1f42b8
2026-03-16 11:19:22 +00:00
Tagir Valeevandintellij-monorepo-bot 132f486314 IDEA-380311 [java-highlighting] Invalid code "cannot referenced from static context" not highlighted properly in Java
Follow-up: proper qualified references handling


(cherry picked from commit c7f470065ab5c4ad97c9fb6ba02d6fa603e62a84)

IJ-CR-194233

GitOrigin-RevId: 62df1ea06043b6475aa868ab70f0f413261c89d6
2026-03-04 10:47:55 +00:00
Tagir Valeevandintellij-monorepo-bot a4f2bd1574 IDEA-380311 [java-highlighting] Invalid code "cannot referenced from static context" not highlighted properly in Java
(cherry picked from commit e1d8918aca30a74ffbf3d3bbf8af07c6f45b5244)

IJ-CR-194233

GitOrigin-RevId: f5918ea65adb2bf6ccae0835c52e826b88deb0ad
2026-03-04 10:47:55 +00:00
Max Medvedevandintellij-monorepo-bot 198edd9e72 RUST-19514 fix unsynchronized context installation on file level annotations
(cherry picked from commit 8d24914155332f0ed5eb63814686e26da5d307aa)

IJ-CR-192608

GitOrigin-RevId: 19e52e7bd8fde57b215b2a2c9abb70b2ad99c415
2026-03-02 10:57:09 +00:00
Ilya Korennoyandintellij-monorepo-bot 48089d9f1f IJPL-208268 Fix tests
(cherry picked from commit b0205703b1c970289e19d8fd1caa71309ffc8989)

GitOrigin-RevId: a1b90386be6ac01d7d8c5fcf9a6b246cefbf02a0
2026-02-27 19:58:05 +00:00
Tagir Valeevandintellij-monorepo-bot d694fde33a IDEA-386017 [java-inspections] Improvements after review
1. Better documentation
2. Flip arguments in case of strict inequality
3. Better tests


(cherry picked from commit 56c1dab39962fb457ca38a6ac44125b38ef11ea3)

IJ-CR-192581

GitOrigin-RevId: d9c31f14f62a2d6ea28aa00cf67985d9b2ccfb44
2026-02-26 13:40:41 +00:00
Tagir Valeevandintellij-monorepo-bot 725067012d IDEA-386017 An inspection to suggest comparator.max/min methods since Java 26
(cherry picked from commit 242aca7f7293178ba915e5b004776e10ee561afa)

IJ-CR-192581

GitOrigin-RevId: 3d886eac176097d2b93670a77bb387cd85cd09a2
2026-02-26 13:40:41 +00:00
Bartek Paciaandintellij-monorepo-bot 6128c19c7d IDEA-384866 add "make final" quick-fix to IncorrectLazyConstantUsageInspection
suggested by Ruslan Nabiullin in IDEA-384866


(cherry picked from commit c530d940adf23002a8060bef7f042ef5b97aa394)

IJ-CR-192061

GitOrigin-RevId: dab070316e51ca46cf88aecb25075eb7b2cd3226
2026-02-24 14:03:25 +00:00
Bartek Paciaandintellij-monorepo-bot 0fb3f3ebac IDEA-384866 create IncorrectLazyConstantUsageInspection
Merge-request: IJ-MR-191349
Merged-by: Bartek Pacia <bartek.pacia@jetbrains.com>

(cherry picked from commit 3b3bec86fc732114536a3331257a186d1665c05b)

IJ-CR-192061

GitOrigin-RevId: f326fff5ab5de159e7dc9b24d6b14b9d634a8568
2026-02-24 14:03:25 +00:00
Marcin Mikosikandintellij-monorepo-bot 743fb1fdeb IDEA-386010 [java]: 'Generate default constructor with default parameter values' does not generate any code
Merge-request: IJ-MR-192603
Merged-by: Marcin Mikosik <marcin.mikosik@jetbrains.com>

GitOrigin-RevId: 4bb9694a205ae7df7e0656064db0edc5f6c0f59e
2026-02-20 15:52:17 +00:00
Louis Vignierandintellij-monorepo-bot db006a346f IDEA-366205 javadoc: render nested inline tags correctly
#IDEA-366205 Fixed

GitOrigin-RevId: 2631db8b40057419d9774e328a8bc28f213a8ac4
2026-02-17 00:08:34 +00:00
Louis Vignierandintellij-monorepo-bot 7131433668 IDEA-385990 javadoc: fix lexer for code & literal tags
#IDEA-385990 Fixed

GitOrigin-RevId: e59b22df49de336f4314ccac48df7f2559b4f4a4
2026-02-17 00:08:34 +00:00
Louis Vignierandintellij-monorepo-bot 2c816a5f35 IDEA-363069 javadoc: render values with a format string
#IDEA-363069 Fixed

GitOrigin-RevId: 4291e202aa89da6e41caaa62b2ecda2e89cb2dbc
2026-02-17 00:08:34 +00:00
Louis Vignierandintellij-monorepo-bot 301e2ad923 IDEA-363069 javadoc: parse format argument for value tags
GitOrigin-RevId: 87ae4ce84cc201a8de9e0a4976e988fad806e408
2026-02-17 00:08:34 +00:00
Maria Sokolovaandintellij-monorepo-bot 0cc3449b3a IDEA-384931 [debugger]: Collect the hierarchy of thread containers for virtual threads
GitOrigin-RevId: ea0c34a1f0f0718e0dc534ab738adbbdb308cb17
2026-02-16 23:07:47 +00:00
Maria Sokolovaandintellij-monorepo-bot 1ae9e16a76 IDEA-384931 [debugger]: Migrate ThreadDumpPanel to the Tree instead of the flat list.
Space-RevId: 2f699ffd2d5822bb67b528cdd325baa505e5ef66

GitOrigin-RevId: 8ae34e5fb5a540c1089d915f4ac4c216b5160c12
2026-02-16 23:07:47 +00:00
Vladimir Goncharovandintellij-monorepo-bot b438c21410 IJPL-189563 LSP: Introduce LSP support for Code Lens and navigation popup
Merge-request: IJ-MR-188241
Merged-by: Vladimir Goncharov <vladimir.goncharov@jetbrains.com>

GitOrigin-RevId: 42b42d128688295cb3189e222472d77ae3b55821
2026-02-16 19:16:57 +00:00
Tagir Valeevandintellij-monorepo-bot 27df63b6fb IDEA-385621 [java-inspections] Super class shouldn't be highlighted if it has correct annotations for parameter types
Also fixes IDEA-385977 NullableStuffInspection -> reportHierarchyInconsistency

GitOrigin-RevId: 5a7584a44f300440db714c8d566a1f778b5e95e1
2026-02-16 18:35:21 +00:00
Bart van Helvertandintellij-monorepo-bot 7ae9d9feec [java] Store name in implicit class stub index
Otherwise, implicit class (compact source file) stub indices won't be updated on operations like rename because the name of the implicit class is not encoded in the serialized index. #IDEA-385917 Fixed


(cherry picked from commit 531b7245cddac513e5f6a732c99a3a51771e1682)

IJ-MR-191658

GitOrigin-RevId: 544e7f127fb5cd852c65adec87aa3d6a4ffde114
2026-02-16 11:17:32 +00:00
Bas Leijdekkersandintellij-monorepo-bot 7ce9a6ced0 IDEA-385919 [java]: offer "Make '<functional interface>' public" fix on lambda
GitOrigin-RevId: 75a800bb70ffd0a0c90cde65a170b3dba3778fed
2026-02-13 23:51:46 +00:00
Bas Leijdekkersandintellij-monorepo-bot bef566cf0e IDEA-381369 [java]: don't offer Create Field fix on method references
GitOrigin-RevId: 1c63811f47a794614121a45f48f8df02b69baaac
2026-02-13 23:51:46 +00:00
7410andintellij-monorepo-bot da7e97c4f9 IDEA-385655 [java] Redundant type parameters in constructor calls are not highlighted
GitOrigin-RevId: 4a6ea972cda2c44d6000daa0e71106d23f3c823d
2026-02-13 16:47:12 +00:00
Aleksey Pivovarovandintellij-monorepo-bot 847be5e2fe refactor [editor]: do not expose public setter
GitOrigin-RevId: fe457de392fed3077a4248d2e872fe2a58eabc43
2026-02-13 16:13:13 +00:00
Mathiasandintellij-monorepo-bot 7dd10b82b1 IDEA-380160 java: Add an inspection for Math.clamp()
For what it should have been, the final code feels a bit over-engineered.

GitOrigin-RevId: 893e1fb82670568ef3fbf5106b132e4891b276cf
2026-02-13 13:37:41 +00:00
Tagir Valeevandintellij-monorepo-bot 0c508d3d7c IDEA-384618 [java] Test added
GitOrigin-RevId: ff2c0d1b080e79338a7258dfc28640dbb91ce81e
2026-02-13 13:33:21 +00:00
Vladimir Goncharovandintellij-monorepo-bot 33db93e4b3 IJPL-189563 LSP: support multi-entry per line for code vision and extract codeVisionTestFixture from java-tests
GitOrigin-RevId: 49dd70e32e5734b91c9b564507feeda82fc1ee1b
2026-02-13 12:11:41 +00:00
Marcin Mikosikandintellij-monorepo-bot 38de0d9ee7 IDEA-385435 [java]: Add inspection detecting effectively non-null param overriding not-annotated one
Merge-request: IJ-MR-190382
Merged-by: Marcin Mikosik <marcin.mikosik@jetbrains.com>

GitOrigin-RevId: 0a755a3eb1749b7971fe42dea0bceaa2df3a6bb7
2026-02-13 10:13:39 +00:00
Marcin Mikosikandintellij-monorepo-bot be2b0bf8fd IDEA-381733 [java]: Move type annotation quickfix is shown twice
GitOrigin-RevId: 57043eab4896e7cead2c716ef2370fb2dd0ef810
2026-02-12 20:01:14 +00:00
Liudmila Kornilovaandintellij-monorepo-bot 5584f6c111 IJPL-233059 Remove assertion on VFS events count
Now it's flaky between 1 and 2 (only 'parent' or 'parent' and 'excluded').
In both cases 'excluded' is created as assertNotNull succeeds.
To be honest, I don't even understand why it was 1. The test is supposed to assert that event for the child is also fired.
The test relies on the timing of fs events and on the fact that events are fired on EDT (the thread where the test is run).

GitOrigin-RevId: 3718a22282f039226a0476e6a9ffb84316547068
2026-02-12 19:32:27 +00:00
Florian Schaeferandintellij-monorepo-bot 5cb7fcf9a4 WI-82413 PhpStorm Enforce spaces over tabs for mixed named args alignment
(cherry picked from commit d60882a0df49c89479ced8163034c6955844e1ed)

IJ-MR-190011

GitOrigin-RevId: ebfca92507a1d5fab412aa3da49073c1042629d6
2026-02-12 16:45:06 +00:00
Bart van Helvertandintellij-monorepo-bot 265ec5fb37 [java] Add chooser fix for division that could change semantics
Adds a chooser to `ReplaceShiftWithMultiplyIntention` which allows to choose between regular division that changes semantics and floor division. By default floor division is chosen. This changes also makes it so regular division is suggested when the language level is lower than 8. #IDEA-384124


(cherry picked from commit 3e5c5bb4852098ba7b8639c2d887f7cf1298cd93)

IJ-MR-189843

GitOrigin-RevId: db19634d66f5a91282536b4c1b41fb0f8ccfcd5e
2026-02-12 15:57:26 +00:00
Bart van Helvertandintellij-monorepo-bot ee88699fd4 [java] Don't suggest replacing with Math.floorDiv for positive values
If we can be sure that the left hand side is positive, we can sugget replacing with `/` the semantics shouldn't change and the code will look simpler. #IDEA-384124


(cherry picked from commit 193313137372a53b206040bba4644909174a6215)

IJ-MR-189843

GitOrigin-RevId: 9fab82a7bb2dd400938994ac2fb011711d1e2577
2026-02-12 15:57:26 +00:00
Bart van Helvertandintellij-monorepo-bot 4608011210 [java] Make Replace multiply with shift intention round towards -inf
#IDEA-384124 Fixed


(cherry picked from commit bc3e3ddc66db0c7b06f8ad5d281fe594a1c092db)

IJ-MR-189843

GitOrigin-RevId: 04f72906c4b22476b1c45644b097abeacd556c93
2026-02-12 15:57:26 +00:00
Marcin Mikosikandintellij-monorepo-bot afdcd299a3 IDEA-381552 [java]: Override method: do not add redundant @NonNull under @NullMarked
Merge-request: IJ-MR-190042
Merged-by: Marcin Mikosik <marcin.mikosik@jetbrains.com>

GitOrigin-RevId: 2e35a6c573d175a66b09cf8894954f0f90b7b61f
2026-02-12 14:53:59 +00:00
Aydar Mukhametzyanovandintellij-monorepo-bot 37668c0422 [platform UI][se] IJPL-234151 Fix GotoActionTest.testDetectedActionGroups
invisible action group was used for the test

GitOrigin-RevId: 47cd9b8db30f5f306483c90db86bbcd0ae05da6a
2026-02-12 12:26:04 +00:00
Tagir Valeevandintellij-monorepo-bot a05d47ca37 IJPL-233853 [mod-completion] Support TemplateOptionalProcessor
GitOrigin-RevId: c732af958dcfbe97a4922dac68c7832fd7e43bfc
2026-02-12 12:08:20 +00:00
Alexey Kudravtsevandintellij-monorepo-bot c0399afa5b move test-only mustWaitForSmartMode,runPasses from DaemonCodeAnalyzer to CodeInsightFixture (part of highlighting tests refactor which is part of IJPL-232345)
(cherry picked from commit 4a4d941b8af07721e0fb7cba4bf676ecc9d9c19d)

IJ-MR-191087

GitOrigin-RevId: 0dd8a36d4e5a807f0ae065064f81a35f657b206e
2026-02-12 11:41:52 +00:00
Bas Leijdekkersandintellij-monorepo-bot b3e059c9b3 IDEA-385822 [java]: fix Override/Implement Method for empty enums
GitOrigin-RevId: d0fe646a573c0da8cee5e577d5497b1ff7138b29
2026-02-11 21:51:33 +00:00
Tagir Valeevandintellij-monorepo-bot 14f0aa7378 LSP-561 [lsp] Support live templates completion in LSP
GitOrigin-RevId: cc42c46046fd8f24e16e11f3116a9e68d0c164ee
2026-02-11 15:35:19 +00:00
Tagir Valeevandintellij-monorepo-bot 3eee71e033 IJPL-233853 [mod-completion] LiveTemplateCompletionContributor (2st step)
GitOrigin-RevId: eb7a5d5e65a307bb01f9883451196fac0c0e53ea
2026-02-11 15:35:19 +00:00
Tagir Valeevandintellij-monorepo-bot e6c2be9ab0 IJPL-233853 [mod-completion] Template-to-ModCommand converter (1st step)
GitOrigin-RevId: b18ea59734e93e0d768365a459c632b53b28f610
2026-02-11 15:35:19 +00:00
Mikhail Pyltsinandintellij-monorepo-bot c6ca035622 [java-inspections] IDEA-349198 IJ-CR-190983 Catch deconstruction on null value
- use dfa

GitOrigin-RevId: 19cdc3be30263c4b3dbbfff173c557c62c376d67
2026-02-11 14:51:17 +00:00
Bas Leijdekkersandintellij-monorepo-bot 456620d16e IDEA-384355 [java]: fix text block character mapping in the presence of escaped newlines
GitOrigin-RevId: 1b2620ac1b6b9d0c82e6f0d6af5a4d55a9f16574
2026-02-11 14:32:13 +00:00
Bas Leijdekkersandintellij-monorepo-bot 61498b7d65 IDEA-384355 [java]: care about escaped trailing whitespace
GitOrigin-RevId: 858ba50866cad324a76628b4a19268431c00d1f7
2026-02-11 14:32:13 +00:00
Bas Leijdekkersandintellij-monorepo-bot c37f8b8b97 IDEA-384355 [java]: add some verification to test
GitOrigin-RevId: 00357b1bc4a701461a78b40777385bc462b8bbf8
2026-02-11 14:32:12 +00:00
Mikhail Pyltsinandintellij-monorepo-bot fccce01896 [java-inspections] IDEA-383492 Wrong warning when casting to (Integer & Serializable)
GitOrigin-RevId: 94b399d73658082878f8102e24fc2659173bae08
2026-02-10 19:57:11 +00:00
Mikhail Pyltsinandintellij-monorepo-bot 31b5a6a950 [java-inspections] IDEA-379303 Nullable incompatibilities in constructor calls
GitOrigin-RevId: 927bd8ab332fe6f7c6c122d7670592c7ca141b5a
2026-02-10 16:25:48 +00:00
Ilia Kirianovskiiandintellij-monorepo-bot 3dccad525f [build] Temporarily ignore failed tests that used BootstrapTests on TeamCity (IJI-3451, AT-4013)
GitOrigin-RevId: 4b59471a117c362caf8c34b2e6fcc5db97a1dec7
2026-02-10 14:17:26 +00:00
Ilia Kirianovskiiandintellij-monorepo-bot cb11680ea3 [build] Fix JUnit 3 test suites warnings during test discovery everywhere (IJI-3451)
GitOrigin-RevId: bef960c0761ff53e5d08e4d691fa8fa6ee744dc2
2026-02-10 14:17:26 +00:00