Commit Graph

457728 Commits

Author SHA1 Message Date
Aleksandr Krasilnikov
6901adc6dc IJPL-165414: vcs marker: Rework the popup opening
Delegate the popup building and opening to the `LineStatusMarkerPopupService` and control that opened popup is disposed
before creating the new marker panel


(cherry picked from commit fff881f00d75ce4d4b9fa0fc5fa2e2407f7e8813)

IJ-CR-149651

GitOrigin-RevId: 3458a2e0f1e7830d5c67aa539839182840e9d64c
2024-11-25 17:22:14 +00:00
Aleksandr Krasilnikov
814318fa18 IJPL-166447: vcs marker: Close popup when call the completion
(cherry picked from commit 4e1b49b0a9e6304f33fcb29610f86535e2006ca1)

IJ-CR-149651

GitOrigin-RevId: d478b1ef381380156b2ab03aaa0d392dd0492b54
2024-11-25 17:22:14 +00:00
Aleksandr Krasilnikov
008dc74c2c IJPL-166455: vcs marker: Filter unrelated scrolling events to prevent popup closing
(cherry picked from commit a82ded9d80c58ac1fb70e758a9a77f6987220db0)

IJ-CR-149651

GitOrigin-RevId: 09430ea3e37046b7f0173efa6508d3259a2d2028
2024-11-25 17:22:14 +00:00
Aleksandr Krasilnikov
67ba805200 IJPL-166421: vcs marker: Fix NPE
(cherry picked from commit abc84e99c64a0ad50e44244f2488c58b85630aed)

IJ-CR-149651

GitOrigin-RevId: 957d2a53c741bd3474cea4a01e7d1620311cea9d
2024-11-25 17:22:14 +00:00
Aleksandr Krasilnikov
a2ff5e6b79 IJPL-165241: vcs marker: Add a shortcut for committing chunk action
(cherry picked from commit 31c9bfe2a6af44a2b7bd439732a0060a6a3a8e55)

IJ-CR-149651

GitOrigin-RevId: bb58848763ed3fa5af1f1485d43e0bb7070ce564
2024-11-25 17:22:14 +00:00
Aleksandr Krasilnikov
633ffa3474 IJPL-165414: vcs marker: Move "Highlight words" action form toolbar to the context menu
Add "Copy" as well to the context menu


(cherry picked from commit 7a64bba4ba719d3a5a45e9ca51ecf27ca8ed9bd0)

IJ-CR-149651

GitOrigin-RevId: 4dac3794ff4e2716cfdf5fed1fbc6b5cd1c1550f
2024-11-25 17:22:14 +00:00
Aleksandr Krasilnikov
90ee4cefd1 IJPL-165254: vcs marker: Align actions
(cherry picked from commit 1618165c41cfe0dce37e16e179441fb1792abbcc)

IJ-CR-149651

GitOrigin-RevId: 195145b946a0f294c8b149bf0a9ab9396798ccfd
2024-11-25 17:22:14 +00:00
Aleksandr Krasilnikov
2d971cffbb IJPL-165254: vcs marker: Add gap to the left of the commit input field
(cherry picked from commit ec59b14a25491c69acd7c90e2262b6beed61a352)

IJ-CR-149651

GitOrigin-RevId: 821c54212056b6ea8a61d45cb9b7a0426f9d9ef1
2024-11-25 17:22:14 +00:00
Aleksandr Krasilnikov
3076cb9bad IJPL-165254: vcs marker: Disable search in the commit text field
(cherry picked from commit d1af0ce1e16c07b8cff14f689f9881d312f7b7dd)

IJ-CR-149651

GitOrigin-RevId: 910cbeb03c98408c44a247b292ff09f3d76e0deb
2024-11-25 17:22:14 +00:00
Aleksandr Krasilnikov
879aeb2988 IJPL-165254: vcs marker: Better border painting
(cherry picked from commit fcb2dfb9842b344692621c359fa5a5c2fe7f253b)

IJ-CR-149651

GitOrigin-RevId: bdf09a6ec009ca07a500e052bbace93148a9ce07
2024-11-25 17:22:14 +00:00
Aleksandr Krasilnikov
9827ba5473 IJPL-165254: vcs marker: Speed up animation
(cherry picked from commit a2c7c1cf9f464159b4cdb39d057e15b6ff58792d)

IJ-CR-149651

GitOrigin-RevId: 72947194c2bc32017cd25b7314f4621d1e3a6ecc
2024-11-25 17:22:14 +00:00
Mikhail Filippov
7f62f9e5d7 IJPL-165516 bump Kotlin to 2.0.21
(cherry picked from commit 103555f4853c71b01dac1a313fef725c300fdfa7)

IJ-MR-150145

GitOrigin-RevId: 298b286a369d44cca5c4c60fbb8fa59274cf1988
2024-11-25 16:42:53 +00:00
Alexander.Glukhov
70b74d183d [gradle][IDEA-363327][IJ-CR-149446] update Gradle compatibility matrix for Gradle 8.11
(cherry picked from commit 64689fbd4785e044283d8645949df17e09f84993)

GitOrigin-RevId: 4d8b46440821cea3f141f47889726e7be078d1ee
2024-11-25 16:17:39 +00:00
Mikhail Pyltsin
4746abf37e [java-decompiler] IDEA-363689 (IJ-CR-150053) Fernflower fails to decompile Java 8 Map.class
- use VARTYPE_UNKNOWN for all unknown types and `getExprType` must always return non-null type

(cherry picked from commit ebe50921fe40561ef6219ff4a51448a910f90c3a)

GitOrigin-RevId: b85b5de42549a32a7b445c5bce1df889f6e4a808
2024-11-25 16:09:15 +00:00
Mikhail Golubev
1e741360c8 [python] PY-75983 Fix "when branch is never reachable" after removing PipBasedPackageManager
(cherry picked from commit 64fdf617bc5bd2addc7b7e21ade59b92febbdfbe)

IJ-CR-150140

GitOrigin-RevId: 339ed7723bd80e5dfae657ca1d0a7421b86f011b
2024-11-25 15:49:55 +00:00
Dmitry Krasilschikov
d66864249f IJ-CR-150136 Revert "LLM-11798 make suggestTitle suspend and check default name for the change list"
This reverts commit 31164f741219c9b957db3f7a223852d88927acfa.

(cherry picked from commit 81e86ecace5f1ce4ea767e2557815ebf61708c74)

GitOrigin-RevId: daf254c08de0646c2be2190cc62fa068983deb71
2024-11-25 15:17:29 +00:00
Dmitry Krasilschikov
fe87189f90 IJ-CR-150136 Revert "LLM-11798 hide EP_NAME and rename API: title -> name"
This reverts commit 96bf9be0

(cherry picked from commit ec0af5f9576b975853f2bcfd2c1b95a82777fc2b)

GitOrigin-RevId: 5ce9cf748a4690b4a02356c7f8e4b93bce6e6f31
2024-11-25 15:17:29 +00:00
Dmitry Krasilschikov
0801c5284a IJ-CR-150136 Revert "LLM-11798 shelve name provider: update public API dumps"
This reverts commit 2738fed75d40b9d7cccec5fc6c0f3a0fab043b2e.

(cherry picked from commit 84e74dd9852b5b7a6f5af55807f3c22790967d0a)

GitOrigin-RevId: 96a0d44a71f7c743d1381cae1af1e725afcad7ca
2024-11-25 15:17:29 +00:00
Tagir Valeev
b6f684ed23 [java-dfa] IDEA-363270 Misleading warning for switch case when expression on Boolean values
(cherry picked from commit 449fdf6cb9137b7dcd038adca7b26ffc15f7d59a)

IJ-CR-150040

GitOrigin-RevId: 957b8f5555a16e1e4912bc19bfe9ff133715709b
2024-11-25 14:43:15 +00:00
Victoria.Petrakovich
3c83acc797 [kotlin] Prolong Build tools feedback in-IDE form until 01.12.2025
KTIJ-32277


(cherry picked from commit dab36a75f584d24b5f3cd1f429bed64fdecc5aae)

IJ-CR-150046

GitOrigin-RevId: 91b9f977e512f01460cf2f0ad599cc0d2a4abce9
2024-11-25 14:30:42 +00:00
Nikolay Chashnikov
3375a8093e [platform API] remove @ApiStatus.Internal from OptionalReformatActions (IJSDK-2292)
It was marked as internal in 9f89109681d1c68, but it appears that some plugins use ReformatCodeAction.reformatDirectory, which accepts an interface extending OptionalReformatActions. A proper API should be written instead, which takes a builder for formatting options instead of requiring to implement these interfaces, but until it's done, it's ok to use OptionalReformatActions directly.


(cherry picked from commit da63da8e791643d96f0f12f20e164fe32542de0c)

IJ-CR-150019

GitOrigin-RevId: 616b6bdb966e2cda1982700457cf17f250d46a99
2024-11-25 13:16:55 +00:00
Yann Cébron
2661a16379 [devkit] Project Wizard: Gradle 8.11.1
(cherry picked from commit 3a8b760fb4ddbcb7fca3744f5cc3b7a88a3e447b)

IJ-CR-150113

GitOrigin-RevId: 8dbe74919fe1e3ca7607e4951667f3175b260dce
2024-11-25 11:51:11 +00:00
Vladimir Kharitonov
7841791008 IJPL-172117 JCEF: disable JCEF if glibc < 2.28
GitOrigin-RevId: 10d547d74132c4567ce1a2c615289c3f265176de
2024-11-25 10:34:59 +00:00
Ilya.Kazakevich
149ca9aa4c Python: Do not break interpreter widget if certain python is broken.
`versionString` might be `null` if python in severe broken.

Such pythons shouldn't be here, and we will fix it as soon as we introduce PythonInterpreterService


(cherry picked from commit d4658e07833d6f886991e794f90e5a16f28e50c3)

IJ-CR-150093

GitOrigin-RevId: e0fe53bdacbd014afa67115c9c9414a0cba9ba59
2024-11-24 19:09:46 +00:00
Snapshot dependency; Vitaly Provodin; Ultimate / 243 / Service / Promote JBR 21 Runtime to IntelliJ 243, build #21.0.5b631.28
4a71f151f5 Updating versions of project dependencies: runtimeBuild->21.0.5b631.28
GitOrigin-RevId: a2b89e99de7a2b6cb5acbebc7a9603357824c251
2024-11-24 10:30:38 +00:00
Snapshot dependency; Vitaly Provodin; Ultimate / 243 / Service / Promote JBR 21 Runtime to IntelliJ 243, build #21.0.5b631.26
fdb2635f8d Updating versions of project dependencies: runtimeBuild->21.0.5b631.26
GitOrigin-RevId: 91ff34c8270aee019c1ee5cb99de956e9e269760
2024-11-23 13:37:39 +00:00
Louis Vignier
c830b530a1 [jdk] Add SdkConfigurationUtil#createIncompleteSDK
This makes it possible to get an incomplete JDK in the new project wizard for detected JDKs, and initiate JDK paths setup in the background.

#IDEA-363220 Fixed
#IDEA-358703 Fixed

(cherry picked from commit 4b62235b1243df8d2bc8ff24bb7932ee954c7633)

GitOrigin-RevId: 130c333fd60ff654d550a5db1bf232de9c3adec0
2024-11-23 11:15:06 +00:00
Kirill Bochkarev
5f38ba337c [IJPL-166430] Refactor com.intellij.openapi.module.ModuleUtilCore#collectModulesDependsOn
introduce WorkspaceModelLegacyBridge; collectModulesDependsOn via WSM edition

Merge-request: IJ-MR-148336
Merged-by: Kirill Bochkarev <podockonnik@gmail.com>

(cherry picked from commit fab2218a8b90eac677c3c9408af4319a842cf3fb)

IJ-CR-149781

GitOrigin-RevId: ee7277e9ddb6587d445ca7029ba4f89eb905ee86
2024-11-22 22:52:28 +00:00
Ilya.Kazakevich
89e0d237d4 PY-75549: Fix "Create" text on Welcome Screen.
https://youtrack.jetbrains.com/issue/PY-75549/Simplify-creation-of-the-default-first-project#focus=Comments-27-11093574.0-0

`comment` is 12 by default, while `text` is 13 (According to DSL UI' author Pavel Porvatov)

Other scales are also fixed

(cherry picked from commit 9f415b5a329f535925d47e0487eca384a185a343)
 IJ-CR-149723

GitOrigin-RevId: ad4d1da11cc7bfbc30f63d7ebb3bf686b17d38c2
2024-11-22 22:37:31 +00:00
Ilya.Kazakevich
73fc94c8ab PY-75549: Refactor code to method to preserve history.
Extract code to method to simplify next refactoring.

(cherry picked from commit 7928c74167a0b72fb74ecc04ac509f02dba7b2ac)
 IJ-CR-149723

GitOrigin-RevId: 8fffd1bbb9ea8d130bf6dd17a9cf8ebaefa04b51
2024-11-22 22:37:31 +00:00
Ilya.Kazakevich
4aa56d1ac7 PY-75549: Refactor code to method to preserve history.
Extract code to method to simplify next refactoring.

(cherry picked from commit 7928c74167a0b72fb74ecc04ac509f02dba7b2ac)
 IJ-CR-149723

GitOrigin-RevId: 2e19e9ea475668313bd4f25babd1ff06a34071ff
2024-11-22 22:37:31 +00:00
Ilya.Kazakevich
0e5cd3da5f Extract number of primary buttons on welcome screen to the registry.
We need to overwrite it in PyCharm for PY-75549

(cherry picked from commit 61aeaeab41a2d0eef8d0b1683edcb5c1c36911cf)

IJ-CR-149723

GitOrigin-RevId: af69920d60e8232b796076a50d9d96e435fcee07
2024-11-22 22:37:31 +00:00
Dmitry Drobotov
45074b3937 IJPL-165323 Use ReadAction in EditorAccessibilityCaret's getMark and getDot methods
(cherry picked from commit 58dd6e4a4abaab755b29e01b5b126e466d4646e7)

IJ-CR-150010

GitOrigin-RevId: f939ba6a8935864bcca744bdb257c5cb2b2ed402
2024-11-22 16:40:33 +00:00
tanya011
43c51f2955 IJPL-164473 Fix exceptions 'Read access is allowed from inside read-action only'
Fix exceptions from appearing by wrapping in read-action


(cherry picked from commit 9b0b142f2f186dd8da3d64594d498e99b19988d1)

IJ-CR-150010

GitOrigin-RevId: b041d82901b3840ad9100199883a7c1a6b5b3204
2024-11-22 16:40:33 +00:00
Ilia Kirianovskii
94a9869aab [devkit] Allow to use custom main class/module/jvmArgs/envs per test module via intellij.yaml in JUnitDevKitPatcher (RIDER-118944)
Also adds intellij.devkit.junit.skip.settings.from.intellij.yaml option to fallback to the previous behaviour.


(cherry picked from commit 3d60faf7632e3e4f497650ced02aa1f7b60e63a0)

GitOrigin-RevId: 0e087b02cf3070d02c76f5056cf7089e119e37b5
2024-11-22 16:19:32 +00:00
Ilia Kirianovskii
caffe82e2d [junit] Don't override main class if !null in TestObject#createJavaParameters (RIDER-118944)
Now we can use a custom main class from JUnitDevKitPatcher to run tests in dev-mode,
similarly to com.jetbrains.rider.test.devServer.RiderTestNGDevMainKt and then use com.intellij.rt.junit.JUnitStarter.


IJ-CR-149961


(cherry picked from commit a6255c22c1ec972cbfc35837af31503fe81ac2a9)

GitOrigin-RevId: 47d1329fca6e9061fd7f43626321813e3783b7e3
2024-11-22 16:14:33 +00:00
Aydar Mukhametzyanov
bd6b47dc3d IJPL-171343 Fix the if condition
(cherry picked from commit 8b6f8da929b722b8d0042902774056a83dc49fe3)

IJ-CR-149795

GitOrigin-RevId: ef97cea373beb6c67c7995c994d5e26c7c6b6c94
2024-11-22 16:13:16 +00:00
Aydar Mukhametzyanov
92dcbee7c5 IJPL-171343 IdeStatusBarImpl has a leak of a widget component
(cherry picked from commit f9c0799e71ab982a65b13f8fb27a774942d64b85)

IJ-CR-149795

GitOrigin-RevId: 9604db721d8d9c5b2ed73a40960c6f673bae753e
2024-11-22 16:13:16 +00:00
Nikita Biriukov
037abd6dd4 [gradle][groovy] IDEA-361255 disable the inspection for groovy files that are not Gradle scripts
There was a warning:
"Only method calls to 'id' and 'alias' are available in 'plugins' block"
in .groovy files with a content like:
```
plugins {
    apply 'df' named 'ffd'
}
```


(cherry picked from commit 4d22b23e04432d3b882b330eacee7beb2740c95d)

IJ-MR-149922

GitOrigin-RevId: 54ff53d34d60c5fc3b20331bd5a3fd29f518c27c
2024-11-22 15:40:23 +00:00
Vladimir Lagunov
9dafa8fd3c IJPL-171655 IJ-CR-149489 IJent WSL FS: Dirty hack: lazy initialization of IjentFailSafeFileSystemPosixApi
(cherry picked from commit d04fd7e48c715bf3ef04670145bed99d242bb965)

GitOrigin-RevId: bdd5322a29e7d8fff309b59e7c923202be302c21
2024-11-22 14:00:28 +00:00
Andrey Belyaev
525bec79ce [github] IJPL-74106 Review fixes
(cherry picked from commit e5b8c7d210f9919cd14a4aa5384928fe43435266)

IJ-CR-147981

GitOrigin-RevId: 308ed8687b41e724aed2fd2004f760294c1ba264
2024-11-22 11:41:24 +00:00
Roman Golyshev
16a915637e [kotlin] Explicitly specify K1/K2 KotlinPluginMode for KotlinSSSanityTests
Launching those tests in a wrong bucket can lead to "Invalid Kotlin plugin detected"
problems; this fix is similar to 0fdafb537d08960ebb026817b5ef2b80d6ef32c7


(cherry picked from commit 364007915b067971dd0c8e6fcc79b0c8f40c6122)

IJ-CR-149236

GitOrigin-RevId: 5238585a334da07e4c48b9a2d671d0731240df09
2024-11-22 10:54:11 +00:00
Roman Golyshev
5476d5ad93 KTIJ-31890 [kotlin] Account for other static enum members in K2 Mode Import Optimizer
Just as in KTIJ-31105, those members should be treated differently compared to all other
static members, because when they are resolved, they do not have proper dispatch receivers.

^KTIJ-31890 Fixed


(cherry picked from commit a3ad7efb49ba9705b8334d430c7e75c66646f7b7)

IJ-CR-149236

GitOrigin-RevId: e71331c884727632ed0729c06a76a44dddfd1a08
2024-11-22 10:54:11 +00:00
Roman Golyshev
02ca53d4b9 KTIJ-31786 [kotlin] Recognize symbols from dynamic scope as definitely not imported in K2 Mode Import Optimizer
^KTIJ-31786 Fixed


(cherry picked from commit e07b328a2dd4408cd12ed1d6835de7e7890f0a2b)

IJ-CR-149236

GitOrigin-RevId: 6862fc09726e170610171aa88256a02e0c419cc7
2024-11-22 10:54:11 +00:00
Roman Golyshev
8f6bd1f985 KTIJ-31786 [kotlin] Reproduce issue with importing <dynamic>.get in K2 Mode
(cherry picked from commit 7effb57b88fab8f06dba73855b69b4c5b898e74c)

IJ-CR-149236

GitOrigin-RevId: 1f1904d654983519d9443719133a526ed2d5e0af
2024-11-22 10:54:10 +00:00
Roman Golyshev
80dc0c4bc0 KTIJ-31786 [kotlin] Regenerate JS tests for K2 Mode
(cherry picked from commit 0d542b3eebde55b67f66e45c7162e3e69e1ce607)

IJ-CR-149236

GitOrigin-RevId: 3ec28c5b3c481d55c7274777dfda8cba4a39625d
2024-11-22 10:54:10 +00:00
Roman Golyshev
d73aaf0360 KTIJ-31786 [kotlin] Rename AbstractFirJvmOptimizeImportsTest -> AbstractK2JvmOptimizeImportsTest
(cherry picked from commit b45b25ad2b7d6fbde4b9ac8d2a814261e378d38c)

IJ-CR-149236

GitOrigin-RevId: b131ffc11bb83186116ee9f93a29f4eb8aafcc3e
2024-11-22 10:54:10 +00:00
Roman Golyshev
b58ee60847 KTIJ-31336 [kotlin] Revert temporary hacks from OptimizedImportsBuilder required for KTIJ-31070
This is basically a revert of d5c7dcca commit.

Now, when KTIJ-30991 is fixed, the conflicts are properly analyzed,
and we don't need the hacks from this commit at all.

^KTIJ-31336 Fixed


(cherry picked from commit d545b059ea58cae513fe5861d9851062b470d8eb)

IJ-CR-149236

GitOrigin-RevId: a82f036fe1a958c7e151abb5f66351b19b676897
2024-11-22 10:54:10 +00:00
Roman Golyshev
94249cf315 KTIJ-31336 [kotlin] Reproduce redundant kotlin.Throws import added in K2 Mode
(cherry picked from commit ab0429cf74585b5d4d08f424e53af387dfe19b15)

IJ-CR-149236

GitOrigin-RevId: b0c952307a2951dedbbe7c34dacde37d774383b1
2024-11-22 10:54:10 +00:00
Roman Golyshev
cd4f2ca692 KTIJ-30991 [kotlin] Do not try to compute importableFqName for KaReceiverParameterSymbol
See KT-70127 for why it cannot be called


(cherry picked from commit 13d5a92088ebabf8460bc65ce161364d3311ea09)

IJ-CR-149236

GitOrigin-RevId: 27135ca6a5fc1bb1439c872259fe3dde4b567094
2024-11-22 10:54:10 +00:00