Commit Graph

450247 Commits

Author SHA1 Message Date
Yuriy Artamonov
c52bceef8e [spelling] IJPL-159316 Spelling: make Splitter implementations cancellable
GitOrigin-RevId: c192e1f540e26061634e3bc219da127f7f685b4d
2024-07-29 20:40:18 +00:00
Elena Shaverdova
7e75c193eb Provide coroutine scope in Alarm in ProjectLoaded.kt
GitOrigin-RevId: 63690a8be385abbc2ac80fa2d0e3cae85e62c225
2024-07-29 20:33:05 +00:00
Elena Shaverdova
8567bd3c17 Provide coroutine scope in Alarm in WaitForSmartCommand
GitOrigin-RevId: e771ff9c1a4048d5c6854981b79ff84823ec823f
2024-07-29 20:33:05 +00:00
Andrey Cherkasov
60f3b8b6bc [kotlin] Rename
IJ-CR-141042
^KTIJ-29599
^KTIJ-29601

GitOrigin-RevId: 9544b34f08dabd5b3dac7ffdf21cdc20dfac6bdb
2024-07-29 20:31:02 +00:00
Andrey Cherkasov
6e72accd1a [kotlin] Convert MoveWhenElseBranchFix to ModCommandAction
^KTIJ-29518

GitOrigin-RevId: 802da378d1df897c6078d66ef1bcda484c572a07
2024-07-29 20:31:02 +00:00
Max Medvedev
59cd1cbd87 GitPushNativeResult.java: fix NPE
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'where' of com/intellij/openapi/util/text/StringUtil.containsIgnoreCase must not be null
	at com.intellij.openapi.util.text.StringUtil.$$$reportNull$$$0(StringUtil.java)
	at com.intellij.openapi.util.text.StringUtil.containsIgnoreCase(StringUtil.java)
	at git4idea.push.GitPushNativeResult.isNonFFUpdate(GitPushNativeResult.java:67)
	at git4idea.push.GitPushRepoResult.convertType(GitPushRepoResult.java:134)

GitOrigin-RevId: ded691d7711fff4106f6dcb7dd13b303c928edb2
2024-07-29 20:30:01 +00:00
Max Medvedev
ed3580c53e [psi] SingleRootFileViewProvider: use getAndSet instead of compareAndSet
GitOrigin-RevId: 6cc92fade2138b9130cfa25c56e9ad04f3611336
2024-07-29 20:30:01 +00:00
Tomek jaen Mańko
977472cc96 IJPL-13201 Allow to choose cross-IDE sync mode when enabling sync
To facilitate re-using the sync scope selector part of the sync settings UI in the modal, it was extracted
to  the `SettingsSyncPanelFactory` helper (like the category UI) and exposed as a combined factory method
named `createCombinedSyncSettingsPanel`. The combined panel also took the responsibility for applying the
changed settings as not to duplicate logic. Configuration change event production was left in the settings
configurable, as it's apparently only needed for the non-dialog use-case (otherwise it can cause a race
between cross-IDE sync state on client and server). Use of cross-IDE sync state (that is,
`SettingsSyncLocalSettings`) was refactored to follow the same pattern as `SettingsSyncSettings`, with
persistent setting and an UI model, both implementing a shared interface.

To actually apply the selected sync scope on enabling sync the `SettingsSyncBridge#applyInitialChanges`
method now creates/removes the cross-IDE sync server-side marker file before any sync data are sent
or applied.

Signed-off-by: Sergey Pak <sergey.pak@jetbrains.com>

GitOrigin-RevId: 370e0aafd0861280da72819bbd04b191adfbe3d2
2024-07-29 20:13:34 +00:00
Sergey Pak
be0a997637 stackoverflow during plugin installation in settings sync (IJPL-159298)
GitOrigin-RevId: 5e9bcd0a891cd0d8d7c2f7053bac4a1cf2cbab05
2024-07-29 20:10:33 +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
Vladimir Dolzhenko
28927af215 [kotlin] Fix directory exclusion
#KTIJ-29752

GitOrigin-RevId: b785f44a90b14bc5759d4c268bf58570140bab52
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
6a72b8abb5 [Java. Code Formatting] Fix broken test for newline in method call arguments
IDEA-165216

GitOrigin-RevId: fb63484f5410c3e4749f3453fd87d5b9ca25a645
2024-07-29 19:15:53 +00:00
Georgii Ustinov
c9243c5975 [Java. Code Formatting] Add new tests to JavaFormatterNewLineAfterLBraceTest
IDEA-165216

GitOrigin-RevId: 313a43a7c081c604ca96be3b68f231a18d998650
2024-07-29 19:15:53 +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
5813964716 [Java. Code Formatting] Add tests for idempontent formatting for java method declarations
IDEA-165216

GitOrigin-RevId: cc5cd68d5c16b737052765809c075d4a473fa7ad
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
Anna Kozlova
3e74be0c37 [kotlin] k2: method hierarchy fixed for java inheritors
^KTIJ-30785 fixed

GitOrigin-RevId: 84c51365753cd6a697946cd842b38adf6c2d9944
2024-07-29 19:13:09 +00:00
Ruslan Cheremin
450fae6b01 [comments] few TODOs
GitOrigin-RevId: 42425c3355353d94c935ce5c504fc7afb2459eb8
2024-07-29 19:11:12 +00:00
Ruslan Cheremin
a60646165c [vfs] IJPL-1016: stop reporting 'newRecordIsZero' to EA
+ known issue, causes are +/- clear, won't fix -> no need to waste EA. Instead: log a warn, clean the record, and schedule VFS rebuild

GitOrigin-RevId: e2ceef536b6b822d30d23a79b5cbed2d800e4bb9
2024-07-29 19:11:12 +00:00
Xuan-Son Trinh
b4aa0fc244 BAZEL-1008 Add an option for build tool plugins to opt out of Kotlin module autoconfiguration.
GitOrigin-RevId: 72e826404bb12c4901987d943d8bb9f4de53a9a8
2024-07-29 19:09:31 +00:00
Daniil.Bubnov
94edd31933 IJPL-39320 Switch all IntelliJ recorders to UTF-8 in field values
All except the FUS recorder

GitOrigin-RevId: 648a25ab43fbe8424ac1fdcf19b61c169c798e81
2024-07-29 19:03:31 +00:00
Denis Zaichenko
5546268841 IJPL-158087 [VCS] Fixed GitFileHistoryTest tests
GitOrigin-RevId: 7ee6763e1ba02fe7ecde96c66cb9e7dd720adb9e
2024-07-29 18:32:40 +00:00
Liudmila Kornilova
7ebe97331d Revert "IDEA-261095: fix indexID is removed twice on plugin unloading"
This reverts commit 2b40c44635948b0f2b36b148f428b2e29f8dc331.

GitOrigin-RevId: 0ca007453ed8b70f516120d822529e94b08db71d
2024-07-29 18:10:51 +00:00
Roman Shevchenko
583fa697f0 [platform] avoiding StartupErrorDialog use when the application is already disposed (IJPL-156755)
GitOrigin-RevId: f1988f65b798812daab8fd1ed6a865bbd83840f3
2024-07-29 18:01:46 +00:00
Roman Shevchenko
36d7f6f239 Cleanup (duplicates; formatting)
GitOrigin-RevId: 5ea2c74ef3be20a17b6af693d1745e09644c0db2
2024-07-29 18:01:45 +00:00
Roman Shevchenko
12b784de5c [ui] altering the confirmation text when restart is not supported
GitOrigin-RevId: 2c9695093124fd47b009ca4c82c50df8565706bc
2024-07-29 18:01:45 +00:00
Vladimir Krivosheev
665ed312f8 IJPL-158348 install ui - use separate state to avoid NPEs (part 2)
GitOrigin-RevId: d7a6d57245cb01bebed806fb27b922d496946541
2024-07-29 16:46:29 +00:00
Vladimir Krivosheev
5144e4a21a Rename .java to .kt
IJPL-158348

GitOrigin-RevId: 24f49c9dceebfba03662e0de8c5c8cea49a27ea0
2024-07-29 16:46:29 +00:00
Vladimir Krivosheev
e89669ffbf IJPL-158348 install ui - use separate state to avoid NPEs
GitOrigin-RevId: 0a15ee52a17a5ee6da8f096eaf9a2e0a260af030
2024-07-29 16:46:29 +00:00
Aleksei.Cherepanov
2751a94633 Update jpsPluginVersion 1.9.24-release-822 -> 1.9.25-release-852
Relates to IJPL-158771

GitOrigin-RevId: 8d220882cd77045f7a29a32f9a8dd9da32dd9538
2024-07-29 16:29:49 +00:00
Dmitry Kichinsky
0445e7bc85 [maven] IDEA-356183 MavenParentCompletionAndResolutionTest.testHighlightingAbsentGroupId: use updateProjectPom
GitOrigin-RevId: 3abf42212fe874688b7ac407af93890be8ec6c1a
2024-07-29 15:46:49 +00:00
Dmitry Kichinsky
7e251cc1fe [maven] IDEA-356183 MavenParentCompletionAndResolutionTest.testHighlightingAbsentGroupId: debug logs in highlighting
GitOrigin-RevId: a6ab9f49f078160f1a9bb6f1094bf9a34dc8fac3
2024-07-29 15:46:49 +00:00
Daniil Ovchinnikov
0b8587171a clean up
The file is obsolete, compatibility modules were merged into main modules.

GitOrigin-RevId: ecad7afb8ef95449bddb1f2947ccc449847161df
2024-07-29 14:55:51 +00:00
Alexey Belkov
8d904d0cff [kotlin] J2K: remove separate ReplaceGetterBodyWithSingleReturnStatementWithExpressionBody
^KTIJ-30797 Fixed

GitOrigin-RevId: 46a88f92b74c1fcbb1e0be8706251988df57007a
2024-07-29 14:45:31 +00:00
Alexey Belkov
c589610890 [kotlin] Don't report inspections "Redundant property getter" / "Redundant property setter" with comments
^KTIJ-30781 Fixed

GitOrigin-RevId: 1f0b2a067a5f432ec3d94109b21d9e53ee525c81
2024-07-29 14:45:31 +00:00
Alexey Belkov
66c96e5689 [kotlin] J2K: remove separate RemoveExplicitAccessorInspectionBasedProcessing
^KTIJ-30782 Fixed

GitOrigin-RevId: 0fd3e58cb380e96750e83c966a4eb7a52a30c703
2024-07-29 14:45:31 +00:00
Alexey Belkov
172223eca3 [kotlin] J2K: K2-specific testdata
GitOrigin-RevId: 0d09f3e3724cf87b6604649dc0dd53245ea683d5
2024-07-29 14:45:31 +00:00
Konstantin Hudyakov
668b5e0a0d IJPL-159190 Fix runtime exception on action update
Actions should be updated under read lock.

GitOrigin-RevId: 4468cd1de53c7a80e566f8045262fc232042f2dd
2024-07-29 13:54:16 +00:00
Alexey Kudravtsev
e7c2f9831b ensure TextHighlightingPass is instantiated in the BGT under DaemonIndicator with corresponding HighlightingSession, to make (implicit)contracts more explicit, visible and simple
GitOrigin-RevId: f732af4b2bf614e6fca8c6af655beae34dfdcfc6
2024-07-29 13:25:39 +00:00
Alexey Kudravtsev
bba9f96b1f ensure the highlighting session is never disappear from the current progress indicator unexpectedly (which could be the case due to unstructured api)
GitOrigin-RevId: 134a26ba3607c67fdade41fb0230d5fad8aa3973
2024-07-29 13:25:39 +00:00
Maxim.Kolmakov
6a497a2049 [ui-tests] Avoid double messaging about the click on the component
GitOrigin-RevId: 0230a7ee967239921f5daefb82b20931ae5c9e60
2024-07-29 13:03:02 +00:00
Ilya Muradyan
805e96b99c PY-64586: Fix NotebooksMigration242: Remove restriction on IU, add R plugin migration
GitOrigin-RevId: 9f2c2d8637b4de91d0792ca8fb4514b13a1dc32d
2024-07-29 11:50:07 +00:00
Maksim Zuev
dd4705d51f [debugger] IJPL-158332 Compile and reload only modified files during hot swap
GitOrigin-RevId: 6b7522904b2e796b1e75b745017da70eb9b74281
2024-07-29 11:21:53 +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
Alexander.Glukhov
8fd9bd1bce [gradle][IDEA-356858] immutable GradleExtensionsData
GitOrigin-RevId: 85576f51d4078994ab1e165c2eee1bdd66a54852
2024-07-29 11:18:36 +00:00
Alexander.Glukhov
f61d2475d7 [gradle][IDEA-356858] GradleExtensionsSettings.Settings#add converted to a factory
GitOrigin-RevId: 400a7d5c3ac19337a1e4a1998cbec1976fa493f7
2024-07-29 11:18:36 +00:00
Alexander.Glukhov
0b7790a5cd [gradle][IDEA-356858] use immutable data-structures inside GradleExtensionsData
GitOrigin-RevId: 7204884b21bb4b8d2fda896dbad227fc6957de59
2024-07-29 11:18:36 +00:00