Necessary to backport to 2025.2. JETBRAINS_ANNOTATIONS_COORDINATES_JAVA_8 was updated since then but changing it for 2025.2 seems more risky than tweaking a single test
(cherry picked from commit 484ce7c087c61f47f044e72cc2e8982a0f1f1a94)
IJ-CR-174927
GitOrigin-RevId: b10adf8b24867d20973a2699cf629dbfb5665223
We rely on PsiCapturedWildcardType identity when creating recursive types (the upper bound of a PsiCapturedWildcardType may refer to the same type). However, when we are under NullMarked annotation, the PsiCapturedWildcardType instance could be recreated, which prevents us from creating a proper PsiType object.
Fixes IDEA-378142 Regress issue with resolve type of returned generics value
(cherry picked from commit 4fb3c306e302715ab8de93f606397cd2a3dcb864)
IJ-CR-174927
GitOrigin-RevId: 37ff78949e58209010a5a493be537b6265052e34
When a project was reopened in the Split Mode, the frontend received events about hiding tool windows after adding them on the backend. These events triggered a check to close empty detached windows. As a result, detached editor windows were closed before loading the editors. The fix considers a detached editor window as non-empty if the editors haven't been loaded yet.
GitOrigin-RevId: e7109092e4f42ad7ca9ad3059792d6f98c254f56
Previously dispose has been called from the `launch` to the `EDT` from `IO`. That led to the scenarios where the old session hasn't been disposed, when the new one has been already initialized and running.
In total, that created a data race
(cherry picked from commit aae4db92851bf5e917fe21ac5f9a209259dbe017)
IJ-MR-174360
GitOrigin-RevId: dd33264e8ebc22e6654c22203bb1f851a5d33662
Automatically replace an invalid leading character for a package name
(cherry picked from commit 7ed3e88bba23f85820aaf45ab8cfb664dc740775)
IJ-CR-171377
GitOrigin-RevId: 20f6cd0c04e29d50cedcbe963b487ada14a3ac07
+ make all interpreter flow states nullable to distinguish the loading state from an empty value.
+ remove interpreterLoading flow/flag because it is non-consistent with other interpreter flow states.
+ remove PythonInterpreterComboBox dependency on the model
Merge-request: IJ-MR-174441
Merged-by: Vitaly Legchilkin <Vitaly.Legchilkin@jetbrains.com>
(cherry picked from commit 50832570f4618ba3af40c1216e37eb3431effd80)
# Conflicts:
# community/python/src/com/jetbrains/python/sdk/add/v2/models.kt
# python/junit5Tests/tests/com/intellij/python/junit5Tests/env/tests/sdk/addSdk/PythonAddInterpreterModelTest.kt
# python/junit5Tests/tests/com/intellij/python/junit5Tests/env/tests/sdk/addSdk/PythonLocalAddInterpreterModelTest.kt
GitOrigin-RevId: 467815b09864a9e679f37ac4cea77dc1448c6fa1
- change OK button text to "Log in..."
- remove "Please" from the dialog text
- disable the login button if no provider is selected
(cherry picked from commit 86e9c2e3751af5411f9e8d086cc780abe1c09e38)
IJ-CR-174183
GitOrigin-RevId: 52217d3034e992916a3bd3101169681558bf6fc0
Custom dialog for proper margins and title size
(cherry picked from commit 25d86ba70a8f2fd8c2b2ceb99e7bbec2098e8304)
IJ-CR-174183
GitOrigin-RevId: 2c99e789fb8c2ff992ff0667cce12a5fbfc493c6
- Account selector now follows the design
- Add checkbox indicating selected account
- Add provider icon
- Handle logging out from an active account (disable sync and switch to another account)
(cherry picked from commit 7549862a1acb9e902a636e0e98c26b45275bb49b)
IJ-CR-174183
GitOrigin-RevId: c8aa48ab8325db9070442b2b80fd115c9d26bff9
also make `DisableSyncType` an enum
(cherry picked from commit 8fac33d928c77a9f2b7b20a5e976c4c0ddec3b93)
IJ-CR-174183
GitOrigin-RevId: e321bc79d35a7afacdee7132e5ab7b985b2f5e2f
- wait until all events are processed before closing settings sync event queue
- actually wait for network response in data removal modal progress
- make modal progress cancellable
- show data removal error
(cherry picked from commit 2265fc8b2480bf3d3c919fb9804374fead013a12)
IJ-CR-174183
GitOrigin-RevId: 54dba679d0a04aecda81c2950bcc65d4b0bc0c77
This change is needed to provide this info for run-to-cursor (see next commit)
(cherry picked from commit ea7653981da641a726cfd382b5033b9aacc0e437)
IJ-CR-174622
GitOrigin-RevId: 9049f1eb908b7d3cfa3d20ac2307a70e150314c9
Previously, an IndexOutOfBoundsException could happen if some files weren't reopened and the selected tab index was greater than the number of available tabs.
GitOrigin-RevId: 5cb3fedf5d02b909164f4e0c9b71ce4b8bed137c
If the file system cache is cleared in the host IDE, it won't be able to recover the files that the client IDE requests composites for since the old synchronous API is still used in CWM. Therefore, we've decided to disable reopening editors on the frontend for CWM to match the previous behavior (the current editor in the host IDE is opened in the guest IDE when connecting).
GitOrigin-RevId: e91e89bfdefc28fdd6aeaf6b647a438d56a09c8f