Commit Graph

1959 Commits

Author SHA1 Message Date
Tagir Valeev
0465829135 [java-refactoring] IDEA-324661 Convert Inline variable to ModCommand; replace conflict & inline dialogs with choosers
GitOrigin-RevId: d02496feb2ad7913ec4973d1ea16cba17cdeed79
2023-07-07 21:03:38 +00:00
Tagir Valeev
26d7c9b9ec [java-intentions] SurroundWithArrayFix, SurroundWithTryCatchFix: ModCommands
GitOrigin-RevId: c658ec026bb7fa06df63bce98af2067ac33acfba
2023-07-07 15:57:49 +00:00
Tagir Valeev
2754cb6d75 [java-refactorings] IDEA-324475 ReplaceConstructorWithFactoryAction: convert refactoring to ModCommandAction
GitOrigin-RevId: dd45e061f60ce6e018c2afb9b96462a84a7553cf
2023-07-07 15:50:49 +00:00
Yuriy Artamonov
f8c571105d [java] Skip Maven/Gradle libraries in JavaLibraryUtil while collecting files from JPS libraries
GitOrigin-RevId: 6238675fd89998a8bec910bed830a648058b5e56
2023-07-05 16:00:27 +00:00
Yuriy Artamonov
4a706bc038 [java] Skip Maven/Gradle libraries in JavaLibraryUtil while collecting files from JPS libraries
GitOrigin-RevId: 5b184601ee71948ce85a843be9acaaf3028bceee
2023-07-04 18:20:09 +00:00
Tagir Valeev
bf78f8d6ce [java-intentions] ExpandStaticImportAction, ConvertCompactConstructorToCanonicalAction: ModCommand (IDEA-322693)
Also: i18n

GitOrigin-RevId: e8828e96bf095b567d269cb919b0ec94ff860431
2023-07-04 13:42:53 +00:00
Tagir Valeev
c8a22f04ee [java-inspections] ExtractSetFromComparisonChainAction: mod-command (IDEA-322693)
GitOrigin-RevId: c213159456b423ed0ecae09e16fb56567f39417b
2023-07-01 12:25:17 +00:00
Tagir Valeev
f4660a3804 [java-inspections] SideEffectWarningDialog removed (unused anymore)
GitOrigin-RevId: c801fc6d6ca9047c4493499fa48fa36c7b877b33
2023-06-30 09:01:10 +00:00
Tagir Valeev
c55dfd035c [java-inspections] RemoveUnusedVariableFix: mod-command
IDEA-323888 Replace 'side effect' dialog in Java quick-fixes with chooser

GitOrigin-RevId: c89ef0ad65e69348de86e10a20686dbf9f8e0d57
2023-06-30 09:01:03 +00:00
Tagir Valeev
640306d59f [java-inspections] RemoveAssignmentFix, JoinDeclarationAndAssignmentJavaInspection: mod-command action, with chooser
IDEA-323888 Replace 'side effect' dialog in Java quick-fixes with chooser

GitOrigin-RevId: 0ceadfeebf9bf294d5201a641922efba3b8a66be
2023-06-29 10:02:34 +00:00
Tagir Valeev
5b29f251c1 [java-inspections] RemoveInitializerFix2: mod-command action, with chooser
IDEA-323888 Replace 'side effect' dialog in Java quick-fixes with chooser

GitOrigin-RevId: 99e43ec42520ff407ad755c1b05cd5c9320bd273
2023-06-29 10:02:30 +00:00
Tagir Valeev
c88923f34c [java-inspections] JavaNumberConversionIntention: mod-command
GitOrigin-RevId: edf2fb20ed13608566d083b0a71099bdb06c1bca
2023-06-29 10:02:24 +00:00
Tagir Valeev
28a10fafe3 [java-inspections] AddMethodBodyFix, MakeMethodDefaultIntention: mod-command
GitOrigin-RevId: 3dca91388608db3252852bb82aea45388e684491
2023-06-27 11:08:38 +00:00
Tagir Valeev
ad40c945e2 [java-inspections] More quickfixes to ModCommand
GitOrigin-RevId: ccc6093d680712cb81c1325d997fb2771b61a0be
2023-06-25 19:05:51 +00:00
Pavel Porvatov
553fbd8b81 [Kotlin UI DSL] Port JavaCoverageOptions to Kotlin UI DSL
GitOrigin-RevId: 5af06b935563502b783c16bb2feaeb3d91a2b6f2
2023-06-18 20:09:41 +00:00
Louis Vignier
3efd6da05b [projectRoots] Configure JDK using .sdkmanrc
Signed-off-by: Louis Vignier <louis.vignier@jetbrains.com>

#IDEA-246351 Fixed

GitOrigin-RevId: 8badbd226f28b4038780cf1f291ebd3a3cf2f9a4
2023-06-17 21:32:03 +00:00
Yuriy Artamonov
52f8280958 [java] IDEA-117997 Add "Class reference" to "inject language/reference" intention
GitOrigin-RevId: b0480860bf76d056e0c49fe40faeae1c46ecd83a
2023-06-09 20:35:10 +00:00
Tagir Valeev
bed1490854 [java-inspections] EditContractIntention, EditRangeIntention: add ellipsis
GitOrigin-RevId: 9ce7783754d4f2154e4b2aeecf32e2c217bff4c6
2023-06-07 13:50:01 +00:00
Tagir Valeev
b9cfeaf1e2 [java-inspections] EditContractIntention: invert 'pure' checkbox
GitOrigin-RevId: 62da5eb1361fb121b17b84f487e3d2cb98a0d311
2023-06-07 13:49:58 +00:00
Yuriy Artamonov
9c6efec962 [spring] Do not rerun meta annotations searches on typing
GitOrigin-RevId: 8fc260c5b427453841c903862e0b18940469c474
2023-06-06 09:25:24 +00:00
Bart van Helvert
b1718e5122 [java] Don't try to build directory chooser dialog from BG thread
Fixes an issue where the directory chooser couldn't be launched from destination folder combobox because it was trying to create it from a BG thread. This changes fixes the issue by creating it from EDT but still building the directory list under a modal progress.

GitOrigin-RevId: 006c5d7a8d9621780188e59bb5a89124857c5d26
2023-06-01 21:30:17 +00:00
Bart van Helvert
3e26f371b3 [java] Improve package chooser modal progress title
GitOrigin-RevId: 56857395cd6a7e42d4e82e955e0cbc7080a530c3
2023-05-17 10:21:19 +00:00
Bart van Helvert
318dbd2b3a [java] Fix slow operation in package chooser dialog
#IDEA-320423 Fixed

GitOrigin-RevId: e0478b123044ffc75406db6f9c71105283bc55f9
2023-05-17 09:05:03 +00:00
Bas Leijdekkers
873cc2268f Java: clarification of inspection message and description
GitOrigin-RevId: 82fb5a32c54291d90bd1266677c8be3ba7b334d4
2023-05-16 19:32:08 +00:00
Bas Leijdekkers
88d17bae10 Java: improve inspection option and description texts
GitOrigin-RevId: 2ed7b9cfa7e149df4363ed444710c170bb0d79f8
2023-05-16 19:31:50 +00:00
Tagir Valeev
ac1bd48b50 [java-inspections] Extract OptionalOfNullableMisuseInspection from DataFlowInspection (IDEA-319639)
GitOrigin-RevId: 202ecd80a114e93ee0ce7d4536d18f4fb43d6414
2023-05-16 10:53:48 +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
Bas Leijdekkers
dc3350ef9c Java: better option texts for "Method parameter always has the same value" inspection
GitOrigin-RevId: d185329fd12c2410690f11995ceab5df758a29e0
2023-05-12 00:52:00 +00:00
Mikhail Pyltsin
3ae8ed0f14 [java-inspections] IDEA-314208 Warn when InputStream.read() implementation returns a signed byte
GitOrigin-RevId: 761b1c91c48501bfeebd47bc29a338a2d4d8098d
2023-05-11 20:58:45 +00:00
Tagir Valeev
f99a338347 [mod-command] ExtractIfConditionAction: ModCommandAction
GitOrigin-RevId: 361df707d91168d12daa8af1e788a3b7a22eb506
2023-05-10 18:16:44 +00:00
Bas Leijdekkers
63d274bf59 Java: missed i18n in inspection
GitOrigin-RevId: 28637adf2bc4f83e179f10f9088a4bda0a66b5c3
2023-05-10 14:19:31 +00:00
Yuriy Artamonov
7383479383 [qute] Simplify code of QuteFileTypeUtils with JavaLibraryUtil
GitOrigin-RevId: 342fc800e726853790ca67f22ab2c9d58beb98ab
2023-05-08 22:07:07 +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
Yuriy Artamonov
d38b8dab03 [frameworks] IDEA-318723 Spring and microservices injectors lead to performance degradation in local inspections
GitOrigin-RevId: 6add2d494e52a26a23019b0ada50485c34e31ada
2023-05-05 16:17:26 +00:00
Vladimir Krivosheev
227d75a1fc don't extend DynamicBundle
GitOrigin-RevId: 49cbebd629a92877dbeeffba8d97b0631fb9407e
2023-05-05 09:46:42 +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
Bas Leijdekkers
d2bdcf661d Java Type Migration: more and better warnings about incorrect type in the dialog
GitOrigin-RevId: 8878f9f5c2793f629e442799d1b873fb93a352b3
2023-04-27 10:21:49 +00:00
Bas Leijdekkers
104e8933b7 Java: improve conflict message
GitOrigin-RevId: 7e498db020a15cb8bb35e37a3725abfa00a2c4a3
2023-04-27 10:21:44 +00:00
Yuriy Artamonov
e84a11182c [frameworks] IDEA-318723 Spring and microservices injectors lead to performance degradation in local inspections
GitOrigin-RevId: 24f60a74e81b87c43b53e736755b0f1624b6c9d7
2023-04-26 10:49:41 +00:00
Bas Leijdekkers
7597b95fac Refactoring conflicts dialog: add missing @Nls annotations
GitOrigin-RevId: 48a915cc830a417e50b425800b32885c3bf43e96
2023-04-25 08:30:35 +00:00
Yuriy Artamonov
5000d63adf [frameworks] IDEA-318723 Spring and microservices injectors lead to performance degradation in local inspections
GitOrigin-RevId: cddee9c37e664bdc7469a89dd8cb0017fa125866
2023-04-24 19:34:09 +00:00
Alexandr Suhinin
2d44874974 [extract method] IDEA-269072 IDEA-188743: add checkbox 'declare var type' to code the generation settings
GitOrigin-RevId: 79ef01866b134b531b9e9fefc22580213a1b0841
2023-04-21 13:25:52 +00:00
Yuriy Artamonov
b65ac8356c [java] JavaLibraryUtil moved to intellij.java
GitOrigin-RevId: f5cce6e0e98d6694b9303048621d27dd7a5a5dab
2023-04-15 20:16:54 +00:00
Aleksei Pomelov
5e9816a0af IDEA-192472: Warn about dependency on JARs from Idea installation
GitOrigin-RevId: f239c3631538b5f6526085b28dd8172275c7d47a
2023-04-13 11:07:30 +00:00
Mikhail Pyltsin
26a59312ba IJ-CR-105584 [java-inspections] IDEA-315960 UnusedReturnValue inspection ignores method chaining. Cover under options
GitOrigin-RevId: a0f09344707cc14c608cc5934104eb356141fa68
2023-04-10 14:03:32 +00:00
Mikhail Pyltsin
886524c86e [java-inspections] IDEA-314209 Report overwrites of pattern variable and for parameter
GitOrigin-RevId: 023af3e7795cf887702ec2ce5f07e3ddd2b806d6
2023-04-07 16:18:04 +00:00
Alexandr Suhinin
ad0c64cfeb [extract method] CR-102137: clarify class conflict message
GitOrigin-RevId: 481122611bd0c2e062004b17c82eeb322e555e2d
2023-04-07 13:13:12 +00:00
Alexandr Suhinin
74ca663ee7 [code vision] IDEA-257161: create advanced option to filter inlay hints by minimal number of usages
GitOrigin-RevId: d6df264f5d4a00896d667dc2b3070562d8abbfd7
2023-04-07 13:13:09 +00:00
Konstantin Nisht
b8ef3d50aa [platform] IJPL-49: Improve API
GitOrigin-RevId: f71d0c16118a030166f102e9a8e0fb4e33930b68
2023-03-30 16:16:35 +00:00