Commit Graph

483894 Commits

Author SHA1 Message Date
Yuriy Artamonov
2843a98c8b [execution] IJPL-200094 Implement usage collector for ResumeAction outcomes
(cherry picked from commit bfedc6b7e7097fe8904e4cb45246013c0125f2a0)
IJ-CR-173317

GitOrigin-RevId: 877249253f81344417149f2e6a812c723a90ff45
2025-09-11 20:50:03 +00:00
Yuriy Artamonov
20da7c84a7 [run] IJPL-200094 Run/Debug popup is no longer shown by the F9 shortcut
(cherry picked from commit f1b4bce59f1f101c5428a26e2a5a07ad15d760cd)
IJ-CR-173317

GitOrigin-RevId: 8e1aa3283821a463cf3f8b61542f73b76060cb17
2025-09-11 20:50:03 +00:00
Ilia Permiashkin
8bb6c49d50 IJPL-205709 On every IDE launch, language downloading is suggested
GitOrigin-RevId: 4d6798ed79b800585b682660eeb31b2d220c0c28
2025-09-11 17:40:02 +00:00
Mikhail Pyltsin
1b38e674e8 [java] IDEA-379006 Bump Java language level to 25 for java plugin
- fix gradle tests


(cherry picked from commit d6562a17adce5cc1fa970c0d78045bf569bc0d96)

IJ-CR-175144

GitOrigin-RevId: 343df16a3da920a811b11db6fd389a2fba01a100
2025-09-11 13:50:13 +00:00
Mikhail Pyltsin
ffab857b53 [java] IDEA-379006 Bump Java language level to 25 for java plugin
(cherry picked from commit 1160ed19d25744b92f428fc372552d0321e5202a)

IJ-CR-175144

GitOrigin-RevId: 25b0d648588f18b16be4ad8d1cd681a3ea6adeda
2025-09-11 13:50:13 +00:00
Georgii Ustinov
412327403c georgii-ustinov/252/IDEA-378427
MR Duplicates https://code.jetbrains.team/p/ij/repositories/ultimate/reviews/174443/timeline with the fixes in the compilation

Merge-request: IJ-MR-175157
Merged-by: Georgii Ustinov <georgii.ustinov@jetbrains.com>

GitOrigin-RevId: ddadcddee43c7a04d5aabf88d81f2aba9b56c8c7
2025-09-10 17:26:26 +00:00
Georgii Ustinov
dd035bc29f georgii-ustinov/252/IDEA-168035
This MR duplicates the https://code.jetbrains.team/p/ij/repositories/ultimate/reviews/173952/timeline, but fixes the conflicts community/java/java-tests/testSrc/com/intellij/codeInsight/daemon/impl/quickfix/AnnotateMethodInGeneratedFilesTest.java

Merge-request: IJ-MR-175150
Merged-by: Georgii Ustinov <georgii.ustinov@jetbrains.com>

GitOrigin-RevId: 69f1417a59be188fab171f8d7bfdbd57d40eddc7
2025-09-10 15:01:55 +00:00
Mikhail Pyltsin
773f837fff [java-highlighting] IDEA-378880 False compilation error in a compact source file
- disable correction by scope for classes inside compact source files


(cherry picked from commit 44831301a6c14f60d26ae4715df18c4cd24e1ee8)

IJ-CR-175022

GitOrigin-RevId: 7240e79a4db2222006d0c32fdab7e38d4b167dde
2025-09-10 13:30:12 +00:00
Tagir Valeev
19ad203e9b [java-psi] Make test IDEA-378142 working with an older version of java-annotations
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
2025-09-10 11:09:06 +00:00
Tagir Valeev
50bbd0efa5 [java-psi] Disable nullity processing during upper bound capturing
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
2025-09-10 11:09:06 +00:00
Mikhail Pyltsin
a34483fe06 [java-inspections] IDEA-378785 Simplify the message for inspection "Convert implicit class to regular"
(cherry picked from commit cbc09391e73e67901c8969f369b2a6c770100477)

IJ-CR-174595

GitOrigin-RevId: b067eee505377d4bcd479ef77c18ab86df9adf0b
2025-09-10 09:42:46 +00:00
Nikita Zaytsev
b480aedac0 [rdct] IJPL-167925: Fix reopening detached editor windows
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
2025-09-09 21:41:46 +00:00
Roman Shevchenko
2e751f5083 [build scripts] better detection of previous IDE installations (IJPL-193786)
(cherry picked from commit 30b34671eb310111b01e838334a242065b1a3cb5)

IJ-CR-173354

GitOrigin-RevId: 8dcec5a068a823b7889fbc28f5832e8aecd59bf7
2025-09-09 15:52:41 +00:00
Sergei Kharitontcev-Beglov
3788c41f4d fixup! [rdct] IJPL-198605: Unit test for right ordering of session registering / disposing
(cherry picked from commit e9d76221b3a3fc5769915f4843d70c157c04620c)

IJ-MR-174360

GitOrigin-RevId: 8698d61d43261be7df420dc9a82f041c518b95c4
2025-09-09 15:11:40 +00:00
Sergei Kharitontcev-Beglov
1984bd04dd [rdct] IJPL-198605: Unit test for right ordering of session registering / disposing
(cherry picked from commit 6adc427dcc27b4a0501fd9b85e10717fc7ac755a)

IJ-MR-174360

GitOrigin-RevId: 2d3f4b30e28e27de6369f1c1fca2d07036812eee
2025-09-09 15:11:40 +00:00
Sergei Kharitontcev-Beglov
9089f5065e [rdct] IJPL-198605: Dispose the previous session inplace if the call is from EDT
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
2025-09-09 15:11:40 +00:00
Alexey Katsman
b001c8d9cc Fix behave statuses for behave>=1.2.7
(cherry picked from commit f81cfceeae1a6b241e7a2ac5804a43e6da09a29c)

IJ-MR-174906

GitOrigin-RevId: 96dcd3b134ed056de466da515b7a0273dfdba8ae
2025-09-09 12:03:25 +00:00
Daniil Tsarev
4aec33401e IDEA-369308 [spring] Allow users to use artifact names starting with digits
Automatically replace an invalid leading character for a package name


(cherry picked from commit 7ed3e88bba23f85820aaf45ab8cfb664dc740775)

IJ-CR-171377

GitOrigin-RevId: 20f6cd0c04e29d50cedcbe963b487ada14a3ac07
2025-09-09 11:07:23 +00:00
Vitaly Legchilkin
5e3a8e9bed [python][sdk] fix lazy loading interpreter lists (PY-82913)
+ 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
2025-09-08 21:50:41 +00:00
Jakub Chrzanowski
1389b1dc24 [devkit] IJPL-158473 Update source attachment logic for IDEA product versions >= 253
Signed-off-by: Jakub Chrzanowski <jakub.chrzanowski@jetbrains.com>
(cherry picked from commit e0896dcd132afef01f5a965ae4c67b81e270b968)
IJ-CR-174725

GitOrigin-RevId: 90e533eeed10f3fd4092bc90e998118227c4fe0a
2025-09-08 21:36:44 +00:00
Jakub Chrzanowski
98d71bbaf4 [devkit] IJPL-158473 Add fallback version support for attaching IntelliJ Platform sources
Signed-off-by: Jakub Chrzanowski <jakub.chrzanowski@jetbrains.com>
(cherry picked from commit c1a6cb43f9a5b694d478a4bf11e077ec631da913)
IJ-CR-174725

GitOrigin-RevId: 1601ff4b474672c8b46195535638d0e5453b2938
2025-09-08 21:36:44 +00:00
Jakub Chrzanowski
becf3855e7 [devkit] IJPL-158473 Adjust product mappings in the IntelliJPlatformProduct enum.
(cherry picked from commit 73a38a0e3064bc9893aa7e62d5cec30a9bfca9bc)
IJ-CR-174725

GitOrigin-RevId: 252428901be58a7ba0835bf3445ac5f93d37a8a6
2025-09-08 21:36:43 +00:00
Aleksandra Olemskaia
9b38c2131d [settings-sync] Improve "Choose Provider" dialog UX
- 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
2025-09-08 19:40:25 +00:00
Aleksandra Olemskaia
666e89dc64 [settings-sync] IJPL-200618, IJPL-200113: Improve "Confirm Disabling" dialog UI
Custom dialog for proper margins and title size


(cherry picked from commit 25d86ba70a8f2fd8c2b2ceb99e7bbec2098e8304)

IJ-CR-174183

GitOrigin-RevId: 2c99e789fb8c2ff992ff0667cce12a5fbfc493c6
2025-09-08 19:40:25 +00:00
Aleksandra Olemskaia
9737a5e6c2 [settings-sync] IJPL-188452: Use combobox for account selector dropdown
- 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
2025-09-08 19:40:25 +00:00
Aleksandra Olemskaia
3806d403d2 [settings-sync] IJPL-200627: Improve warning panel UI with rounded corners and better layout
(cherry picked from commit 95e36da5982eadf11bab1cb62f7b0e64fdf658fc)

IJ-CR-174183

GitOrigin-RevId: 37c16b2dd0ddc649d99dd7f4de09cfd2e049024c
2025-09-08 19:40:25 +00:00
Aleksandra Olemskaia
b1665de33a [settings-sync] IJPL-200637: change cross-IDE sync option text to include Android Studio
(cherry picked from commit c517e90eee2160f4f22e2fa99d5d6b73387cd753)

IJ-CR-174183

GitOrigin-RevId: 9f06f62633a23845c40acb6062d3dd4340ee66f7
2025-09-08 19:40:25 +00:00
Aleksandra Olemskaia
d28fd5b631 [settings-sync] Fix comment preferred size calculation with embedded icons
Icon rendering in cell comments caused excessive width,
breaking panel layout. Set maxLineLength to constrain HTML content width properly.


(cherry picked from commit aed82084a7322ef826195d9dd22b2b8acfb4b445)

IJ-CR-174183

GitOrigin-RevId: 6c13a0f62daf5c6d31c6507a9bd121a7945169cd
2025-09-08 19:40:25 +00:00
Aleksandra Olemskaia
8e67471946 [settings-sync] Avoid duplicating enableButtonAction() call when switching account
(cherry picked from commit 83b7ca5a0b0645054af43196fe3add02cd43c645)

IJ-CR-174183

GitOrigin-RevId: ebaa961196cab24ee8348c6816d7c269ca40b78e
2025-09-08 19:40:25 +00:00
Aleksandra Olemskaia
2d6744c128 [settings-sync] IJPL-200626: fix plugins list dropdown spacing
(cherry picked from commit 8709d90ab7ada57305e269329c1f60d05ecba00f)

IJ-CR-174183

GitOrigin-RevId: 2cd313124cfc30381d9d6943aa861556fdb745c3
2025-09-08 19:40:25 +00:00
Aleksandra Olemskaia
b481cab96c [settings-sync] IJPL-200620: fix "Choose Provider" and "Choose Settings Source" title font
(cherry picked from commit 73a894cfc96a7d264b46e7940f6795404fc5d124)

IJ-CR-174183

GitOrigin-RevId: 7de2d3c48411e8122a4031693a279f1b51bf5883
2025-09-08 19:40:25 +00:00
Aleksandra Olemskaia
b8aee5082b [settings-sync] IJPL-200624: fix padding of the "Choose Provider" dialog
(cherry picked from commit 8448fd3c298c5fec5450955f385c0c2ab139a3db)

IJ-CR-174183

GitOrigin-RevId: 95aad88869aeb0985da50d18745adb68682c91cb
2025-09-08 19:40:25 +00:00
Aleksandra Olemskaia
b9804f0de8 [settings-sync] IJPL-200622: add provides icons in "Choose Provider" dialog
(cherry picked from commit 8cdbe84e9be46a629dfebdb4b85d2c32cc869006)

IJ-CR-174183

GitOrigin-RevId: 4be3ca7c86be68253e11834070cd17adf5633422
2025-09-08 19:40:25 +00:00
Aleksandra Olemskaia
793bd66f3e [settings-sync] IJPL-200621: fix "Choose Provider" dialog dialog copy
(cherry picked from commit f7adb1136071df78e6ab66253cb6ec45af02ef5a)

IJ-CR-174183

GitOrigin-RevId: d56b242cd9a21b40af6711f64245fa70a2ea2a81
2025-09-08 19:40:25 +00:00
Aleksandra Olemskaia
b3f0be6b47 [settings-sync] IJPL-200620: fix "Choose Provider" dialog title style
(cherry picked from commit 2642760b54346b0fe6c85926bd43c15757b6db8f)

IJ-CR-174183

GitOrigin-RevId: 902289ccce2fa64c5dceb494ef27b16747e615c1
2025-09-08 19:40:25 +00:00
Aleksandra Olemskaia
197e1c9c8e [settings-sync] IJPL-200114: change "Confirm Disabling" dialog icon (i) -> (?)
also make `DisableSyncType` an enum


(cherry picked from commit 8fac33d928c77a9f2b7b20a5e976c4c0ddec3b93)

IJ-CR-174183

GitOrigin-RevId: e321bc79d35a7afacdee7132e5ab7b985b2f5e2f
2025-09-08 19:40:25 +00:00
Aleksandra Olemskaia
67149987bc [settings-sync] IJPL-200112: "Settings Sync" -> "Backup and Sync" in the "Confirm Disabling" dialog
(cherry picked from commit 83f63cab5aee030cf7574a9a31a03c7b9375cd2a)

IJ-CR-174183

GitOrigin-RevId: 0d6ca40c3e8e35a95fd29aafea133fcea0dfbf1e
2025-09-08 19:40:25 +00:00
Aleksandra Olemskaia
cf61e52839 [settings-sync] IJPL-200647, IJPL-200649, IJPL-200650, IJPL-200651: improve "Disable Active Sync" dialog UI
(cherry picked from commit e87b3996883c8eff443f0744b859624d02741e7f)

IJ-CR-174183

GitOrigin-RevId: 82d02279a17f59acad04952b2d6e6c12bb2b0e66
2025-09-08 19:40:25 +00:00
Aleksandra Olemskaia
9cb5da9829 [settings-sync] IJPL-193616: Replace AtomicBoolean with Mutex for event processing synchronization
Replace inefficient AtomicBoolean-based locking with coroutine-aware Mutex in SettingsSyncBridge


(cherry picked from commit ca6e576b305b2bee87f46a54c1e545137fc5f222)

IJ-CR-174183

GitOrigin-RevId: b9f90808bbe1bf40bf9c2ae2171ba82793f9d01b
2025-09-08 19:40:25 +00:00
Aleksandra Olemskaia
c02485afc8 [settings-sync] IJPL-193345: add timeout for remote data removal
(cherry picked from commit 53984319aadd9ca43e16975691be0cd70fb465db)

IJ-CR-174183

GitOrigin-RevId: fada3e292a22d21bb132d1350a4552f9347936ca
2025-09-08 19:40:24 +00:00
Aleksandra Olemskaia
2c734356f8 [settings-sync] IJPL-193345: fixes in remove remote data flow
- 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
2025-09-08 19:40:24 +00:00
Sergey Simonchik
c3e15d4e3e [terminal] IJPL-206022 fix exit code for commands for the terminal engine "Experimental 2024 (deprecated)"
Needed for Junie


(cherry picked from commit 8849098bd5fec9818eab4b890dcb0183a751c9f2)

IJ-CR-174634

GitOrigin-RevId: a5e272ecc977b2b0c42347b016f96dba99ca802d
2025-09-08 19:23:32 +00:00
Alexey.Merkulov
32d748c8ad [debugger] IJPL-204736 Fix the Run-to-Cursor icon overlapping the VCS delete marker
(cherry picked from commit 57125cfb1e5311d098a8070788c3ed16f7d1305d)

IJ-CR-174622

GitOrigin-RevId: 7b09d828558cf399c8075f82c1006d3fb59c9d6a
2025-09-08 19:15:19 +00:00
Alexey.Merkulov
c6c5fd5fd0 vcs: Add a method to the VCS facade to get lines where code was removed (after that lines)
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
2025-09-08 19:15:19 +00:00
Nikita Zaytsev
2336e40949 [rdct] IJPL-204358: Improve tab selection on editor reopening to avoid IndexOutOfBoundsException
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
2025-09-08 18:14:45 +00:00
Nikita Zaytsev
7c606be4f0 [rdct] IJPL-204358: Don't reopen editors on frontend for Code With Me
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
2025-09-08 18:14:45 +00:00
Aleksandr.Govenko
a1ea38b4b9 PY-83900 Inspect Code consumes 100% CPU and takes unusually long on specific simple file
(cherry picked from commit 81973d162072c94b4d7201dffc68d43669f449a3)

IJ-MR-174807

GitOrigin-RevId: 7d6563db8b59c05f6ecc20abe929ce6771ece825
2025-09-08 15:41:33 +00:00
Snapshot dependency; Vitaly Provodin; Ultimate / 252 / Service / Promote JBR 21 Runtime to IntelliJ 252
e89761784e Updating versions of project dependencies: runtimeBuild->21.0.8b1038.71
GitOrigin-RevId: 756ad9a3ac5c2d36e62e9ea08fc1b1a5cb34c5ca
2025-09-08 13:27:34 +00:00
Andrei Iurko
70f57514eb [qodana] QD-12495 disable background write locks for Qodana
GitOrigin-RevId: fd8dfea0371676e497303b381f1de5f972a4c05a
2025-09-08 11:28:21 +00:00
Denis Mashutin
13e4e1b743 PCQA-1215 Write 'Create system interpreter' test
GitOrigin-RevId: 97182e57ce33a1d0617eb8229db56cfb67a8e803
2025-09-08 10:48:49 +00:00