Bas Leijdekkers
f2b4d42e14
Java: more pattern variables in "invert if"
...
GitOrigin-RevId: c86f2d885c2a1f2578bc6b8cc7b8fccbdfcc7e32
2024-08-06 10:48:28 +00:00
Louis Vignier
358e66d154
[ui] Remove useless resizableColumn
...
IJ-CR-140581
GitOrigin-RevId: 6b397042b47b398f03cab92d6df63c1b21fef78a
2024-08-05 14:18:46 +00:00
Louis Vignier
40193b7c35
[jdk] Introduce JdkVersionDetector.VENDORS
...
IJ-CR-137124
GitOrigin-RevId: b258a88e27aef01844161a2450f430cad0baa191
2024-08-05 14:18:46 +00:00
Louis Vignier
1d9878695e
Revert "[condeInsight] Use ProgressManager to compute isEntryPoint"
...
This reverts commit 118a95056b7e845b798daa2d494a74a0b7b18c4f.
IJ-CR-141375
GitOrigin-RevId: 3db6c4f33258b203e1e582f13271e362b10500fa
2024-08-05 14:18:46 +00:00
Max Medvedev
50543dd398
IJPL-159610 Enable exit point and break/continue highlighting for Java in dumb mode
...
GitOrigin-RevId: 2f35b5a943197be4ca5b688924bac473ea85e335
2024-08-04 19:16:04 +00:00
Max Medvedev
625700c0d9
IDEA-357105 MagicConstantInspection must not ignore the current progress while doing heavy lifting
...
Otherwise, the whole IDE will be blocked for a long time
GitOrigin-RevId: 6fa8c7758708601c5cf86461035f5df60a1665a5
2024-08-03 19:56:00 +00:00
Mikhail Pyltsin
6b7ef5d3e1
[java-intentions] IDEA-357080 Convert switch to if with boolean selector: omit second condition
...
GitOrigin-RevId: 77851a64e022155488fcc45b2fc15791c61fedce
2024-08-02 22:53:47 +00:00
Maksim Zuev
5bdda130b2
[debugger] IDEA-356958 Use rebuild icon, add EP to adjust
...
GitOrigin-RevId: 3d4c9009dfe1d6764476bb093305756c19fc77ed
2024-08-02 19:07:22 +00:00
Mikhail Pyltsin
e9fdbf0b00
IJ-CR-141547 [java-inspections] IDEA-356841 Convert to switch expression generates invalid code on line comments
...
- support comments in the middle
GitOrigin-RevId: a56684193791a8dfc086843756796d0cbd5cf571
2024-08-02 18:19:13 +00:00
Aleksey Dobrynin
ab45ebd22f
[java, complete, import-module] enhance code completion ordering: support transitive dependencies and implicit imports
...
GitOrigin-RevId: 737e01da30f0619ecae83693062e8b22adb5f6f3
2024-08-02 16:06:21 +00:00
Roman Shevchenko
bf641a34ed
Cleanup (formatting)
...
GitOrigin-RevId: bdf9ab9e40406475849fc2d4bd203d38a92f3b21
2024-08-02 14:49:46 +00:00
Roman Shevchenko
2a0924f833
[vfs] converting JRT ClosedFileSystemException to PCE (EA-897553)
...
GitOrigin-RevId: ddafa4b72ceb678f05c299da974167f3c1e81cc8
2024-08-02 14:49:46 +00:00
Gregory.Shrago
e33abfddfb
migrate getData to uiDataSnapshot: java
...
GitOrigin-RevId: 759993dfe9da87ef7f32232c84bfb1bd122610d7
2024-08-02 01:17:08 +00:00
Konstantin Nisht
fefe6fbe44
Revert "[platform] Do not use VirtualFilePointer in CompilerProjectExtension"
...
This reverts commit bfe253cd71762b7b2f3b1231e2ffe1e0c1f443fa.
GitOrigin-RevId: e3536c974367e018fee2238292b031a0171571ac
2024-08-01 12:35:09 +00:00
Mikhail Pyltsin
1c6e73ad39
[java-inspections] IDEA-356841 Convert to switch expression generates invalid code on line comments
...
GitOrigin-RevId: 840ad7d5fe656b7cc443b67df30f60b0bb35b41d
2024-08-01 12:29:33 +00:00
Aleksei.Cherepanov
5705ecc4e4
[JPS] IJPL-105 Enable unified Java/Kotlin IC by default
...
Also relates: KT-59527, OSIP-160
GitOrigin-RevId: 3252353d6e9b681aadb47ccff69715a8184ebf4b
2024-07-31 21:34:26 +00:00
Aleksey Dobrynin
44e14f0283
[java, highlighting, import-module] Check access module names for Module Import Declarations DEA-356710
...
GitOrigin-RevId: 819c182488bd0b4aeffb8518373da35aabf311ca
2024-07-31 17:00:00 +00:00
Aleksey Dobrynin
85c104a858
[java, complete, import-module] Check access module names for Module Import Declarations DEA-356710
...
GitOrigin-RevId: ef96cf46f062068539cc417a3e130172fd4b6132
2024-07-31 17:00:00 +00:00
Tagir Valeev
90543d0e24
[java-inspections] InlineVariableFix: avoid PSI writes after highlighting
...
Highlighting causes PSI commit and reformatting. It looks like modifying PSI after that may cause problems. Probably we can fix it later in ModCommand API, but for now we can just reorder things.
Fixes IDEA-355992 "Inline variable" quick-fix doesn't work if the variable initializer is on the next line
GitOrigin-RevId: f0a2418ac5618f91291b1f74ad2168d26c612447
2024-07-31 11:41:55 +00:00
Bas Leijdekkers
1bdb332af2
Java: better error recovery on annotation parsing (IDEA-209573)
...
GitOrigin-RevId: a600121ecbd9fa6338237f0d3802486c7f8a5656
2024-07-30 22:37:25 +00:00
Bas Leijdekkers
539ecb5e94
Java: prevent SOE on deeply nested code blocks
...
GitOrigin-RevId: 12d62d7c4041df6da72c11ee05f038a802bf25db
2024-07-30 22:37:25 +00:00
Louis Vignier
2b3e137700
[condeInsight] Use ProgressManager to compute isEntryPoint
...
#IDEA-344858 Fixed
GitOrigin-RevId: 890671d4d2d60772e807eedfe98c713b8a00afae
2024-07-30 19:26:13 +00:00
Vladimir Dolzhenko
90d1ce34b7
[kotlin] Fix rendering parameter info annotations
...
#KTIJ-29752 Fixed
GitOrigin-RevId: 8d260a57c6baccf18cf7f5dfa1a61f77d01c17ce
2024-07-29 19:29:16 +00:00
Mikhail Pyltsin
b921cf4559
IJ-CR-141087 [java-inspection] IDEA-356474 Support JEP 477: support implicitly imported modules in optimize imports
...
- refactoring `com.intellij.psi.impl.source.codeStyle.ImportHelper.calculateOnDemandImportConflicts`
GitOrigin-RevId: a3dc84c7451180f65b9858dc7b338eae4b686904
2024-07-29 19:28:02 +00:00
Georgii Ustinov
59fc2e4a19
[Java. Code Formatting] Use only one range for dependant spacing in JavaSpacePropertyProcessor#createSpaceWithLinefeedIfListWrapped
...
IDEA-165216
GitOrigin-RevId: 78fe6204b0a26f75f9993a17886ff097bcdad5fe
2024-07-29 19:15:53 +00:00
Georgii Ustinov
cf75eec6ff
[Java. Code Formatting] Use united range for the creating dependent spaces after '(' for method declarations
...
IDEA-165216
GitOrigin-RevId: 2e6e426364f2533eee9693d557fa97f99e1d8282
2024-07-29 19:15:53 +00:00
Georgii Ustinov
0aee70350c
[Java. Code Formatting] Replace regular indent to smart indent for the method declaration parameters to behave similar to the method call arguments
...
IDEA-165216
GitOrigin-RevId: 2c3d251d827c947ae3fdea9dddfce660775a01b1
2024-07-29 19:15:52 +00:00
Georgii Ustinov
36b4641db7
[Java. Code Formatting] force parenthesis in method declaration to be dependent on the multiple text ranges
...
IDEA-165216
GitOrigin-RevId: 6a04e37e1ec6a93798d0dc2b1b3d104cd3963852
2024-07-29 19:15:52 +00:00
Maksim Zuev
bb43d09386
[debugger] IJPL-158332 Hot swap button in a floating toolbar when source changes are detected
...
GitOrigin-RevId: f9ac6cbaa0ebdb0d7893e3c644b650d4317aef86
2024-07-29 11:21:53 +00:00
Aleksey Dobrynin
bf4e754b12
[java, complete, import-module] Add support for the completion order of the "import module declarations"
...
GitOrigin-RevId: 395229f6e5ef536219e26fed01c9e6ee953e12e6
2024-07-26 15:50:54 +00:00
Mikhail Pyltsin
67bca974ba
IJ-CR-140944 [java-completion] IDEA-356673 Support JEP 477. Incorrect import insertion
...
- more tests
- getAllImplicitImports is moved to java-api
GitOrigin-RevId: cdce02674d2ac8271881f6f8f0a84d1f9ed93351
2024-07-26 12:44:48 +00:00
Mikhail Pyltsin
d186699847
[java-inspection] IDEA-355916 update implicit<->explicit classes inspections
...
- tests
- optimize imports
- ReplaceOnDemandImportIntention supports module imports
GitOrigin-RevId: 228135179fc26f44064dd196ae70326fd91fb3ee
2024-07-26 12:44:48 +00:00
Mikhail Pyltsin
7b0eaea1e9
[java-inspection] IDEA-356474 Support JEP 477: support implicitly imported modules in optimize imports
...
GitOrigin-RevId: d4fb59ccffbf0a51f97b1ba965f2d0d59834940e
2024-07-26 12:44:48 +00:00
Anna Kozlova
ef6be658b3
[kotlin] find usages: override java's overload settings checkbox
...
^KTIJ-30769 fixed
GitOrigin-RevId: 18b8313243d98c465ee7157266fd9315ff4bcbc3
2024-07-26 08:34:11 +00:00
Aleksey Dobrynin
013eb83aa8
[java, complete, import-module] Complete the name of the current module for Module Import Declarations IDEA-355531
...
GitOrigin-RevId: c3eb0b36ebb8b221d6484ee4fd26927c19571464
2024-07-25 17:30:26 +00:00
Mikhail Pyltsin
8f3e75e7db
[java-inspections] IDEA-356672 Support JEP 477. Incorrect intentions and actions with implicit imports
...
- improve ImplicitImportChecker to support modules
- check conflict for modules
- new method `PsiImportModuleStatement.findImportedPackage` is added
GitOrigin-RevId: 0d0f61916bdda17b8c9d9146a13aa8d6d0876bb1
2024-07-25 09:33:07 +00:00
Vlad Koshkin
eee0379f5b
[kotlin] k2: hiding kotlin script modules with registry flag
...
^KTIJ-30706 Fixed
GitOrigin-RevId: ad1a2ad3e7bc4bde7ce9fdc115d8b919cbba528d
2024-07-24 23:46:10 +00:00
Louis Vignier
25ad74d2fe
[jdk] Use @return tag in kdoc
...
IJ-CR-140587
GitOrigin-RevId: 3b8f73569e7afbdbffdf80005da1c5be870d1232
2024-07-24 17:15:06 +00:00
Aleksey Dobrynin
9f9f6e0527
[java, complete, import-module] Complete module names for Module Import Declarations IDEA-355531
...
GitOrigin-RevId: 6cf4de84d101370d001fee581474fcd687a5ecc3
2024-07-23 22:25:57 +00:00
Aleksey Dobrynin
e927f5ac3e
[java, highlighting, import-module] Support Feature level check for Module Import Declarations IDEA-355536
...
GitOrigin-RevId: 36dcbb509e788a3243f93a52c83cd24ae0dd6985
2024-07-23 16:19:59 +00:00
Dmitry Krasilschikov
668830abec
IJPL-158158 Get rid of project usage in UsageContextPanel: backward compatibility and avoiding project leaking
...
GitOrigin-RevId: 7b552990f678655f35daaa295e40762837127c89
2024-07-23 13:16:22 +00:00
Anna Kozlova
daca89d7a0
[kotlin] k2: port generate equals & hash code
...
- add pluggable velocity templates
^KTIJ-23439 fixed
^KTIJ-14628 fixed
GitOrigin-RevId: 2f80b96d87572222e57e4c2d99651c9f61a582ba
2024-07-22 22:19:56 +00:00
Konstantin Nisht
85372468c3
[platform] Do not use VirtualFilePointer in CompilerProjectExtension
...
Access to `VirtualFilePointer`s requires read action, which is undesirable when we are using it from the service side.
GitOrigin-RevId: bfe253cd71762b7b2f3b1231e2ffe1e0c1f443fa
2024-07-22 12:32:52 +00:00
Louis Vignier
ac322938d0
[jdk] Add ToolVersionsConfigurationProvider to monitor asdf .tool-versions
...
#IDEA-355295 Fixed
GitOrigin-RevId: 8373fa2b75e12171208c7af71af9234b31f97e13
2024-07-19 14:33:47 +00:00
Louis Vignier
7ccd3af88d
[jdk] Introduce ExternalJavaConfigurationService and migrate SdkmanrcWatcher
...
#IDEA-355295
GitOrigin-RevId: bbcefd977b5d88e3a8b0d137b1b5cfda6eb3050a
2024-07-19 14:33:47 +00:00
Louis Vignier
4b6a424f1c
[jdk] Move JDK services to java.impl
...
GitOrigin-RevId: fd7096d0fad3a143f368e5c3197bdec034a11643
2024-07-19 14:33:47 +00:00
Aleksey Dobrynin
0a0e345835
[java, import-module] Refactor import statement hierarchy IDEA-353091
...
IJ-CR-139321
GitOrigin-RevId: f5a2188b18afad7cb2912d3ff282ef9929f20ca6
2024-07-19 12:20:22 +00:00
Mikhail Pyltsin
01b39de56a
[java-highlighting] IJ-CR-140387 IDEA-356470 Support jep 455. Generate true and false cases for boolean selector
...
- support constants
GitOrigin-RevId: ff51020da5086de2e59439647588e8b5c4ba4c85
2024-07-19 11:56:23 +00:00
Mikhail Pyltsin
616898e4c9
[java-completion] IJ-CR-140361 IDEA-356471 Completion with 'true', 'false' in switch.
...
- support constant values
GitOrigin-RevId: f24ee223b15a2f43ed7cee31f2601ff04071db42
2024-07-19 11:56:23 +00:00
Mikhail Pyltsin
0273a7bcdb
[java] IJ-CR-140268 IDEA-356446 Support module imports
...
- return `getAllImportStatements`
- fix naming
GitOrigin-RevId: fcb975ca20bb3ea2c05c3e1491f1e10b4b6fcb06
2024-07-18 20:11:33 +00:00