Mikhail Pyltsin
5cdb566ad8
[java-inspection] IDEA-352587 Support JEP 455: Improve conversion from if to switch
...
GitOrigin-RevId: 30a1ee985af322459781882e4e792ecb6478ea67
2024-05-24 21:18:43 +00:00
Tagir Valeev
f2d54019ba
[java] Join Lines in text blocks: automatically remove \s on the joined line boundaries (IDEA-349062)
...
GitOrigin-RevId: 97f4885283f6da2bb06c46df6ea19ee6cd8caa7c
2024-05-24 18:25:46 +00:00
Evgenii Zakharchenko
e4a8575130
[spring] IDEA-352154 Correctly inject prototype beans
...
GitOrigin-RevId: bd6dc5c920c164302a85fcc6aa451d1bb9a3a41c
2024-05-23 19:08:31 +00:00
Tagir Valeev
3b688121d2
[java] IDEA-353981 'Rename to ignored' fix: ModCommand, allow 'fix all' action
...
GitOrigin-RevId: 83676caca1d4a0f6308d649efd92d6f58845b57e
2024-05-23 19:00:36 +00:00
Tagir Valeev
4caf2568f9
[java] StaticImportMemberQuestionAction: read action (IDEA-353853)
...
GitOrigin-RevId: c0123d5b9d070741cfb80381e6f5beb62eb3e927
2024-05-23 17:29:02 +00:00
Tagir Valeev
a006ca5899
[java-inspections] CreateGetterOrSetterFix: seal
...
GitOrigin-RevId: 852907e875223bc530d28c2697bc4377eb727d01
2024-05-23 17:28:58 +00:00
Bas Leijdekkers
8e4c9ac12f
[java] fix message on vararg parameter (IDEA-353805)
...
for "Method parameter always has the same value" inspection
also avoids retaining PsiTypes and UAST fields in the global reference graph
GitOrigin-RevId: 4c4744b015c00e0e2899e95454a36ececedcaa75
2024-05-23 12:46:43 +00:00
Tagir Valeev
5cc297d7ea
[java-inspections] IDEA-353938 Report ignored object allocations inside method references
...
GitOrigin-RevId: 1261b9bdb64bec0269fe7d0ffb2ac634e1494e81
2024-05-23 11:08:49 +00:00
Tagir Valeev
cbc1f20f8e
[mod-commands] Do not remove selection for all clients, instead use explicit 'select' command when necessary
...
In some cases, original selection is used by the client, so we cannot unconditionally remove it
Part of IJPL-149593
GitOrigin-RevId: 3780af1b1162082b2b2bb03c7f1533f865b1b6dd
2024-05-23 11:08:45 +00:00
Tagir Valeev
65765e4893
[java] Replace ReferencesSearch with VariableAccessUtils where possible
...
GitOrigin-RevId: 9da932c0ddbea78f590e578e0ff7a9baaf49cc75
2024-05-23 10:43:10 +00:00
Eugene Zhuravlev
4e442deca3
introduce "unified IC implementation" advanced compiler setting to enable dep-graph based IC
...
GitOrigin-RevId: 799fd4aefb2ba35db1ac3addfb1724f81d5d6c58
2024-05-22 20:44:32 +00:00
Mikhail Pyltsin
a6a4834e74
[java] EA-1216180 try not to resolve the whole extends list for overriding icon in dumb mode.
...
- extract `aClass.getExtendsList()`
GitOrigin-RevId: d27ecbfe559b2fb942a0fdac832ee5b17e0093ee
2024-05-22 19:34:37 +00:00
Mikhail Pyltsin
6abe1afadd
[java] EA-1216180 try not to resolve the whole extends list for overriding icon in dumb mode.
...
- add more checks
- also check `aClass.getExtendsList().getReferences()`
GitOrigin-RevId: ce38b17fb19e0efda237c3a0899ecac09fe06dbd
2024-05-22 10:22:20 +00:00
Dmitry Batkovich
efea905a99
add a way to disable trigram index (and implement it for java library sources) IJPL-188
...
GitOrigin-RevId: 326cf1677d3e36003f52cc5e12ef56ea75a2b109
2024-05-22 07:44:50 +00:00
Mikhail Pyltsin
1d8e237eeb
IJ-CR-133924 [java-test] EA-1144109 Fix IndexNotReadyException for other languages
...
- fix application run markers for scala
GitOrigin-RevId: eef28f08131202e99e8962c0fc3a50501791f3de
2024-05-21 17:26:00 +00:00
Anna Kozlova
e57891c496
[java] disable find method dialog with options for method outside of class
...
^IDEA-353817 fixed
GitOrigin-RevId: 0ea84844d5b4f10437d8530d0605613cb83d5efd
2024-05-21 17:11:20 +00:00
Mikhail Pyltsin
38a0b779ae
[java] EA-1216180 try not to resolve the whole extends list for overriding icon in dumb mode.
...
- Use `getExtendsList`. It is less accurate, but it looks safe to use in dumb mode when we try to predict and guess
GitOrigin-RevId: a0fdb0e1d21613e31d73da56b3d2ee3cd5fc3a0c
2024-05-21 14:17:01 +00:00
Daniil Tsarev
018dc71237
IDEA-353501 [statistics] Clarify stylefeng guns/roses
...
GitOrigin-RevId: c228ce16fd359ed09e29817341d123cfb9a60c38
2024-05-21 09:20:09 +00:00
Bart van Helvert
0be55e2dc4
[java] Fix run line marker for JUnit tests with Gradle config
...
#IDEA-353722 Fixed
GitOrigin-RevId: b85f9a3ec7a15e4f72c5a0ae8ddce371e32b22f0
2024-05-20 20:28:13 +00:00
Vladimir Krivosheev
484b644494
IJPL-796 refactor EditorFactoryImpl
...
GitOrigin-RevId: 15facd723931a7e7247dcfe52325e3d2c99b58be
2024-05-20 12:47:40 +00:00
Mikhail Pyltsin
1b026e0b7f
IJ-CR-133924 [java-test] EA-1144109 Fix IndexNotReadyException for other languages
...
- new JvmLanguageDumbAware introduced
GitOrigin-RevId: 4bdd0195d5defd407e6d2804b528a79b018b50eb
2024-05-20 01:21:32 +00:00
Dmitry Krasilschikov
d072954e17
IDEA-344628 fix project leak in UsageContextPanel
...
GitOrigin-RevId: bdeb1de2db2d1284c3e972b9e5dfc79b8b361e5c
2024-05-17 12:46:24 +00:00
Georgii Ustinov
95ffe008da
[Java. Code Formatting] Add support to preserve multiple known type annotations on the same line
...
IDEA-353192
GitOrigin-RevId: ea883b1326c056f6c09bb62b6d03af75ac4e98b8
2024-05-17 11:16:41 +00:00
Georgii Ustinov
ba3477f10c
[Java. Code Formatting] Preserve single known type annotation on the same line with type or type parameter list
...
IDEA-353192
GitOrigin-RevId: 5baee165cdc0acd33cca2b77c7a0430203e1a24c
2024-05-17 11:16:41 +00:00
Georgii Ustinov
ef1b44b6ff
[Java. Code Formatting] Improve readability for JavaFormatterUtil#extractTextRangesFromLiteralText
...
IDEA-271085
GitOrigin-RevId: e63726f2908fffea92225595c531016b47ea711b
2024-05-17 11:16:41 +00:00
Tagir Valeev
34561a0cde
[java-refactoring] IDEA-353500 The pre-populated value should be pre-selected in IntroduceVariable refactoring dialog
...
GitOrigin-RevId: d8fd6486efd63e622690510e2f15f381f4d7a8ab
2024-05-16 15:34:43 +00:00
Tagir Valeev
66bc229c7e
[java] IDEA-353603 Generate constructor still generates if cancel is pressed
...
GitOrigin-RevId: c9e116671d8790832dd81601928dde6bd12f85f9
2024-05-16 13:58:21 +00:00
Tagir Valeev
18e26f108f
[java] JavaPostfixTemplatesUtils: wrap checks like isBoolean into alternative resolve mode
...
Also more alternative resolve
Fixes testBoxedBooleanVariable failures listed in IDEA-353506 Flaky tests - ijplatform_master_IdeaJavaDumbCompletionTests - more [DUMB_EMPTY_INDEX]
GitOrigin-RevId: e65b5c25f976fb0e3229846b941412ba489c09dc
2024-05-16 13:58:05 +00:00
Daniil Tsarev
d257eb7c77
IDEA-353501 [statistics] Collect Chinese frameworks and libraries usage statistic
...
GitOrigin-RevId: 69ea1e54f68ca29aae4af5592bc751cf7945e6f7
2024-05-16 09:40:53 +00:00
Anna Kozlova
3715845ab3
[kotlin] kmp find usages: create dialog for find usages by ktFunction
...
- search for implicit toString() is not implemented for kotlin, and thus the option won't be shown
^KTIJ-29965 fixed
GitOrigin-RevId: 4f97a01b7dff73212ab9e6a1391576a06f586165
2024-05-15 21:31:15 +00:00
Tagir Valeev
8fad668268
[java-inspection] IDEA-345669 Report value compared to itself with == or !=
...
GitOrigin-RevId: 601c0bb6c5beddaace52d3b094506d2229195d37
2024-05-15 15:55:21 +00:00
Tagir Valeev
6786256e4d
[java-postfix-templates] Spill more withAlternativeResolve
...
Fixes IDEA-353151 Flaky test com.intellij.tests.BootstrapTests: com.intellij.java.codeInsight.template.postfix.templates.FieldPostfixTemplateTest.testAnnotated[DUMB_RUNTIME_ONLY_INDEX]
GitOrigin-RevId: 1fa972b3d44cd37148ecd1db347deef1042602d1
2024-05-15 10:31:50 +00:00
Aleksey Dobrynin
ccf644aaed
[java, completion] use default tail text for a jigsaw completion IDEA-352245
...
GitOrigin-RevId: 1d7753860c413c92d697dc106f4d011022c861ce
2024-05-14 15:34:39 +00:00
Aleksey Dobrynin
a4aeeb2599
[java, jigsaw] fix: NPE IDEA-352304
...
GitOrigin-RevId: 3189c0446461f54f1c7f369d512abccbaa482959
2024-05-14 15:34:39 +00:00
Bas Leijdekkers
bbb76f93cf
[java] don't suggest "implements" for type parameter (IDEA-353386)
...
GitOrigin-RevId: fec190f372d53eb9311a54dc01e511ef432b0ee4
2024-05-14 10:30:00 +00:00
Mikhail Pyltsin
2fdade319c
[groovy-test] IDEA-353402 Inappropriate support test frameworks for groovy in dumb-mode
...
GitOrigin-RevId: 270a3cb538b2e2ed6b97f61c8302de7d12f59b21
2024-05-13 18:35:17 +00:00
Georgii Ustinov
88bdd2c5fe
[Java. Code Formatting] Remove AdjustWhitespaceLineTextBlockReformatPostProcessor
...
IDEA-351758
GitOrigin-RevId: 18d153fcbcf7edfcd00e2fae87ddd98c40610d8a
2024-05-13 13:59:09 +00:00
Mikhail Pyltsin
a87cef51de
[Java. Code Formatting] Add support to align last line in text block if there is no symbols
...
IDEA-351758
GitOrigin-RevId: fca446697ac8eb5f1c24fbb3a1bf72924a48a65a
2024-05-13 13:59:09 +00:00
Georgii Ustinov
3f278e2717
[Java. Code Formatting] Improve JavaDoc for JavaFormatterUtil
...
IDEA-351758
GitOrigin-RevId: 0fcaa1652f83010d13615db2407fd27561db0eba
2024-05-13 13:59:09 +00:00
Roman Shevchenko
ac742921c5
Cleanup (typos; formatting)
...
GitOrigin-RevId: 9733aeebbae11f645b17261f25692b92557ccd3a
2024-05-12 20:30:07 +00:00
Roman Shevchenko
fb5023db6b
[project] fixing simple "zero-tolerance inspection" problems
...
GitOrigin-RevId: a2ed3b1983adba46cd998d7bd1f7f3e7a165d8c5
2024-05-12 20:30:07 +00:00
Tagir Valeev
0ea0eadc51
[mod-commands] IJPL-149593 ModCommand-based Surrounder API
...
GitOrigin-RevId: 56b1bc727db4e686afc6363326c1b079030da414
2024-05-12 17:34:00 +00:00
Tagir Valeev
08e430ac08
[java] JavaStatementsSurrounder: format; make addAfter static
...
GitOrigin-RevId: 4676945f557ac56e6ab5db343a481062a88d4cec
2024-05-12 17:34:00 +00:00
Tagir Valeev
307261b5a1
[java-inspections] SameParameterValueInspection.InlineParameterValueFix: do not try to show conflict dialog under preview
...
Fixes IDEA-353264 REWA: ThreadingAssertions.createThreadAccessException
GitOrigin-RevId: 285ea6105aeb7fd998d9504827dd1e28f07248ed
2024-05-12 17:34:00 +00:00
Mikhail Pyltsin
89afd5ade5
[java-test] EA-1144109 Fix IndexNotReadyException for other languages
...
GitOrigin-RevId: c1d898eb7fb486dc31a3dafa688a138a585d92a7
2024-05-09 13:02:19 +00:00
Mikhail Pyltsin
135a903421
IJ-CR-130572 [java-inspections] IDEA-337706 Support conversion System.out to log calls
...
- improve tests
GitOrigin-RevId: c6ffd6265b88fdbd0cef5b4616de1466d896ef25
2024-05-09 09:21:17 +00:00
Gregory.Shrago
5980fec9c3
add knownIssue section for top issues
...
GitOrigin-RevId: 94baf82c1e7f25f6a76194abc9416a5fd83db719
2024-05-09 00:39:13 +00:00
Tagir Valeev
7495fe28dc
[java-intentions] ReplaceConstructorWithFactoryAction: take into account anonymous inheritors when determining access level
...
GitOrigin-RevId: 92e2b2c6c1044c0efbeaf5fcb01fccb0961624da
2024-05-08 17:35:05 +00:00
Tagir Valeev
3128b83e8c
[java-refactoring] IDEA-351060 Extract variable - Changing the type of variable leads to SlowOperation exceptions
...
GitOrigin-RevId: 877d34e61486f8a24d183b5883d5522a8dd860aa
2024-05-08 17:35:05 +00:00
Mikhail Pyltsin
ce0c710c4a
[java] reuse primitive types from PsiTypes
...
GitOrigin-RevId: ed85ff9e35ae755b1307203e81acbdf56a2fa11a
2024-05-08 14:24:35 +00:00