Commit Graph

20563 Commits

Author SHA1 Message Date
Mikhail Pyltsin
5b731ecf37 [intention-preview] SameErasureButDifferentMethodsFix
GitOrigin-RevId: bca2816688103b0df44f73c3ae00f5586d02783d
2023-01-23 10:30:42 +00:00
Mikhail Pyltsin
7b778ec02c [intention-preview] RemoveUnusedParameterFix. Review
GitOrigin-RevId: 1f96e40db1045fa9436884f6c024e5c5304841ef
2023-01-23 10:30:39 +00:00
Tagir Valeev
7fd21abe7a [java-intentions] ImplementMethodsFix#generatePreview minor rearrangement
GitOrigin-RevId: 0414e81b9b1506dc096d788626d9f330a9ed11ad
2023-01-23 09:58:36 +00:00
Mikhail Pyltsin
df163482cf IDEA-310500 JavaCodeStyleManager returns more common names for fields and parameters
GitOrigin-RevId: 40dc2a001f35af6cc5cb7db8aeb4c0304016b9fd
2023-01-20 16:50:07 +00:00
Anna Kozlova
7e7be3d1e1 [slow operations] precalculate icon (IDEA-305058)
EA-658741 T: DirectoryIndexImpl.getInfoForFile
replace duplicate code in filtering existing items

GitOrigin-RevId: 259deeddd552ce8ac5fbe19ae3e034fba96623d2
2023-01-20 16:43:56 +00:00
Bart van Helvert
e5fea5533b [lang] Make getElement API protected in PsiElementBaseIntentionAction
Can be used to retrieve element in intention preview.

GitOrigin-RevId: c1fe0e4b83d941259ad3504639af05b58488fe41
2023-01-20 16:24:32 +00:00
Vladimir Krivosheev
22ed029896 add explicit dependency on intellij.platform.util.text.matching
GitOrigin-RevId: c2586851a21d0d33af2ed00f1bc3d3c07aff56a3
2023-01-20 12:43:44 +00:00
Roman Ivanov
f1c257b3b4 [java, formatter] support pattern foreach IDEA-308381
GitOrigin-RevId: f3d66f9f9cc145dd424291e9e7cff3b925648150
2023-01-20 10:30:25 +00:00
Mikhail Pyltsin
4354a1098e [intention-preview] SameErasureButDifferentMethodsFix
GitOrigin-RevId: 7fd8a5e52034275d413cea86d8a5dd1fa5b80503
2023-01-19 18:49:14 +00:00
Mikhail Pyltsin
bc36b69b81 [intention-preview] CreateConstructorParameterFromFieldFix
GitOrigin-RevId: 97ecf134e5f57145c182da89fa9bd036c2226741
2023-01-19 16:58:24 +00:00
Andrey Cherkasov
b01bb28002 [java-intentions] ImplementMethodsFix: preview-friendly
GitOrigin-RevId: df403c3335fff896717a869cb37cf5b474019873
2023-01-19 16:48:40 +00:00
Andrey Cherkasov
9d10cf9e58 [java-intentions] MethodParameterFix: preview-friendly
GitOrigin-RevId: 14945eb9ea25a46005d9bfb77bf8c525d9e142f1
2023-01-19 16:48:34 +00:00
Andrey Cherkasov
942d8db752 [java-intentions] ChangeParameterClassFix: preview-friendly
GitOrigin-RevId: 539c22c6a89f3e47327c89eb1ff47c1ae3a7a5fe
2023-01-19 16:48:31 +00:00
Andrey Cherkasov
13c0dc41a1 [java-intentions] IntroduceVariableErrorFixAction: preview-friendly
GitOrigin-RevId: 9db632643fe116f835b32ec42b1b03be917f9000
2023-01-19 16:48:28 +00:00
Mikhail Pyltsin
23a55a5711 IDEA-310500 JavaCodeStyleManager return more common names for fields and parameters
GitOrigin-RevId: 3808e21af211ab652febe3499fd7bd5c5a577e4a
2023-01-19 15:57:39 +00:00
Mikhail Pyltsin
d4f4cd4aa1 [intention-preview] AddMethodQualifierFix
GitOrigin-RevId: e97e77b7fe7fc96984cf4ee137ffde4fe07e6b88
2023-01-19 15:57:34 +00:00
Tagir Valeev
fc26ba2b00 [java-completion] Permits list: fix scope when modules aren't used
Fixes IDEA-310106 When using permits in a sealed class, the IDE does not suggest children classes

GitOrigin-RevId: 8f210942613aaf93b83ad7f81751d3181e079513
2023-01-19 11:38:28 +00:00
Matyrobbrt
c9a6c6f0b6 Fix inline return rendering
GitOrigin-RevId: f0c867bddb5c423b323960d2a15f854b4a404d10
2023-01-19 09:40:10 +00:00
Bas Leijdekkers
8a9b74ceb0 Java: when referring to methods include parentheses
GitOrigin-RevId: d6175d83f749080d9e0d9b041a18f10d9f667a9d
2023-01-19 09:29:45 +00:00
Mikhail Pyltsin
cf1b92e58d [intention-preview] ImplementAbstractClassMethodsFix
GitOrigin-RevId: 3fdbe2cb1cfee03a7eb97f4619090f27e9b704c9
2023-01-18 18:19:27 +00:00
Mikhail Pyltsin
ea1df06e8c [intention-preview] MoveClassToModuleFix
GitOrigin-RevId: 15a5119563c679c403d3b9e636afd48c868e5dc9
2023-01-18 18:19:24 +00:00
Nikolay Chashnikov
774830781e cleanup: remove redundant '@author' tags from javadoc comments - 30
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.

GitOrigin-RevId: 8b807033fab19289376c5e44972453a10f4b6da4
2023-01-18 17:03:03 +00:00
Nikolay Chashnikov
a3385d4158 cleanup: remove redundant '@author' tags from javadoc comments - 29
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.

GitOrigin-RevId: a524f4e03a4e80b49653f4eb3c1179cbdc5e581d
2023-01-18 17:03:00 +00:00
Nikolay Chashnikov
c17297cce7 cleanup: remove redundant '@author' tags from javadoc comments - 23
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.

GitOrigin-RevId: 4623bf3b267b86b3190f505ac249aa2f461c54dd
2023-01-18 17:02:40 +00:00
Nikolay Chashnikov
18d5d366bc cleanup: remove redundant '@author' tags from javadoc comments - 16
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.

GitOrigin-RevId: fcb5fafc4292161a15da4c0d66db23c6494ffad1
2023-01-18 17:02:17 +00:00
Nikolay Chashnikov
1178f48134 cleanup: remove redundant '@author' tags from javadoc comments - 14
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.

GitOrigin-RevId: e0f2d6f1a9e6446397171170b4cf60d03a26b12c
2023-01-18 17:02:10 +00:00
Nikolay Chashnikov
c1f2c8a692 cleanup: remove redundant '@author' tags from javadoc comments - 9
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.

GitOrigin-RevId: fcf3f973d7c945698016443c015023e73ac71572
2023-01-18 17:01:54 +00:00
Nikolay Chashnikov
1487a324c4 cleanup: remove redundant '@author' tags from javadoc comments - 7
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.

GitOrigin-RevId: f2a6ec37a89b7497556ced0b92be3fa7679ba304
2023-01-18 17:01:47 +00:00
Nikolay Chashnikov
98b622aa27 cleanup: remove redundant '@author' tags from javadoc comments - 5
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.

GitOrigin-RevId: e1f798814ca7f22747768b99cbcd962d820bbfb9
2023-01-18 17:01:41 +00:00
Nikolay Chashnikov
4f51eb1dd2 cleanup: remove redundant '@author' tags from javadoc comments - 3
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.

GitOrigin-RevId: 474de1bafc0651b90f08384cf04094eff9466115
2023-01-18 17:01:34 +00:00
Nikolay Chashnikov
c732af0e17 cleanup: remove redundant '@author' tags from javadoc comments - 1
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.

GitOrigin-RevId: e9c6313db2c112ecf8370e86d264bec38467eb61
2023-01-18 17:01:28 +00:00
Mikhail Pyltsin
71b12e70c4 [intention-preview] RemoveUnusedParameterFix
GitOrigin-RevId: 4b9fa147a2e7ef926ac7cda0e9a3c1e6355dfeeb
2023-01-18 15:35:39 +00:00
Mikhail Pyltsin
98ae394300 [intention-preview] ConvertInterfaceToClassFix
GitOrigin-RevId: 0eaa24c14a74ead8fcd085958ea6a1530176c9e8
2023-01-18 15:35:35 +00:00
Nikolay Chashnikov
81d2a039ec [java] cleanup: remove deprecated OverrideImplementsAnnotationsHandler::getAnnotations method (IDEA-305637)
GitOrigin-RevId: 2d46980d56715b891bb189f818db1b5fc9354240
2023-01-18 13:26:58 +00:00
Mikhail Pyltsin
99b2f1e8ae [intention-preview] ImplementOrExtendFix
GitOrigin-RevId: 6b2cefab1075070b72a41440801f6e0fcd190517
2023-01-18 12:20:18 +00:00
Mikhail Pyltsin
a66e3f6ebd [intention-preview] AddMethodQualifierFix
GitOrigin-RevId: 12412566358be99ffbb773ede85971bf03490419
2023-01-18 12:20:15 +00:00
Mikhail Pyltsin
5489f32df3 [intention-preview] NavigateToAlreadyDeclaredVariableFix
GitOrigin-RevId: cfb6420865a2303aecee388cfc6b7542663f98bd
2023-01-18 12:20:11 +00:00
Tagir Valeev
378d729bd6 [intention-preview] Preview for compiler options fixes
GitOrigin-RevId: 2dbb0762bf3ce6ec64701f147647dc5ea3a9659d
2023-01-18 09:40:39 +00:00
Yuriy Artamonov
14daf0f8c3 [spelling] @NotNull TokenConsumer consumer in Tokenizer
GitOrigin-RevId: ba7b161e92c8047602fe9fd993d48d2140c60179
2023-01-18 09:32:44 +00:00
Mikhail Pyltsin
80398021c8 [java-inspections] PatternVariablesCanBeReplacedWithCast, added tooltip
GitOrigin-RevId: 179451820496eaee58a2e746cd9de7d31e66bebd
2023-01-17 16:09:01 +00:00
Bas Leijdekkers
f781ca15ed Java: ignore differences in whitespace in import optimizer change detection (IJ-CR-100983)
GitOrigin-RevId: e908cdb9279dce6acb2fd51f1e526c7b3306f92c
2023-01-16 19:16:51 +00:00
Bas Leijdekkers
efba7d83ea Java: use variable name statistics in in-place introduce refactorings to get better naming suggestions
GitOrigin-RevId: 90ade731912e4b5065b384fca1adf1194a0a3300
2023-01-16 19:16:48 +00:00
Bas Leijdekkers
8598100371 java: cleanup JavaCodeStyleManagerImpl
GitOrigin-RevId: 750262e867f7e38bec220abd32591a79e52aecb4
2023-01-16 19:16:41 +00:00
Tagir Valeev
c687eb35d5 [java-completion] IDEA-276535 Invalid suggestion for package-private constants in interfaces
GitOrigin-RevId: 2a5ded478f0be31a18dc7d019de811447adbea54
2023-01-16 12:19:04 +00:00
Ruslan Cheremin
f43f26d548 [tests] mark VMOptions with @CheckReturnValue to prevent misuse
+ VMOptions methods always return a copy with modifications applied, but API sometimes provokes usage as-if methods modifies an underlying object -- which leads to tests run with an incorrect set of params, which could be hard to identify. @CheckReturnResult on VMOptions hopefully help to detect those incorrect usages earlier.

+ jetbrains-annotations upgraded to v24 (for @CheckReturnValue)

GitOrigin-RevId: 5d7d86a2268405c15ea378a342b756b2c371d5cb
2023-01-15 11:44:58 +00:00
Andrey Cherkasov
62ebc2616f IDEA-310575 A total pattern is now called an unconditional pattern
GitOrigin-RevId: 306b7b66d45e6f92bc2629db93241630156e5164
2023-01-15 05:39:37 +00:00
Alexey Kudravtsev
8cdf09320c fix method signature types
GitOrigin-RevId: 77702c655d62f2fffb3fc6b9124931ebc3133375
2023-01-14 20:40:47 +00:00
Pavel Porvatov
e16b2b45e0 [Kotlin UI DSL] Code simplifying
GitOrigin-RevId: 749fb0c745725bfbf57d4d9e18dd658c650e5fbf
2023-01-14 00:09:00 +00:00
Roman Shevchenko
1baceb0da5 Cleanup (warnings; formatting)
GitOrigin-RevId: df9765e977eb8bbd9236b8c998d4cb9001e9148a
2023-01-13 19:36:58 +00:00
Roman Shevchenko
ef7a581234 [java] performing JRT "anchor" file lookup from a background thread (IDEA-304503; EA-660614)
GitOrigin-RevId: 0265cc2d4985c0a34981f3b027952dd252c0772c
2023-01-13 19:36:54 +00:00