Nikolay Chashnikov
70676eed64
[java] API cleanup: remove unused deprecated API (IJPL-503)
...
GitOrigin-RevId: 36db2165d4a4bb133b7d63db944f6c8fe3490fa8
2024-05-16 18:00:17 +00:00
Tagir Valeev
8b83a30705
[java-inspections] RedundantThrowsDeclaration: do not report when method contains unresolved calls
...
Helps IDEA-353117 Error highlighting in incomplete project model
GitOrigin-RevId: ac7e3931d54ed2ac24c34adf074b8dd09dd7cda9
2024-05-16 17:49:36 +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
Andrei Rybak
26d8b55820
Fix incorrect usages of Javadoc syntax {@code} and {@link} in various
...
Java classes.
Reviewed-by: Tagir Valeev <tagir.valeev@jetbrains.com >
PR#2520
GitOrigin-RevId: 2ace377ae2dc38b0cfe0a73bf43ac84a067b3071
2024-05-16 13:58:10 +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
Mikhail Mazurkevich
aa01ec8a6f
[workspace model] Remove workspace.model.custom.library.bridge registry key
...
GitOrigin-RevId: de913ae691d925918f0ffda416d8c9dc02f7e78c
2024-05-16 12:42:03 +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
Nikolay Chashnikov
afde5c0221
[java debugger] API cleanup: remove unused deprecated API (IJPL-503)
...
GitOrigin-RevId: 6389dbd06b0f268b48e30fc497bd2a1e8ef9425c
2024-05-15 23:25:49 +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
Nikolay Egorov
3edbfaa5d0
[debugger] Introduce a way to provide evaluationContext without converting it to pausedContext
...
GitOrigin-RevId: 0b640745949259f4054467cbf047201c97838bc5
2024-05-15 20:54:47 +00:00
Tagir Valeev
a25d7951bd
[java-mrjar] Treat classes with the different multi-release version as equivalent
...
It looks like this is a better alternative for now. In particular because we don't know how to resolve a reference from a library class within the same library. The result depends on in context of which module we are doing this resolve, but in general we don't know from which module we started. Currently, we resolve to the same version as the original class, but this might be incorrect. If we consider different versions of a class as different classes, we have problems with code-insight features, as for example, return type of a method and its direct supermethod might be non-equivalent, if the method is declared in source file but a supermethod is declared in the library.
Fixes IDEA-353000 must either be declared abstract or implement abstract method
GitOrigin-RevId: 3fa59bc6c8510f8dc0bcab63ccf491b4ff90610a
2024-05-15 20:15:37 +00:00
Alexey Kudravtsev
6e9810de00
cleanup
...
GitOrigin-RevId: 2637d96e86e2a210fcdf6d1b390f914770e91842
2024-05-15 19:01:10 +00:00
Tagir Valeev
bec96fb550
[postfix-templates] Move ModCommand-based surrounder to background
...
IJPL-149774 ModCommand-based surrounder is executed under writeAction from postfix live template
GitOrigin-RevId: e73ebca237baf1c6501c20304f90ce168a017523
2024-05-15 15:55:32 +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
Yuriy Artamonov
b37b1a3edf
[liquibase] Unused imports in LiquibaseSuggestionProvider
...
GitOrigin-RevId: a1eae8e56b1197ce8ec705c1ef1a727d9cf02743
2024-05-15 11:48:03 +00:00
Anna Kozlova
fd5ffab05e
IJPL-797 intellij.platform.testRunner review internal API
...
GitOrigin-RevId: 290fe8b8df9d75add60b06bb7705beb227563920
2024-05-15 11:39:22 +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
Tagir Valeev
a97e3bf80d
[java-postfix-templates] Fix test (import was missing)
...
GitOrigin-RevId: e6d977dd095f07e0654e465820fd73208db9c5dc
2024-05-15 10:31:46 +00:00
Tagir Valeev
1def0c841c
[refactoring] Fix some raw-types in inplace introducers
...
GitOrigin-RevId: 8e2e93e1bfdd4ead7d0ef0b00aeacedbec7fe341
2024-05-15 10:31:43 +00:00
Alexey Kudravtsev
aa2f8c054b
fix duplicate file level highlights; add test
...
GitOrigin-RevId: 6013b05627aab37e043f445484922a62317fa361
2024-05-14 18:34:24 +00:00
Egor Ushakov
53ac38182f
[debugger] added nullability for better errors detection
...
GitOrigin-RevId: b9751c6fb604e194fd13d752f11a813d90197976
2024-05-14 16:25:51 +00:00
Alexey Kudravtsev
b66d4897fa
fix test: in case of limited CPUs on TeamCity worker, ForkJoinPool may crash or freeze with thread exhaustion symptoms
...
GitOrigin-RevId: d417464eebfb7227bc2e0742fa36fc30ed754d52
2024-05-14 15:53:28 +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
6e2024f6b1
[java, jigsaw] fix: flaky test. the test needs a smart mode IDEA-353200
...
GitOrigin-RevId: 83bd1954ac4d67a7fac98739fe3d9877f4f047ac
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
Mikhail Pyltsin
f1f4179b44
IJ-CR-132827 [java-completion] IDEA-352185 Support JEP 455: completion for primitives in patterns
...
- make PRIMITIVE_TYPES unmodified
GitOrigin-RevId: e7febe03880e2e580c674a6632c203aa6d74246f
2024-05-14 12:54:03 +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
Bas Leijdekkers
106130b6f8
[java] better quick fix text (IDEA-353386)
...
GitOrigin-RevId: ebc64c441f2140181ad4e996005a45b19936b7d3
2024-05-14 10:29:57 +00:00
Bas Leijdekkers
0a8f0ae1c8
[java] better error message for type parameter outside bounds when the type parameter is not a concrete class (IDEA-353386)
...
GitOrigin-RevId: 6fcb1f8c2180ed319cdf7030de9c38b302e8e2d4
2024-05-14 10:29:53 +00:00
Bas Leijdekkers
7b074a10b1
[java] don't skip type parameter extends when inferring diamond type reference to kotlin class (IDEA-352823)
...
GitOrigin-RevId: 26c97dc1440a5d7e43588be17b96b80b3554943b
2024-05-14 10:29:50 +00:00
Alexey Merkulov
c794a1f036
[IFT] Add reworked java onboarding lesson
...
GitOrigin-RevId: f2f92f105fc03a8d206878e1462a981f538ab456
2024-05-13 23:39:48 +00:00
Alexey Merkulov
2cfc4319bd
[IFT] Refactoring: extract common code for the java shortened and full onboarding lessons
...
GitOrigin-RevId: f13d3ef7b76a8fb5eb3f32356f83956851f7d407
2024-05-13 23:39:48 +00:00
Alexey Merkulov
6add35c455
[IFT] Refactoring: prepare for the shortened onboarding lesson
...
GitOrigin-RevId: 57b8114b8917271127553bfe80265abf51649ee4
2024-05-13 23:39:48 +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
Alexey Kudravtsev
f4825a4eb7
more diagnostics of failing test
...
GitOrigin-RevId: 489bf8e28478d3dee0e6700024933f19197a3197
2024-05-13 16:46:08 +00:00
Mikhail Pyltsin
de02a19083
[java-highlighting] IDEA-352727 Incomplete model with lombok
...
GitOrigin-RevId: ea0f6f9cf44d704d4ae7e45fa3ba262c1496ffa4
2024-05-13 16:29:12 +00:00
Alexey Kudravtsev
39b60e7bee
more diagnostics of failing test
...
GitOrigin-RevId: d7da75514821977d03b8fb6358921839d0f6a635
2024-05-13 14:39:48 +00:00
Georgii Ustinov
88bdd2c5fe
[Java. Code Formatting] Remove AdjustWhitespaceLineTextBlockReformatPostProcessor
...
IDEA-351758
GitOrigin-RevId: 18d153fcbcf7edfcd00e2fae87ddd98c40610d8a
2024-05-13 13:59:09 +00:00
Georgii Ustinov
f762b8fa7b
[Java. Code Formatting] Change tests after adding support to format last line
...
IDEA-351758
GitOrigin-RevId: 11bb2e2298d371ebf4041a05b089b0997a228d14
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
69c61c874b
[Java. Code Formatting] Simplify BasicLiteralUtil#getTextBlockIndent
...
IDEA-351758
GitOrigin-RevId: 7eb8bdeb2b12446266d18dea180196560023617e
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
Tagir Valeev
f6abeeb22f
[java-inspections] Rename 'if' statement with identical branches inspection to avoid confusion
...
GitOrigin-RevId: 9bb40bf9b593744130c17c5b0cc14d7c67740729
2024-05-13 13:49:05 +00:00
Liudmila Kornilova
95f0870af5
IJPL-2877 Find unindexed files using mod count
...
Signed-off-by: Liudmila Kornilova <liudmila.kornilova@jetbrains.com >
GitOrigin-RevId: 81adeda1ee309fde9b2d3ed462542a9018ed0464
2024-05-13 13:01:29 +00:00
Nikolay Chashnikov
75e55a9325
[java] cleanup: remove obsolete workaround for IJPL-148830
...
After the proper fix was pushed (4fc837e956e9), it isn't needed anymore.
GitOrigin-RevId: 5e658b00f86fccc150af37d234f215cdd2d7c1db
2024-05-13 12:26:10 +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