Dmitry Batrak
b2cac236d1
move code which accesses system selection to CopyPasteManager (for RDCT-1653)
...
(cherry picked from commit 7405a3177cbe4c4dc7202ce6eddcb0c289739437)
IJ-CR-147422
GitOrigin-RevId: 03582ba3d0ed899afcfaa4e993899f21d9897f56
2024-10-31 11:49:49 +00:00
Mikhail Sokolov
73c1d0b817
tests fix
...
(cherry picked from commit 933e6ae20531f220473d3785ec0fb1c0d7f1bf8b)
IJ-CR-147415
GitOrigin-RevId: 2809cd442d18894be0b5381d2f8710da7f7439d3
2024-10-25 21:15:35 +00:00
Tagir Valeev
1d58cede1d
[mod-commands] Rely on document text, rather than PSI text when building the final command
...
For some reason, they might be different. Probably due to incorrect PSI at the beginning of the action. In any case, document should be the source of truth, as the ModCommand will be applied to the document, rather than PSI
Fixes IDEA-359782 try postfix completion generates trailing garbage
(cherry picked from commit 292399a28d347f9b4fa22730002299d5c5b68167)
IJ-CR-147269
GitOrigin-RevId: 2ccd437d3c51c0ded16be634650ed8dfc59770b4
2024-10-22 14:39:05 +00:00
Tagir Valeev
93592a4c9e
[java-refactoring] CodeBlockSurrounder: avoid collapsing with unrelated if-statement
...
Fixes IDEA-360579 Inline Method creates uncompilable code
(cherry picked from commit cd73e3e730b8cef37f4a26235a2ab3db812f02ff)
IJ-CR-147183
GitOrigin-RevId: 0258e753bfb5f7e66bc4a0526769fe8ba07aa02c
2024-10-21 12:11:50 +00:00
Tagir Valeev
88e99a58b4
[java-dfa] Fix hardcoded contract for three-arg Arrays.binarySearch method (IDEA-359546)
...
(cherry picked from commit a4ff22126f7d6fc1b4a7d99ee47c3caf1b144c4c)
GitOrigin-RevId: 74f0bae69219b650eb170bc517e5c1bc0b1d9ad2
2024-10-17 13:15:40 +00:00
Alexey Kudravtsev
6bea9cfe04
optimization: do not iterate all range markers in the document, use the visible area only (part of IJPL-162151 Scrolling is slow)
...
GitOrigin-RevId: e0fbaf8757364a3ad0e823facee0def50cd7f49c
2024-10-14 15:40:08 +00:00
Tagir Valeev
09bd11efd8
[java-refactoring] IDEA-71792 Support inlining of abstract methods having one implementation
...
GitOrigin-RevId: 00491acff53aff96705a866e0d799dfe22873d23
2024-10-11 08:10:27 +00:00
Tagir Valeev
676c19bc1f
[java-inspections] Report TYPE_USE nullability annotation on classes
...
GitOrigin-RevId: f5c6113ccd1738d72b0f58fe13a8352a043431c9
2024-10-11 08:10:27 +00:00
Ilya Kirillov
0fa8750fb8
Revert "optimization: do not iterate all range markers in the document, use the visible area only (part of IJPL-162151 Scrolling is slow)"
...
This reverts commit 4353aab31f4af5e3c50662669f94b823b01d3031.
- It causes a deadlock in kotlin tests: IJPL-163726
- It breaks some remote dev and code with me tests: IJPL-163871
IJPL-162151
GitOrigin-RevId: d0764a892d03104c58f8601cfbea7b35a95c71fb
2024-10-10 16:11:03 +00:00
Mikhail Pyltsin
7e9f1978a2
[java-highlighting] IDEA-357214 'Module' is highlighted as an error when module name is expected
...
GitOrigin-RevId: c7ca9de1821e79b96a05ab74a3cbad7052ceb827
2024-10-10 15:17:07 +00:00
Louis Vignier
e2f88c73c2
[javadoc] perform automatic supertype search recursively for interfaces
...
#IDEA-358073
GitOrigin-RevId: efeda57e732374963dd97dbe32c8fc1d938c5916
2024-10-10 11:30:59 +00:00
Louis Vignier
0e3bfab783
[java] Fix error reporting in JavaInheritDocNavigationTest
...
GitOrigin-RevId: 2124aa0433371285532c5c9b23c5ace37eca4761
2024-10-10 11:30:59 +00:00
Mikhail Pyltsin
403e2b5871
[java-decompiler] IDEA-346312 adapt patches
...
- fix failed test for new text
GitOrigin-RevId: f8438f65860955d05da3bbfd2e38e5983cf7294d
2024-10-10 09:55:50 +00:00
Maxim.Kolmakov
e3d0d48018
Extract threadDump parser to a separate module
...
GitOrigin-RevId: c9d9890c5bf10e57b0aa77bb8f5c9ca7451c723e
2024-10-10 00:58:31 +00:00
Bas Leijdekkers
481fab7d13
Java: allow to "Inline to Anonymous Class" classes with static members (IDEA-360451)
...
GitOrigin-RevId: 835f91a1d35db9b78041da36c3bd147fa4e52ba3
2024-10-09 18:25:23 +00:00
Bas Leijdekkers
06a7650ea2
Java: test cleanup
...
GitOrigin-RevId: 3f04f58325722ecf340e0b0fb96dc1a8157d7a2b
2024-10-09 18:25:23 +00:00
Bas Leijdekkers
9404af07f5
Java: more refactoring warning message clarification (IJPF-CR-24908)
...
GitOrigin-RevId: c545eaecb2f911f77da5bd55121f95c1209fab29
2024-10-09 18:25:23 +00:00
Tagir Valeev
f5463b7662
[java-inspection] NullableStuffInspectionBase: better determine annotation name
...
GitOrigin-RevId: 1c00dc9d26ce2e8ebf78379fefbd6b3a9e764007
2024-10-08 20:08:05 +00:00
Tagir Valeev
717ff7f689
[java-dfa] Move various setup annotation methods to DataFlowInspectionTestCase
...
GitOrigin-RevId: 5068df17e06247e53800c6959d46c4c7469b5fe3
2024-10-08 20:08:05 +00:00
Mikhail Pyltsin
52fe84a033
[java-inspections] IDEA-360291 'Make method constructor' fix shouldn't be shown for implicit classes
...
GitOrigin-RevId: ba571565430db01d06d37f2da5ab49a97b466db4
2024-10-08 14:02:23 +00:00
Bas Leijdekkers
81a6c7d02c
Java: support safe delete for record components (IDEA-245145)
...
GitOrigin-RevId: 5eccf46c5e0cce0d63c5ac480ad8d180b1ef0fed
2024-10-07 17:17:27 +00:00
Bas Leijdekkers
00eb168de9
Java: safe delete cleanup
...
GitOrigin-RevId: 6a92cc62db80835c7cad04dfcb6fde32d776dcb8
2024-10-07 17:17:27 +00:00
Mikhail Pyltsin
81fe531f88
[java-inspections] IDEA-360134 Support %n in format string
...
GitOrigin-RevId: c7d3b60eec4a72ded2132a3ab24e035baf2c1241
2024-10-07 13:08:21 +00:00
Mikhail Pyltsin
77ec6df673
[java-inspections] IDEA-360135 Non-constant string concatenation in logging call could be triggered with exception argument
...
GitOrigin-RevId: b9a08671660f1a3cb27e566e1a9ed6a05cd211d4
2024-10-07 13:08:20 +00:00
Nikita.Ashihmin
487eb45975
PY-71854 Jupyter(feat): rename getLoadLimit() to getDefaultLoadLimit
...
GitOrigin-RevId: 87ae69b139e84aa6817b27123d3d3db79ac64344
2024-10-05 23:58:20 +00:00
Nikita.Ashihmin
a82c5d2f20
PY-71854 Platform(refactor): Replace all usage of old non file type specific File limits to the new FileSizeLimit
...
GitOrigin-RevId: c65b945a34e24ab79b06f2039361fd6dcc1048e7
2024-10-05 23:58:19 +00:00
Georgii Ustinov
c02d32ef74
[Java] Make JavaSpellcheckingStrategy dumb aware
...
IDEA-357681
GitOrigin-RevId: 1fead4d1fdb98c99d8b68d48813f483deaa6b35c
2024-10-05 10:25:23 +00:00
Tagir Valeev
9a88df1dad
[java-inspections] JSpecifyAnnotationSupport: do not apply NullMarked to cast type
...
Fixes IDEA-351866 jSpecify's @NullMarked influences 3rd party packages
GitOrigin-RevId: 418545583d0f421ec678d1c840e0eed11ff765bc
2024-10-04 17:21:43 +00:00
Alexey Kudravtsev
5a4227cc44
optimization: do not iterate all range markers in the document, use the visible area only (part of IJPL-162151 Scrolling is slow)
...
GitOrigin-RevId: 4353aab31f4af5e3c50662669f94b823b01d3031
2024-10-04 16:07:04 +00:00
Alexey Kudravtsev
89158d79be
cleanup: encapsulate highlighter
...
GitOrigin-RevId: cae75e82c05d314ac3f1918e19b8c56337fd2c5d
2024-10-04 16:07:04 +00:00
Tagir Valeev
d8cc0d06b7
[java] IDEA-279574 Java Record: ability to Find usages of constructors only (Ctrl+B supported)
...
GitOrigin-RevId: aff3cba784db4d2e65179251675dc11718882079
2024-10-04 11:38:58 +00:00
Bas Leijdekkers
2f23d849ea
Java: fix "Duplicate branches in 'switch'" inspection false positive on method reference (IDEA-355483)
...
GitOrigin-RevId: 0d5e06632a349494f05b79dab40d37988fdd7412
2024-10-03 18:24:19 +00:00
Alexey Kudravtsev
ecf22d34c8
more verbose test diagnostics
...
GitOrigin-RevId: 41ea26d38c68238bcc2890a4d511aaadbdb92108
2024-10-03 16:19:22 +00:00
Frederik Haselmeier
5fa1c744f0
[kotlin] Use bundled K2 compiler for CRI tests
...
KTIJ-31055
GitOrigin-RevId: 845a3b474248f727c083d9ee8c7cfff79b80e075
2024-10-02 16:31:18 +00:00
Mikhail Pyltsin
3288586fdf
[java-inspections] IDEA-359749 StringConcatenationArgumentToLogCallInspection could also be triggered by concatenation
...
GitOrigin-RevId: bb5024a6be79582644fff96b72a8ceeff0fbf15e
2024-10-01 13:32:46 +00:00
Mikhail Pyltsin
ba6d180392
[java-action] IDEA-359468 Implement methods which return Long must return 0L
...
GitOrigin-RevId: 90705e2124800738a0de22eddfdc1a30126b3d47
2024-10-01 13:32:46 +00:00
Tagir Valeev
2f492127fc
[jspecify] IDEA-356144 JSpecify: Nullable upper bounds do not result in proper nullness
...
GitOrigin-RevId: 0b3a0065217879ca2ee2d70ee5fec2c41dba7bae
2024-10-01 10:42:29 +00:00
Bas Leijdekkers
af458693d5
Java: don't insert unnecessary casts on inlining method (IDEA-203962)
...
GitOrigin-RevId: c3f441b42d164438b1035112083a8114735a0a05
2024-10-01 09:31:57 +00:00
Bas Leijdekkers
7be0072137
Java: disallow inlining record to anonymous class (IDEA-359857)
...
GitOrigin-RevId: f477736ff39ea95cf9c9c5088c2dd0af9399f605
2024-10-01 09:31:57 +00:00
Bas Leijdekkers
7eab69be22
Java: clarify refactoring warning message (IDEA-359779)
...
GitOrigin-RevId: 8666270b887ebdce6c639a6deee40dd5273fff0d
2024-10-01 09:31:57 +00:00
Bas Leijdekkers
c0ca8d8600
Java: fix inlining of library methods (IDEA-359779)
...
- only check method body for inaccessible elements
- don't try to optimize imports in method file when method is not modified
GitOrigin-RevId: 27216e8db2306650f638387d6adac6d90099326b
2024-10-01 09:31:57 +00:00
Tagir Valeev
834b04f28a
[java-stubs] A test for IDEA-349551 False positive warnings with @NonNullByDefault and @Nullable annotations
...
GitOrigin-RevId: 91fd9d88bcf74769356ee94192b2aa5f06eb1060
2024-10-01 08:57:46 +00:00
Tagir Valeev
67e9414e4a
[jspecify] More robust return type check
...
GitOrigin-RevId: 994055813862ee6e40119537c22e07cfc1036e38
2024-10-01 08:57:46 +00:00
Georgii Ustinov
3f4982e47d
[Java. Logging] Disable completion on reference expressions for logger
...
IDEA-359882
GitOrigin-RevId: f5550041a59d0b89cf1b18a3ccd8104eed0fb240
2024-09-30 17:50:19 +00:00
Mikhail Pyltsin
ae2e2f737c
IJ-CR-145218 [java-inspections] IDEA-201932 Provide inspection to highlight redundant creation operations in java date time api
...
- delete unnecessary test
GitOrigin-RevId: 80f107de3e637bc81065c9bacf7024c76a5bbb81
2024-09-30 08:37:06 +00:00
Mikhail Pyltsin
f474d8047b
IJ-CR-145218 [java-inspections] IDEA-201932 Provide inspection to highlight redundant creation operations in java date time api
...
- combine into one inspection
- fix messages
GitOrigin-RevId: d4e064948f8c730c4d68c58e6c9b1277c6b66b4d
2024-09-27 17:12:29 +00:00
Tagir Valeev
087825794e
[java] IDEA-359811 Support experimentally container annotation @NotNullByDefault
...
GitOrigin-RevId: 0f02149f8f9313357bab47e7d62d6f1ccfea6f9b
2024-09-27 10:37:49 +00:00
Mikhail Pyltsin
9eb0e15e2c
IJ-CR-145121 [java-inspections] IDEA-357009 new option to configure custom classes for IncorrectMessageFormatInspection
...
- fix table for `IncorrectMessageFormatInspection`
GitOrigin-RevId: 272d89fafaac63517e990b1d2808ec54d4c58e69
2024-09-27 09:33:50 +00:00
Georgii Ustinov
acbd648c20
[Java] Fix tests for VmOptionsCompletionContributor after moving standard options to VMOptionsService
...
IDEA-359564
GitOrigin-RevId: 4bd63e837290a44009a4af4dd8973881c27e72ae
2024-09-27 09:13:46 +00:00
Tagir Valeev
9d989b2b7f
[java-refactoring] Inline Parameter: do not erroneously report top-level non-static class references
...
Fixes IDEA-356746 Confusing warning when I inline array method parameter
GitOrigin-RevId: 1964db1b4a09ec7eb1bcbbcd05fcb445862f06b4
2024-09-26 13:53:17 +00:00