Louis Vignier
7ccd3af88d
[jdk] Introduce ExternalJavaConfigurationService and migrate SdkmanrcWatcher
...
#IDEA-355295
GitOrigin-RevId: bbcefd977b5d88e3a8b0d137b1b5cfda6eb3050a
2024-07-19 14:33:47 +00:00
Georgii Ustinov
ec7cc10b05
[Java. Code Formatting] Rename ui names related to blank lines near fields to 'Before' instead of 'Around'
...
IDEA-110857
GitOrigin-RevId: 660836d90fa3ea06c5fb006b9ce14f59c55155ff
2024-07-16 12:40:48 +00:00
Bas Leijdekkers
d3f94f2739
Java: test qualifiers shown in ui (IJ-CR-138368)
...
for "Convert to instance method" refactoring
GitOrigin-RevId: a4bb1ef732d71359e52ed778f9ad36c776533e47
2024-07-10 15:32:54 +00:00
Tagir Valeev
38df966e10
[java-inspections] RenameToIgnoredFix: cancel gracefully in case of concurrent modification
...
Fixes EA-1328866 - NA: PsiReferenceExpressionImpl.bindToElement
GitOrigin-RevId: 1bb87c6d4054c1c775f2bfe02becb6fc40d0db6c
2024-07-10 11:21:11 +00:00
Louis Vignier
f8b5cf39df
[ui] Update UI for the change signature dialog
...
#IJPL-157817
GitOrigin-RevId: 7d37adfc97449591d15445910e93595c22239c99
2024-07-05 17:16:50 +00:00
Nikolay Chashnikov
902b1bb444
[kotlin] fix truncated message in "Generate equals/hashCode" (KTIJ-30437)
...
GitOrigin-RevId: d59485cedb54dde12ec21f971aebe9e9e08d1f40
2024-07-05 16:59:47 +00:00
Georgii Ustinov
93b6c3ccc2
[Java. Code Formatting] Split option to add blank lines for fields with/without annotations
...
IDEA-110857
GitOrigin-RevId: 6ee23199e686c649439833df1223a12494be9d00
2024-07-04 19:56:48 +00:00
Tagir Valeev
e1751e5f4d
[java-refactoring] ConvertToInstanceMethodHandler: separate targetQualifiers computation logic from UI
...
GitOrigin-RevId: 4f0e3c3af486085920b3f3883935910cb9dd280e
2024-07-03 21:09:22 +00:00
Bas Leijdekkers
a17097bea4
Java: no "this/new ClassName()" option for enums and implicit classes (IDEA-330992)
...
for "Convert to Instance Method" refactoring
GitOrigin-RevId: a353f19d817616c5445da3f7c60aa0a2f46ec155
2024-06-28 17:14:56 +00:00
Bas Leijdekkers
774c6c6d42
Java: fix "Variable assigned to itself" inspection quick-fix operator assignment bug (IDEA-306674)
...
GitOrigin-RevId: 92f5ab3b782cd0a2e6af8f83ff80de64f000c3bf
2024-06-21 09:13:06 +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
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
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
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
Tagir Valeev
11097530d4
[java-intentions] Remove outdated MoveMemberIntoClassFix.java
...
Superseded by MoveMemberIntoClassFix.java
GitOrigin-RevId: cc3a29aa7089f91ff5c13a61e722c0ad3843985e
2024-04-22 19:34:03 +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
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
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
Tagir Valeev
1b105a0cf2
[java-inspection] IDEA-344750 Warning the usage of Stream.count() may have side-effects as per Javadoc apiNote for Java 8+
...
GitOrigin-RevId: cee842e9966051f95d86f83c8e8509a08fb48c64
2024-02-15 13:23:36 +00:00