Commit Graph

646 Commits

Author SHA1 Message Date
axiom
fe6bb2d57f 16 branding defects fixed.
(cherry picked from commit 4ede66edf1dba37f984904252add615415421e2b)
2025-07-23 14:26:08 +04:00
Louis Vignier
ac93475ae9 [java] Maximize horizontal space in ImportLayoutPanelUI
IJ-CR-146082

GitOrigin-RevId: dfc38a23b55712b672a9637800a3e27b14c0e066
2025-02-19 19:08:35 +00:00
Mikhail Pyltsin
71b95a736f Revert "[java-runner] IJ-CR-154797 IDEA-363985 Temporary workaround for JNI restriction"
This reverts commit dda8badb

GitOrigin-RevId: a52b17f30c338d7bb11caecf17e32690f6621582
2025-02-18 12:51:57 +00:00
Bas Leijdekkers
c65665d0e9 Java: fix "Selected scope contain no Java classes" message
GitOrigin-RevId: 3c0a4fe362e6f68c05f5639b4c1e9e0502119e51
2025-02-16 22:58:12 +00:00
Tagir Valeev
2350d69472 [java-highlighting] JavaCompilationErrorBundle.properties proofreading (DOC-34381)
GitOrigin-RevId: 05bdca159a63027ea0d1e3d767d4adb9b258f47e
2025-02-14 12:45:24 +00:00
Maria Sokolova
c8c9b54efb [coroutines-debugger] Introduced a new type DumpItem to represent entities shown ThreadDumpPanel.
DumpItem is supposed to represent threads, virtual threads or coroutines.

Related tickets:
IDEA-355724
IDEA-367130

GitOrigin-RevId: 738b6dd7f72e87e0e8d5e5fb453eb6df95846e26
2025-02-11 17:55:10 +00:00
Mikhail Pyltsin
f101871c0c [java-runner] IDEA-363985 Temporary workaround for JNI restriction
GitOrigin-RevId: 636caa3aaf46f8bbe6b37ca474662bb95f705f97
2025-02-11 12:06:41 +00:00
Mikhail Pyltsin
6150820425 [command-completion] IDEA-359174 first draft of command completion
- move to platform part

GitOrigin-RevId: 9dde441fccb6ea470faa08a8df8bad75f60fcad4
2025-02-11 09:31:20 +00:00
Tagir Valeev
178b721cf7 [java-highlighting] Preview warning migrated
Also improve reporting, different messages for errors and warnings; reflective preview use reported by inspection
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)

GitOrigin-RevId: d7c85058aed3202d0599fc879a61c0fa56388fea
2025-02-10 14:02:54 +00:00
Tagir Valeev
9b9ed3498f [java-core] Move JavaPreviewFeatureUtil to codeserver.core
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)

GitOrigin-RevId: 79db63637514eef45284a8535d8fa8d9bad129f7
2025-02-07 16:16:33 +00:00
Mikhail Pyltsin
4543b3fe66 [java-import] IDEA-366927 and IDEA-366926 improve auto-import
- fix inspections

GitOrigin-RevId: 629202f11b819d73aadbf9d0a6c6ce85b58bf39b
2025-02-05 15:36:45 +00:00
Mikhail Pyltsin
3402d737d7 [java-import] IDEA-366927 and IDEA-366926 improve auto-import
- use code style for on-demand imports
- support members for auto-import, not the whole class

GitOrigin-RevId: 32d14c06819a1b1062b081756f614113e22c9858
2025-02-04 20:23:25 +00:00
Bas Leijdekkers
b4544c7a42 Java: clearer name for inspection and quick-fix
GitOrigin-RevId: 0ee29991b00d4ac8341c031a4a111b23bb44b800
2025-02-04 14:01:33 +00:00
Mikhail Pyltsin
4453ec0191 [java-imports] IJ-CR-153077 IDEA-13817 Create "favorites" for static import and completion
- improve localization

GitOrigin-RevId: f930fb24872b9a126ee445e5e7bcaa777264b327
2025-01-31 15:49:15 +00:00
Louis Vignier
5561c58027 [java] Notify after using an action to add a JDK
If add JDK / download JDK actions are called when the project JDK is not defined, it is set and a notification is now shown.

IJ-CR-138757

GitOrigin-RevId: d7e49bc88a1a920036cb9919054dd8c66287d8b4
2025-01-31 00:45:11 +00:00
Mikhail Pyltsin
c31dc919a9 [java-imports] IJ-CR-153077 IDEA-13817 Create "favorites" for static import and completion
- new intention to add to auto-import
- fix conflict with packages

GitOrigin-RevId: 5a42079a0eb7bc798a5cc6b0602487381e1141ce
2025-01-28 12:41:42 +00:00
Mikhail Pyltsin
0e5380e1c0 [java-completion] IDEA-359174 first draft of command completion
- comment for element

GitOrigin-RevId: 4e95c325a0468bf50c002426bfd06b42537aa88d
2025-01-22 18:23:48 +00:00
Mikhail Pyltsin
3cb38fccaa [java-imports] IDEA-13817 Create "favorites" for static import and completion
- part of "favorites" for static import. Inspection and refactoring

GitOrigin-RevId: a764a70000c3f0918e50a814908e5969b93688d7
2025-01-16 14:21:49 +00:00
Mikhail Pyltsin
b1a1f903ba [java-imports] IDEA-13817 Create "favorites" for static import and completion
GitOrigin-RevId: 786ff0d07a68ecb53f3c929600353bc28f483bf0
2025-01-16 14:21:49 +00:00
Mikhail Pyltsin
f931a399f4 [java-import] IDEA-364508 IJ-CR-151305 support optimize imports
- add missed message

GitOrigin-RevId: 6885ba91554a04653cf2a2010b337988d6bd9325
2025-01-10 13:19:34 +00:00
Tagir Valeev
2ab7e44f8d [java] Remove FindJarFix
It relies on the findjar.com service which doesn't work for a very long time
Makes obsolete IJPL-9359 "Find Jar On Web" feature doesn't work
Makes obsolete IDEA-240221 Find Jar On Web fails to download some jars
Also fixes IDEA-335544 Request: extension points to disable FindJarFix intention actions

GitOrigin-RevId: a2295375eea2d585ce924818e899bab12294a450
2025-01-08 19:09:54 +00:00
Louis Vignier
1e120e9898 [java] Add a floating toolbar when auto run is enabled
#IDEA-364861 Fixed

GitOrigin-RevId: ceef1278e1aa78e9e0f87af7bd5585f2cc13e23b
2025-01-08 16:19:27 +00:00
Louis Vignier
e24c4f2783 [jdk] Make JavaVersionChecker a project activity
IJ-CR-150687

GitOrigin-RevId: 16d4cacd17ea6459ca289e95e53a8b7dadcb63a7
2025-01-08 16:19:27 +00:00
Mikhail Pyltsin
e2a311784c [java-tests] IDEA-169282 IJ-CR-152163 Unit test elapsed time should be a wall time from start to end for Gradle, TestNG, JUnit
- delete option for live-timing

GitOrigin-RevId: a395f2718bf2f2f28285dfd29ff369e8e1c78298
2025-01-08 14:09:53 +00:00
Tagir Valeev
e711100561 [java-highlighting] Initial draft of highlighting server; some annotation-related errors are reported by it
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)

GitOrigin-RevId: e815adec0be9017c8237bdd8fe7c67632f2438da
2025-01-07 11:54:43 +00:00
Mikhail Pyltsin
b8b0065156 [java-tests] IDEA-169282 IJ-CR-152163 Unit test elapsed time should be a wall time from start to end for Gradle, TestNG, JUnit
- add annotations
- add javadocs

GitOrigin-RevId: e2ae808a11e7a87b74cb8c9647ca292162315547
2025-01-03 12:40:51 +00:00
Mikhail Pyltsin
e18f505c95 [java-tests] IDEA-169282 Unit test elapsed time should be a wall time from start to end for Gradle, TestNG, JUnit
GitOrigin-RevId: 6557a34e368eb859ffb4214e8fe1b14c680d9548
2024-12-24 11:23:37 +00:00
Mikhail Pyltsin
2f9dd08f10 [java-tests] IDEA-169282 Unit test elapsed time should be a wall time from start to end for Gradle, TestNG, JUnit
GitOrigin-RevId: 88b88aa72a0fdbda18b35e04825dec7bdb179292
2024-12-23 20:07:21 +00:00
Bas Leijdekkers
9890175ff5 Java: remove some unused properties
GitOrigin-RevId: 2739086d0d81a6d836c12a5080764de139ad7d16
2024-12-19 19:09:44 +00:00
Mikhail Pyltsin
36c497436c IJ-CR-151305 [java-import] IDEA-364508 support optimize imports
- use layout table

GitOrigin-RevId: 6862419acc2beb72f87cca6b93612f9afe81f698
2024-12-19 18:02:44 +00:00
Bas Leijdekkers
2b32d9bb56 Java: basic support for Valhalla Value Classes (IDEA-364548)
GitOrigin-RevId: 93b0394866aae35772ccc90e7de822af8a94c6ce
2024-12-18 18:05:29 +00:00
Mikhail Pyltsin
ab52fbdf4e [java-import] IDEA-364508 support optimize imports
- new options are added
- changes for optimize imports

GitOrigin-RevId: 82b0223f9e7e2972d13ab182ea651cdccd28a5d3
2024-12-10 19:06:21 +00:00
Bartek Pacia
5569a2965d [java-inspections] IDEA-14669 fixed: suggest adding specific non-null assertions from test frameworks
(cherry picked from commit 0d22d640ea4ee77a6bdfb5b4af504332e7456b68)

IJ-MR-150371

GitOrigin-RevId: 04a5fe47cf874ae78c5ad73282b55123f55e84cb
2024-12-05 12:35:38 +00:00
Vojtech Balik
9064a4129d [java-inlays] IJPL-29610 migrate AnnotationInlayProvider to declarative API
GitOrigin-RevId: 53f965412470712cc27accf3cf38de448bce082b
2024-11-27 12:54:20 +00:00
Mikhail Pyltsin
7404f51dfc [java-inspections] IDEA-286507 Warn when colon-style expression switch uses yield or throw in every branch
GitOrigin-RevId: 2e79504ab44609427f51fe5652cb995ec72d17d6
2024-11-26 16:55:45 +00:00
Aleksei.Cherepanov
357b6fc322 [JPS] KTIJ-32148 Update in-memory logger messages for clarity
Revised the in-memory logger setting and its description to make it more user-friendly and hide implementation details

GitOrigin-RevId: e06379b188b1011e709e3c5cda7a2cac8a93c923
2024-11-25 18:05:18 +00:00
Mikhail Pyltsin
708b5271f6 [java-completion] IDEA-359174 command completion
- add hint
- add simple i18n

GitOrigin-RevId: c9a94a47dd706d6f2f23543d8b733aeb4b1467e7
2024-11-21 14:58:08 +00:00
Mikhail Pyltsin
0569ea733a [java-completion] IDEA-363369 Postfix completion for conversion
- implementation new templates
- tests

GitOrigin-RevId: 18d04d8d2eb87323feae2f5e2536ee619a7f6d15
2024-11-16 23:09:51 +00:00
Louis Vignier
0d224dd12d [execution] Show a warning when running a configuration with JDK 7
#IDEA-359230 Fixed

GitOrigin-RevId: 4ec39c63bb8dd6b8cb9e81f6ffb9b0b675222190
2024-11-15 13:48:09 +00:00
Louis Vignier
ff19ec5815 [npw] Warn when creating a project with JDK 7
#IDEA-359230

GitOrigin-RevId: 04902206467ac1cb3301d5aba560960331494e6b
2024-11-15 13:48:09 +00:00
Georgii Ustinov
abfeea2b41 [Java. Code Formatting] Format records annotations similar to java fields
IDEA-298007

GitOrigin-RevId: 685e8020cef634d3554a70cbb35d9c5fd2fc33d1
2024-11-14 19:02:05 +00:00
Tagir Valeev
9341e35ff6 [java-highlighting] IDEA-363260 Report javadoc parse errors as inspection warnings
GitOrigin-RevId: fd66c5f727623b919af048b5bb7b428edcf71ad2
2024-11-14 17:05:05 +00:00
Aleksei.Cherepanov
7ecd906bbe [JPS] Introduce in-memory failed build logger
^KTIJ-31104 Fixed

GitOrigin-RevId: b04d3c85571842b3479d1e0394f5e1e094a5d34b
2024-11-11 17:51:32 +00:00
Louis Vignier
eefffff7e2 [java] Improve arch checker notification title and message
GitOrigin-RevId: 215391f3f5f1a56d4b6e6d9bdc1ad13718eecd0b
2024-11-07 19:08:59 +00:00
Bas Leijdekkers
4b1e32f7c4 Java: add "Layout on-demand import from the same package first" option (IDEA-204441)
enabled by default for consistency with other tools

GitOrigin-RevId: df5a4b65c5f31b195bd091a91d16ea0bc7bcc36c
2024-10-24 22:20:52 +00:00
Tagir Valeev
9bcd5c38ea [java-inspections] JavaReflectionInvocationInspection: better message and range when number of arguments differs
Fixes IDEA-171801 Make "Reflective invocation arguments mismatch" more verbose

GitOrigin-RevId: 586b21e543959f53a082d6b0a1fdcb28c0f30039
2024-10-17 14:08:04 +00:00
Yuriy Artamonov
b79a859047 [java] IDEA-352641 File - New contains many irrelevant templates for Java source sets
GitOrigin-RevId: bd18866f6d60839fa9474c7071aca2761989986e
2024-10-06 17:03:10 +00:00
Bas Leijdekkers
dfae4a26c2 Java: "Generate overloaded constructor with default parameter values" for records (IDEA-360071)
GitOrigin-RevId: a20fd5478241de404df3243f1b8b9a7d1a73829e
2024-10-02 20:13:41 +00:00
Bas Leijdekkers
e5ebf1ddb6 Java: remove ugly quotes from title
GitOrigin-RevId: f1ff1e084bd59f600f37a70c335ff02b2b73d77a
2024-10-02 20:13:41 +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