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
Mikhail Pyltsin
0b30038602
[java-highlighting] IDEA-356470 Support jep 455. Generate true and false cases for boolean selector
...
GitOrigin-RevId: fbd879f172639f3db1b0d9c12f98fcb3868fa1a9
2024-07-18 20:11:33 +00:00
Mikhail Pyltsin
304cdfc050
[java-completion] IDEA-356471 Completion with 'true', 'false' in switch.
...
GitOrigin-RevId: da5a474eb9318d9ec864bb5ca15a6936e9a6d459
2024-07-18 15:08:17 +00:00
Alexey Kudravtsev
2f2cbbe1b1
encapsulate LocalInspectionPass
...
GitOrigin-RevId: f8a8e38cdf11b79a1538e2a1d794676f153937b3
2024-07-18 15:07:20 +00:00
Tagir Valeev
097332e117
[java-completion] IDEA-356400 Join lines adds \n outside text block literal
...
GitOrigin-RevId: 8afe6a733da77bb78e42feec646437af62400d23
2024-07-18 14:59:48 +00:00
Mikhail Pyltsin
d0c8d95e30
[java] IDEA-356446 Support module imports
...
- Support keyword completion
GitOrigin-RevId: 10dcdc049838efa601e6bf0bbaf180ab4a8556de
2024-07-17 18:18:57 +00:00
Mikhail Pyltsin
8ce06c83bb
[java-inspection] IJ-CR-135317 IDEA-352587 Support JEP 455: Improve conversion from if to switch
...
- fix naming
- add more tests
- check cases when variables can be assigned
- track primitive variables when new cases are created
GitOrigin-RevId: 84a77676a627cc0fffce8e7219daa2b1fd13949d
2024-07-17 18:18:57 +00:00
Tagir Valeev
3d043f610a
[java-completion] JavaMethodReferenceElement: avoid slow-operation during rendering
...
GitOrigin-RevId: 447a44930da6433b31910f0f8ec76794751fb051
2024-07-17 14:41:06 +00:00
Aleksey Dobrynin
c96bc2d64f
[java, import-module] resolve "import module" jep 476 IDEA-355535
...
GitOrigin-RevId: 4a4ee8cfafdba657d062317d3e014061af69a3e4
2024-07-17 12:27:11 +00:00
Georgii Ustinov
3f0203a8ea
[Java. Code Formatting] Remove unnecessary fields in the java example file for blank lines settings
...
IDEA-110857
GitOrigin-RevId: 7aff7616d7485a1e1813e52bae65abc4d9220359
2024-07-17 08:32:53 +00:00
Yann Cébron
6e1285e760
plugin descriptors: remove obsolete suppression comments for 'PluginXmlValidity' inspection
...
GitOrigin-RevId: 25a17cf82be4c35d4e12472e392aea15b55ea105
2024-07-16 18:55:00 +00:00
Tagir Valeev
2c766e6df0
[java-inspections] TrivialFunctionalExpressionUsage: do not report for any parent statement
...
Also: report any lambda inside parent return statement
Fixes IDEA-356003 Method call should not be simplified
GitOrigin-RevId: cb39dd33d27ba402a503707daffcc831ab59b49e
2024-07-16 16:41:55 +00:00
Egor Kukoverov
ceb99fa5c5
RUBY-33021 Specify that "space in suppression comment" setting is not available for JVM languages
...
(cherry picked from commit 0108830cb741860d647863626b28f2baaabac53d)
IJ-CR-139181
GitOrigin-RevId: adbe190cd155a3c343a10fd2f0fe904d86b3417e
2024-07-16 16:14:13 +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
Georgii Ustinov
6d4c154deb
[Java. Code Formatting] Add example to the line breaks formatting options for annotated and non-annotated fields
...
IDEA-110857
GitOrigin-RevId: 485c6712661e5857095f0e9f41906cd502b31115
2024-07-16 12:40:48 +00:00
Alexander Lobas
b5375afc5c
IJPL-60374 Layout to manage imports in code style to small
...
GitOrigin-RevId: 1da55cb0734a699159258cc025e769f443e7e4d4
2024-07-15 20:46:53 +00:00
Bas Leijdekkers
3aebb378ca
Remove inspection duplicating functionality which causes test to break (IDEA-352904)
...
GitOrigin-RevId: 77131784199ae25df6be4736f6c934b822cd0f97
2024-07-15 17:58:07 +00:00
Mikhail Pyltsin
6c9a7642db
[java-completion] wrap MethodParameterInfoHandler.updateParameterInfo with alternative resolver
...
- should fix flakiness of com.intellij.java.codeInsight.completion.CompletionHintsTest
GitOrigin-RevId: 995618d4c55f4d283db978f4f76350d40a4eba35
2024-07-15 17:47:50 +00:00
Bas Leijdekkers
50cc50edb4
Java: Enable "Misordered 'assertEquals()' arguments" inspection by default (IDEA-356304)
...
GitOrigin-RevId: 77550be0ed43b1f51ad2c6daf90d371dbfa0d8f4
2024-07-15 11:40:27 +00:00
Tagir Valeev
547c81b40e
[java-completion] CastVarPostfixTemplate: wrap guessTypeToCast with alternative resolve
...
Should fix the flakiness of CastVarPostfixTemplateTest flaky failures
GitOrigin-RevId: 728b89e25906e1187a16b7b50f0300c6aa9ccac5
2024-07-12 16:30:36 +00:00
Georgii Ustinov
a3196c0297
[Java. Code Formatting] Remove bad way of migration JavaCodeStyleSettings
...
IDEA-110857
GitOrigin-RevId: b44f2d53170f7753d5c7c61d1caec72e0af3c432
2024-07-11 12:29:38 +00:00
Georgii Ustinov
029e881a2f
[Java. Code Formatting] Fix tests in JavaFormatterAroundBlankLines after new behaviour
...
IDEA-110857
GitOrigin-RevId: 61e86ace3749d42347ace6738c6b9f2a1a341148
2024-07-11 12:29:38 +00:00
Georgii Ustinov
072396cc0a
[Java. Code Formatting] Merge TypeAnnotationUtil and AnnotationUtil into JavaFormatterAnnotationUtil
...
IDEA-110857
GitOrigin-RevId: f87b5eea44a81706d7887b3c4170373c8554e066
2024-07-11 12:29:38 +00:00