Commit Graph

1908 Commits

Author SHA1 Message Date
Mikhail Mazurkevich
a3ddcc63a5 [workspace model] IJPL-797 intellij.platform.projectModel review internal API (workspaceModel package)
GitOrigin-RevId: f50f4cea39cfefecf13832d6ef468668ad0f7d60
2024-06-18 15:57:31 +00:00
Mikhail Pyltsin
e42c3ee1e4 IJ-MR-136429 [java-generation] IDEA-344399 generate annotation based on type_use option
- fix message
- fix comparator

GitOrigin-RevId: 842fbf9e29150159ae92a47eddb84eb9a8d7288a
2024-06-17 21:14:57 +00:00
Mikhail Pyltsin
9bf2727703 [java-generation] IJ-MR-136429 IDEA-344399 generate annotation based on type_use option
- fix non-standard-root-packages
- introduce project descriptors

GitOrigin-RevId: 41db7240e29fbfed81957df2d68e2de29c573ef2
2024-06-17 21:14:57 +00:00
Mikhail Pyltsin
2023228d8c [java-generation] IDEA-344399 generate annotation based on type_use option
- extracted new option
- reuse this option in MissortedModifiersInspection
- override uses this option too

GitOrigin-RevId: 39f3f72991240753c86c7f80df865728aa9743ad
2024-06-17 21:14:57 +00:00
Alexander Lobas
89d58ee436 IJPL-150231 Move icon mappings from json to icon generator
GitOrigin-RevId: 4d4576fc7eeb92ec43c36abec2d62d271b45d9a4
2024-06-15 23:19:46 +00:00
Yuriy Artamonov
b9416a8db9 [java] IJPL-34876 Declare icons and texts for ParseSdkmanrcAction declaratively
GitOrigin-RevId: 16e5d519d8be7f64fd5f286580d70c96c91d72de
2024-06-15 21:01:31 +00:00
Vladimir Krivosheev
69fe677cde IJPL-796 refactor JavaFileIconPatcher
GitOrigin-RevId: c15082085eda3160d89a94424d4303c06d71ed8e
2024-06-15 19:18:53 +00:00
Mikhail Pyltsin
e8093a742f [java-logging] IDEA-354689 freezing with too long name
GitOrigin-RevId: d4629b1008ac0dcfeb256b3f7dd9ef733a129ff8
2024-06-14 12:59:18 +00:00
Georgii Ustinov
3ae38b4cff [Java. Code Formatting] Fix typo for whitespace option "Inside block braces when body is presented"
IDEA-270369

GitOrigin-RevId: cce77ef8ec80c45622f6707c9671ac5a774763f8
2024-06-10 10:10:41 +00:00
Roman Shevchenko
dee7fe2af0 [project] direct dependencies to kotlin-stdlib and intellij.platform.util.ex
(instead of reexporting via `intellij.platform.remote.core`)

GitOrigin-RevId: 9d412fd96ef69ed84ab4d414e760dc8c447a6310
2024-06-09 17:37:07 +00:00
Georgii Ustinov
bb9759a556 [Java. Code Formatting] Add support to configure spaces for simple nonempty blocks when the "Spaces within blocks" is disabled
IDEA-270369

GitOrigin-RevId: 19283bcf734658323659abe7f14e5c38fdc9fec3
2024-06-07 17:47:43 +00:00
Bas Leijdekkers
4777c9dd1b new "String template can be concatenated string" inspection (IDEA-349463)
GitOrigin-RevId: 84871569e435e1f1cd5c06814781739baf977cae
2024-06-07 14:19:07 +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
Bas Leijdekkers
ccb7a28e9f [java] small inspection descriptor simplification
GitOrigin-RevId: d66de66e71fed85b5d1f774c504d74a3963476bd
2024-05-23 12:46:43 +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
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
Roman Shevchenko
ac742921c5 Cleanup (typos; formatting)
GitOrigin-RevId: 9733aeebbae11f645b17261f25692b92557ccd3a
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
Yuriy Artamonov
84b8e63900 [frameworks] IJPL-148944 Speed-up IconProvider implementations
GitOrigin-RevId: 26939b80f4996fc23605dbf7cf9d944e8681e95c
2024-05-05 17:43:32 +00:00
Louis Vignier
a33d7253a0 [jdk] Add a checkbox in the settings to disable JDK updates
#IDEA-330415 Fixed

GitOrigin-RevId: f669e4e59832816fe5fb7d9107ca24dd03ed60b0
2024-04-26 19:56:08 +00:00
Nikolay Chashnikov
b966d0247f [xml dom] cleanup: mark 'ConvertContext' parameters in Converter interface and its implementations as @NotNull
Actually, 'null' value is never passed, but explicit annotation simplifies writing code in its implementations, especially in Kotlin code.

GitOrigin-RevId: 8059717d7259eb50a3ef68f2334b5f08c7e81b06
2024-04-24 11:44:31 +00:00
Tagir Valeev
11097530d4 [java-intentions] Remove outdated MoveMemberIntoClassFix.java
Superseded by MoveMemberIntoClassFix.java

GitOrigin-RevId: cc3a29aa7089f91ff5c13a61e722c0ad3843985e
2024-04-22 19:34:03 +00:00
Roman Shevchenko
76aabae33e Cleanup (typos; formatting)
GitOrigin-RevId: f88e1dbc46a5cb25603323196a4d422ec475489d
2024-04-19 22:18:14 +00:00
Nikolay Chashnikov
98c7ce3b93 [workspace model] provide API to find files under Java resource roots by relative path
This is needed for IJPL-115195.

GitOrigin-RevId: e2cd66e9b2b94748d6014aa931925ec88d5a7ee3
2024-04-18 09:49:19 +00:00
Tagir Valeev
43b02d2a23 [java-refactoring] Support parameters on conflict detection
GitOrigin-RevId: 308c1da92a04f6212c0e6bb764bdf6d940192b2d
2024-04-11 14:46:35 +00:00
Tagir Valeev
ac165fab2d [java-refactoring] Separate description for pattern variable; tests for conflicts
GitOrigin-RevId: 8609f4658c1ceb0575372102b55128e098000dc6
2024-04-09 10:29:09 +00:00
Tagir Valeev
7cf578f646 [java] Cosmetic changes in feature-based language level support (IDEA-345517)
GitOrigin-RevId: 8fe21e83b6cee29955d5be5d45744d3db18ea99d
2024-04-03 19:43:15 +00:00
Bas Leijdekkers
9414c123b8 [java] create annotation value() method from usage (IDEA-350345)
GitOrigin-RevId: 3596e1f35ce3f603789c69f90b28aacaf448866a
2024-04-01 10:52:18 +00:00
Alexey Belkov
c0c2bd301b Proofreading: replace "missed" with "missing" in messages
https://english.stackexchange.com/questions/142544/is-missing-vs-is-missed

"Missing" should be used in the "absent" sense.

GitOrigin-RevId: e3e6ff4907dfb5bda98144919021c8b2c4dd5940
2024-03-28 11:44:04 +00:00
Louis Vignier
9b9f155f70 [java] Warn on JDK/OS arch mismatch when building the project
- Sends a sticky balloon notification on the first build with a JDK every session in case of arch mismatch (shown again after changing JDK)
- New checkbox in Build | Compiler | Java Compiler to disable warnings

#IDEA-343661 Fixed

GitOrigin-RevId: ac9b36b05403ac38acc7a55944850608f86d4e59
2024-03-26 18:18:48 +00:00
Kirill Likhodedov
ba0d2499cd internal-tools: move the InvalidCompilationListener to the internal tools
There is no demand for the feature in the Java plugin at the moment. At the same time, we'd like to extend it by some internal capabilities like reporting to Slack, which is more convenient to do when the whole feature is located in a single module.

GitOrigin-RevId: 0249858bb6824a3cab4e416b9ebc2eb83ba295ae
2024-03-18 13:17:48 +00:00
Tagir Valeev
193b2cb477 [java-inspections] Experimental ModCommand-based DeletePrivateMethodFix for unused inspection
GitOrigin-RevId: efd9306505048695f1aa1de1851383e170b0c1ca
2024-03-12 16:55:18 +00:00
Aleksey Dobrynin
59caea7b12 Revert " [java, highlighting] add standard "jigsaw" modules from the user's JDK for non-modular projects IDEA-259485"
This reverts commit 8e172c5f75f1d0840fbd48206c4e4708f47084fc.

GitOrigin-RevId: 01871c48dca312f03d9b97a22ecf3602b7714613
2024-03-11 17:59:22 +00:00
Aleksey Dobrynin
1693569519 [java, highlighting] add standard "jigsaw" modules from the user's JDK for non-modular projects IDEA-259485
GitOrigin-RevId: c006ccb6680010eed93cf956befcfdcebaa7551b
2024-03-08 18:49:36 +00:00
Bas Leijdekkers
29d7aea7d4 [java] better message when trying to extract constant of variable accessed for writing
GitOrigin-RevId: deb515ab12422a30908578f9cdb367c902354942
2024-03-06 19:03:19 +00:00
Bas Leijdekkers
bf6fdd2607 [java] avoid some duplicate properties
GitOrigin-RevId: 7fa2f2f584d1b59c475d372ed5f0ca8f9969ee3c
2024-03-06 19:03:16 +00:00
Bas Leijdekkers
6583f8ee65 [java] disallow extracting super expression (IDEA-340915)
GitOrigin-RevId: cb698e271e04767dead0a72d7a70cb3a537af614
2024-03-06 19:03:13 +00:00
Georgii Ustinov
5168d264d7 [Java. Logging] Replace display name for logger variable and align it with the preferred logger combobox
IDEA-347382

GitOrigin-RevId: dec1fff935dd623808176ecf0bce37a47b2c4f37
2024-03-04 09:04:37 +02:00
Aleksey Dobrynin
d9e11e9153 [java, completion] refactoring: simplify code, add javadoc, add localization IJ-CR-127501
GitOrigin-RevId: e5adf605b24e8f74932f98c805d926ea4ef5d200
2024-03-01 22:56:33 +00:00
Georgii Ustinov
69625bf48e [Java. Logging] Add validation for the logger's name and rename its label
IDEA-347382

GitOrigin-RevId: 9d1e7fc2888dece64dede3bd08559474a7274ca5
2024-02-27 10:35:37 +00:00
Georgii Ustinov
846822e128 [Java. Logging] Add basic logger name configuration
IDEA-347382

GitOrigin-RevId: 0eed701a66cdd0fd3f0cdc7aefd94a8c7fbeffac
2024-02-27 10:35:24 +00:00
Tagir Valeev
d89c17fc59 [kotlin-dfa] Move inspection.data.flow.warn.when.reading.a.value.guaranteed.to.be.constant to JavaAnalysisBundle
Preparatory step for KTIJ-28908 Convert "Constant conditions" inspection to K2

GitOrigin-RevId: 68798782d260f8245947423efd936ae82bde841c
2024-02-24 12:22:09 +00:00
Georgii Ustinov
3529ce4b26 [Java. Logging] Add id field to the JvmLogger
IDEA-345098

GitOrigin-RevId: 8e4db43c54658ca573918527e2714bbb1e73d590
2024-02-22 19:57:33 +00:00
Tagir Valeev
c756a7ffe4 [java] i18n warning fixed
GitOrigin-RevId: 630de5d7cfbce817b6a927a3892ee50b50dc60c4
2024-02-21 10:40:53 +00:00
Yuriy Artamonov
fa6619aa62 [java] IDEA-346483 IDE frozen on start during scanning in JavaLibraryUtil
GitOrigin-RevId: 041170d5315969ef41c0a7e702b3a195f34a1a09
2024-02-19 22:45:31 +00:00
Aleksey Dobrynin
b2010f620b [java, inspection] Change inspection name (Auto-add -> Fill in). Refactoring. (IJ-CR-126295)
GitOrigin-RevId: b3ac08c0c18442a1343c636e9ce404979f1210cf
2024-02-19 21:06:53 +00:00
Vladimir Parfinenko
d4fd47db1e [debugger] refactor ClassFilter array copying, IJ-CR-126343
GitOrigin-RevId: f66a6b2e002e2e6eaaaba765cc5ff8e8f30df9d6
2024-02-19 13:34:34 +00:00
Yuriy Artamonov
210cb038c2 [java] IDEA-346184 JavaLibraryUtil holds a lot of duplicated strings in big projects
Properly synchronize access to Interner as it is not thread-safe

GitOrigin-RevId: ceebb04c13ae8e09da0f53cf33e0dcc29e810ff0
2024-02-18 20:35:08 +00:00
Bart van Helvert
7e78082cce [java] Properly search hierarchy for meta annotations
#IDEA-342351 Fixed

GitOrigin-RevId: 27da12039bf7a7c46da5803d45d1a6125344f233
2024-02-16 14:51:47 +00:00
Aleksey Dobrynin
1714ca86b3 [java, inspection] generate necessary requires for empty module-info.java file. IDEA-341665
GitOrigin-RevId: 47bce7db3bc4429cdfd78bbb3518e8fea1cc80b8
2024-02-16 11:31:15 +00:00