Commit Graph

482319 Commits

Author SHA1 Message Date
Anna Kozlova
8931c9fbe8 [platform] add more checkCanceled
- scopes
- workspace model

KTIJ-33238


(cherry picked from commit f231052bb7130617d73c6dd411a6f915eaa6e9aa)

IJ-CR-166541

GitOrigin-RevId: c9beffca994b33b9ea12554f8ec149ca9ad9c3d9
2025-06-23 09:34:29 +00:00
Vladimir Krivosheev
c9d7ce3a9c MP-6705 API for dynamically showing Tool Window triggers verification error for internal API use
GitOrigin-RevId: 28eb63d956febd853663fcba028fdbf51f6a5b79
2025-06-23 09:11:54 +00:00
Roman Golyshev
a9228b5904 KTIJ-16542 [kotlin] Make SuspiciousImplicitCoroutineScopeReceiverAccess internal only in 252 release
We do not consider this inspection to be production-ready yet,
so we make it internal-only to prevent regular users from active
interactions with it for the time being.


(cherry picked from commit 1b4cdfe0bd0da227ef0d1ab39e81f923375a39ae)

IJ-MR-165997

GitOrigin-RevId: b229d165f45f747cac30fafafeaa1d75a1cc98fd
2025-06-23 08:46:50 +00:00
Anna Kozlova
8d4805a73f [kotlin] k2: compare same object kinds in KaLibrarySdkModuleImpl#equals
- as a consequence, after dumb mode the modules are recreated in `K2IDEProjectStructureProviderCache.invalidateAllModuleCaches` and `LLSelectingCombinedSymbolProvider.selectFirstElementInClasspathOrder` fails to choose `precedence` because `providers` might still have old modules
- the next step would be to ensure that all caches with KaModule, track dumb mode as well

^KTIJ-34563 fixed


(cherry picked from commit 7347322c235cec0d24b44829527c4bb0a792acdf)

IJ-CR-166185

GitOrigin-RevId: 31a2c7f6e804a4f7db2ed138f80f65b5d242d36e
2025-06-23 07:32:07 +00:00
Aleksandr.Govenko
6185c1b0f3 PY-81030 Stuck when editing code, high CPU usage
(cherry picked from commit 0c4f6c91655503524722d59b363f60e1d289898c)

IJ-MR-166267

GitOrigin-RevId: fd7b2e941f3d7fdfdfee6623be056d0fe50f83cb
2025-06-23 00:19:47 +00:00
Natalia.Murycheva
9df97f10c1 [PyCharm Tables] PY-80834 Added import
(cherry picked from commit 49ea87f4a21a6fa37cfe71e9aa36f84e4a73c856)

IJ-CR-166515

GitOrigin-RevId: 0ea3f9f8738fcc6045fafe61926c6ae82f8f72f5
2025-06-22 09:32:51 +00:00
Natalia.Murycheva
2e77b25c30 [PyCharm Tables] PY-80834 Fixed tables test data (part 2) and fixed the Iterable import for Python 2
(cherry picked from commit 990df1ada340084b65f83a051125ea77cf3da8f9)

IJ-CR-166515

GitOrigin-RevId: a2193fd4dd7a5bab3eface3ac1f1e6b0a1094563
2025-06-22 09:32:51 +00:00
Natalia.Murycheva
0e20868e92 [PyCharm Tables] PY-80834 Fixed test data and tests
(cherry picked from commit c1c344c53e2ec1ad91e423f59c4f062c25678f39)

IJ-CR-166515

GitOrigin-RevId: 152abd4bbb6df85b9fa3a373f8992898864348e8
2025-06-22 09:32:51 +00:00
Natalia.Murycheva
efc74aaa70 [PyCharm] PY-81071 Moved the "Console" settings page that was forgotten
(cherry picked from commit dafc5198798259520186c2e05c7a84f9d89df2c8)

IJ-CR-166515

GitOrigin-RevId: 1ea4b9574368f9ff6a1d300b1d4932c4dbf1819b
2025-06-22 09:32:51 +00:00
Natalia.Murycheva
84549d7bdf [PyCharm] PY-81850 Python Settings follow-up improvements #PY-81850 Ready for Merge
* Added a description for the "Python" group of Settings
* Added a description for the "Type Renderers" settings page
* Added a description for the "External Documentation" settings page
* Added a helpId for the "Type Renderers" settings page


(cherry picked from commit 29e93e8dd7fc7f54adea825b60cf8d95540fc6b0)

IJ-CR-166515

GitOrigin-RevId: f8fd3f2ca9d6e2d34077a5424673adeb66bc05d1
2025-06-22 09:32:51 +00:00
Natalia.Murycheva
35b419badd [Debugger] PY-81950 Flaky error: AttributeError: 'tuple' object has no attribute 'startswith' #PY-81950 Ready for Merge
* Added additional type-check in the is_real_file function


(cherry picked from commit 8cec0ce0ce98eba7fce2c75a1352675e36b84d87)

IJ-CR-166515

GitOrigin-RevId: c592571ff2c3e81eaf21d948a614d3af7644333f
2025-06-22 09:32:51 +00:00
Bas Leijdekkers
c3f9930d90 Java: mention module import in language level description (IJ-CR-165835)
(cherry picked from commit 47000338b947faf441eef9cad60a6b5852acd011)

IJ-CR-165835

GitOrigin-RevId: 69e5f2f6673842f8975dc39c9ee75f5ad430719c
2025-06-21 10:19:29 +00:00
Pavel Karateev
f89d1968f6 PY-82027 explicitly declare _pydevd_bundle.tables package in setup.py
(cherry picked from commit 3ff86206e954575716a141388dd2574e2aec1482)

IJ-MR-166129

GitOrigin-RevId: 22a9c8ed010fdb90aa2e96e6df386d5a2f349052
2025-06-20 17:40:42 +00:00
Konstantin Hudyakov
60cd5af09c [terminal] IJPL-192529 Update secondsSinceLastControllerActivity on any activity in the terminal backend
(cherry picked from commit 9f12ea2cae8815fe4741a6f1eb8bf2b3f12773cc)

IJ-CR-166298

GitOrigin-RevId: 1e0c02408f1761e7cbaebf7df5115969e52adeae
2025-06-20 14:36:31 +00:00
Sergei Tachenov
48c2a4aafc IJPL-187366 An attempt to fix race conditions in structure rebuild
The approach with concurrent launches is the main suspect
for various tool window glitches, like the content not showing
up or several tabs without names appearing in the header.
UI code is not designed to be concurrent, so when launching
several rebuilds, we need to wait until the previous one
has finished one way or another. But because of that
it seems that we don't even need concurrent launches.

To keep the cancel-on-content-manager-dispose semantics,
introduce a nested coroutine scope, cancelling it when
the tool window content manager is disposed.
Add some logging there as well so we can figure out
what's going wrong in case anything doesn't work.


(cherry picked from commit 743ce422c4c75d51635e7f459e68b83ec72d27c3)

IJ-CR-166271

GitOrigin-RevId: f9e72354fae924545004ef2308ad65c793c8ede4
2025-06-20 12:26:12 +00:00
Gregory.Shrago
55838a9540 IDEA-23484 Merge META-INF/services properly
(cherry picked from commit b9756e1b9029254b128ac0b7a13fe46ace38d344)

IJ-CR-166327

GitOrigin-RevId: 8d9203d5940fe9f3be0d53e0dcbc81c435835938
2025-06-20 11:26:31 +00:00
Konstantin Nisht
aa6e4499c5 [threading] IJPL-182690: Disable UI in case of IDE freeze
GitOrigin-RevId: 4d9bfe4ec7d68f4a6e0cea5543d64f4e4b0e22b7
2025-06-19 18:32:28 +00:00
Artem.Bukhonov
efe41f6d8d [MCP Server] Add advanced tests for all toolsets. Improve transport tests
(cherry picked from commit bcb3c215ddcccfad3311ed5163503175e54254a4)

IJ-CR-166188

GitOrigin-RevId: 0a16d89676ee5f7d9f80688805bd4312d7f20ccd
2025-06-19 17:22:45 +00:00
Sergey Vardanyan
23483ce45d sergey.vardanyan/RIDER-84956-CreateProcessW-based-process-for-IntelliJ
Fix RIDER-84956: Add raw commandline support based on CreateProcessW

Merge-request: IJ-MR-163129
Merged-by: Sergey Vardanyan <sergey.vardanyan@jetbrains.com>

(cherry picked from commit 0b1eae71a5efcaeb98f868f0a4bd7640211d0f29)

IJ-CR-166077

GitOrigin-RevId: bb4243ad03c946e39ae6f74e0ad1c23ff0a7135f
2025-06-19 14:39:59 +00:00
Ilia.Shulgin
a21852d412 [git] IJPL-192098 Prevent CWM access in git rpc
(cherry picked from commit e66097c45789e80246d03b13da04c804ba413e93)

IJ-MR-166286

GitOrigin-RevId: 69573a612b49dd773408e6872928e59ce0d90ea7
2025-06-19 14:20:46 +00:00
Ilia.Shulgin
51de2e1c76 [git] IJPL-192098 Disable branches widget in CWM
1. Mark as frontend-only to prevent getting it from backend
2. Explicitly disable frontend action in CWM


(cherry picked from commit d396b6d537eeb7cf0a6fa63c73db7b30e5d8fc44)

IJ-MR-166286

GitOrigin-RevId: 3338cfca87e43c00bcd112720523f7a2d34d58ca
2025-06-19 14:20:45 +00:00
Ruslan Cheremin
b3870481f5 [vfs][monitoring] add shard# to indexing-diagnostics html report
(cherry picked from commit 5c618308d630306f3f76b895ccdd129187501745)

IJ-CR-166100

GitOrigin-RevId: 38b88f0c3b1056dead7a2e18bca1e0c5ea771f1b
2025-06-19 13:55:01 +00:00
Timur Aliberdov
37fabc2327 IJPL-179969, IJPL-187049: filter paid required plugins suggestion in free mode for PyCharm only
(cherry picked from commit 1c14b02e5a987b200b43a0e1eb01c8447b5f9c80)

IJ-CR-166240

GitOrigin-RevId: 097aa59d53449aaea99170bc29aba9c1c235b25a
2025-06-19 13:06:01 +00:00
Maria Sokolova
5d3b22b57d [debugger] Added statistics for thread dumps
(cherry picked from commit 1681bdb2f3eb83dc4d0bd07d875cac937ae0936e)

IJ-CR-166108

GitOrigin-RevId: 8c427f0618052dfc7862d2ce8b4d93eb0384cb82
2025-06-19 13:03:00 +00:00
Sergei Tachenov
63b612bd2b IJPL-192020 Postpone suppressing fast track until the toolbar is updated
After the first update, toolbars suppress fast track updates.
However, now that auto-resizing relies on fast track being
enabled, this sometimes prevents auto-resizing.

Fix by suppressing fast track only after the update was
applied and auto-resize already happened.


(cherry picked from commit b4d433766883034be90ce13893928938a4d7faf4)

IJ-CR-165957

GitOrigin-RevId: 3872ef32058ec70dceb570bad9b442be2cf4acb9
2025-06-19 12:58:01 +00:00
Sergei Tachenov
4146b787f8 IJPL-192020 Convert SUPPRESS_FAST_TRACK to Key
(cherry picked from commit 53b58350772385740e682c36e7b9c11040fe73d9)

IJ-CR-165957

GitOrigin-RevId: 850614c188a05dd33ad89841692f95f4f3878aa0
2025-06-19 12:58:01 +00:00
Sergei Tachenov
fa4639db1b Revert "IJPL-192020 Fix auto-sizing of the hidden toolbar actions popup"
This reverts commit e29d54c0c0d449e8229160365008b4ba88235a90.

Reverted because of a better fix.


(cherry picked from commit 457aa8978a77dad90507df3781361d764025bd77)

IJ-CR-165957

GitOrigin-RevId: 0e9765e5023b5838bf416b39b1916ee63a1332c9
2025-06-19 12:58:01 +00:00
Sergei Tachenov
b6f478161b IJPL-192020 Fix auto-sizing of the hidden toolbar actions popup
After disabling resize for toolbars with disabled fast track,
it now affects these popup toolbars that show the hidden actions.
It happens because SUPPRESS_FAST_TRACK is auto-set in
updateActionsImpl when firstTimeFastTrack is true.
For such toolbars fast track is useful to have
and auto-sizing is a must-have, so we just force
fast track by setting SUPPRESS_FAST_TRACK to false.


(cherry picked from commit d37eb67f6bbf506d347d76433f581706861e9107)

IJ-CR-165957

GitOrigin-RevId: ed0805f18509f1fb5565d0bda2ae9a437ceea9ff
2025-06-19 12:58:01 +00:00
Aleksandr Krasilnikov
54f9bd101d IJPL-192045: Disable row hovering in the VCS Log for Rem Dev mode
(cherry picked from commit 3264af52e87f601a999ca7453597cc28c7d6e859)

IJ-CR-166255

GitOrigin-RevId: 809bbff81ced9cd5b2cb37deb0a5527e38921d6c
2025-06-19 12:38:20 +00:00
Konstantin Hudyakov
fcd573aada [terminal] IJPL-192424 Make API for checking terminal engine public
So, external plugins may use it.


(cherry picked from commit 75cf70a16f21c6f722fad314ed391c4b77438cba)

IJ-CR-166213

GitOrigin-RevId: 0e7347a34e1280531d206a0ff37e9f1256862f7d
2025-06-19 12:21:39 +00:00
Konstantin Hudyakov
5c55ca407e [terminal] IJPL-192386 Add an ability to get terminal text from the TerminalWidget
Support the classic terminal, new terminal (gen1) and the reworked terminal (gen2).
This method is the fast solution, but probably not final, since we plan to have a better public API for the Reworked Terminal. So, mark it as experimental.


(cherry picked from commit 1bae3499a909b4b9447af0b734a87eda53e8d67d)

IJ-CR-166213

GitOrigin-RevId: f0b7e77880e38ef3d2ac4b1c4ba19e99fcc7da06
2025-06-19 12:21:39 +00:00
Nikita Pavlenko
dd37482966 [PyCharm] Jupyter (fix): Fixed a bug with recreation of components in JupyterTrustManager and wrong addressing NotebookEditorAppearanceProvider. #PY-82081 Ready For Merge
(cherry picked from commit c35072fd21fed708e0bcbb89b04039ef0c51c448)

IJ-CR-166183

GitOrigin-RevId: 1e94ac9401505e20bd2c79c30323c740fe07224c
2025-06-19 10:39:04 +00:00
Mikhail Pyltsin
3ad205d0c3 [java] IDEA-374464 java.lang.NullPointerException: getProjectJdk(...) must not be null on downloading JDK
Revert "[java] IDEA-360282 Use implicit class declaration for a new Java 25 project"

This reverts commit f21990af11c320d373023658866859f61c3c93fd.


(cherry picked from commit ec865d097aa1196ef5061a473d3cc2ba2eb7ca99)

IJ-CR-166010

GitOrigin-RevId: 400df4916c884fee63cacf53b0228faf1a1f1cfa
2025-06-19 08:36:18 +00:00
Maria Sokolova
2aa01de8e0 [debugger] Added statistics for Evaluation on Pause
(cherry picked from commit b44befea149ed8f1c33074c40a79c9fe5a09065a)

IJ-CR-166107

GitOrigin-RevId: ff5ef9bec8b1267609f724b1816d4906c9a94ff9
2025-06-18 16:34:22 +00:00
Nikolay Chashnikov
13ac95ff4f [project model] move ModuleConfigurationEditorProviderEp to intellij.platform.lang.impl (IJPL-192212)
The corresponding extension point is used in Java plugin only, but declared in LangExtensionPoints.xml, so the class should be in lang.impl module to avoid ClassNotFoundException.

The class itself isn't marked as Internal, because otherwise DevKit plugin will highlight usages of the corresponding extension as internal (see IJPL-172788).


(cherry picked from commit af9caf8d2e8e1b181509f5a47601d0d2bd2f5eb2)

IJ-CR-166054

GitOrigin-RevId: 513730d3e8b811b153349afbc3e026c4db4149df
2025-06-18 16:21:12 +00:00
Ilia.Shulgin
ab00c81f15 [git] IJPL-192053 Request focus for text field for every unprocessed key event
Now it's also not necessary to explicitly update a speedsearch pattern and register `Git.Branches.Popup.SpeedSearch`, as all actions will be performed with the search text field set as a context component.


(cherry picked from commit 84508b29f754d8442fdd4299531b7c5e493fd8de)

IJ-CR-166091

GitOrigin-RevId: f22f59d051c2bab78393b2fd90258ecd00777053
2025-06-18 14:01:35 +00:00
Alexandr Evstigneev
c7bfd2cf3f RUBY-34039 Moved and renamed intellij.ruby.profiler module
(cherry picked from commit 9738b3bfd76bbe4dfc1aeff585e9705a37d25045)

IJ-CR-166013

GitOrigin-RevId: c85d2662661168ee03593ec6eb83b79e485d26b0
2025-06-18 12:36:20 +00:00
Roman Shevchenko
1afb681658 [ui] unifying category names of AI plugins; fixing description formatting
(cherry picked from commit ba34a693da8cfddd38d1ca1ddf968e57d562cfe6)

IJ-CR-166063

GitOrigin-RevId: df0da12d674945752f176e77e6610cc0e6aa9cc3
2025-06-18 12:14:56 +00:00
Shumaf Lovpache
0ba43f18b5 [evaluation] Fix missing dependency on ktor in plugin.xml
(cherry picked from commit 1781f608526d81fc122b54180beca0ddce45184f)

IJ-MR-165946


(cherry picked from commit 5b26ce9f61fc70cbbb91f2a07d716e8084a7bc34)

IJ-CR-166009

GitOrigin-RevId: 7e50b5495f17414978ba22d3f03c04468be0ddfe
2025-06-18 10:55:00 +00:00
Roman Shevchenko
1c58da8705 [ui] sorting "Other Tools": moving "DevKit Runtime" to the established "Plugin Development" category
(cherry picked from commit 8e2cf52bfc4b6312292316725bc8e874bdfbbdd4)

IJ-CR-166061

GitOrigin-RevId: f8aad47ddcca9fbe7f6bf8ca0fd46dd9b16ccf86
2025-06-18 10:34:38 +00:00
vladislav.shishov
309991d816 [remote-driver] AT-2249 flaky PreviewSEUiTest
(cherry picked from commit 953db4c85683c3e8329adf5143bd1d502b93894e)

GitOrigin-RevId: 0e23a01e505d81bb392dee857168a566652da73a
2025-06-18 10:16:06 +00:00
Nikolay Chashnikov
d0cc4e9bfd [spellchecker] cleanup: remove unused dependencies from intellij.spellchecker to XML modules
These dependencies aren't used in code, and they shouldn't there since intellij.spellchecker.xml was extracted to a separate module. Also, this change is needed to avoid failures in JetBrainsGatewayIdeStructureTest after 'intellij.spellchecker' is added to Gateway (to fix AT-2832).

Explicit dependency on intellij.platform.backend is added to ensure that the module isn't included in the frontend process (before dependency on intellij.platform.backend came as transitive).


(cherry picked from commit 75e55fda55205b8cc10ff08b93a7b2af1aefee43)

IJ-CR-166031

GitOrigin-RevId: f378c3348f97299aa55287f75dc5b46903ee67d7
2025-06-18 09:37:02 +00:00
Nikolay Egorov
a5d7749e3e KTNB-915: Always allow unused analysis checks for promoted injections
GitOrigin-RevId: 491dff9227522b5bfdc4110ef1a2d3a3b93f9bf7
2025-06-17 16:58:37 +00:00
Nikolay Egorov
c93921bee7 [remote-driver] Extend API for inspections
KTNB-915: Add UI test for unsued declarations processing

GitOrigin-RevId: 666181ec90e1f5cbd44e1ae0aaf3fc4172a4dcf8
2025-06-17 16:58:37 +00:00
Vladimir Fedorov
0c2c2b2a3e [ai-completion] JBAI-14599: add initial trigger model integration
A separate module with trigger model was introduced with a local up-to-date ML API version, so we don't have to update the ML API in other projects in scope of the trigger model integration task.

Co-authored-by: Aral de Moor <aral.de.moor@jetbrains.com>
Co-authored-by: Gleb Marin <gleb.marin@jetbrains.com>

Merge-request: IJ-MR-165229
Merged-by: Vladimir Fedorov <890readrid@gmail.com>

GitOrigin-RevId: 9ca30d6dfb42cc635d72eedadfce6314573e46ec
2025-06-17 01:32:16 +00:00
Nikita Ashihmin
05e32e764d PY-19974 Packages: Add conda envinroment.yml support, refactor sync methods
Signed-off-by: Nikita.Ashihmin <nikita.ashihmin@jetbrains.com>


Merge-request: IJ-MR-164824
Merged-by: Nikita Ashihmin <Nikita.Ashihmin@jetbrains.com>

GitOrigin-RevId: 85cbf7b873742ded72029af1f4ff3e34af9bae22
2025-06-17 00:18:33 +00:00
Shumaf Lovpache
8e05c33f65 Add ktor-client-logging to the ktor-client product module
Merge-request: IJ-MR-165824
Merged-by: Shumaf Lovpache <soarex16@gmail.com>

GitOrigin-RevId: ef661a3b087c3e1e69a9067fc03347a300bc0092
2025-06-16 23:50:47 +00:00
Sergey Simonchik
3e3e463b89 [terminal] IJPL-159752 send Ctrl+C to terminate a running command as a workaround for ConPTY issue
GitOrigin-RevId: d06fab0c71bde3de7fea1656f05351555425b9e0
2025-06-16 23:32:42 +00:00
Sergey Simonchik
92e121eb92 [terminal] add generic file path filter
GitOrigin-RevId: 02763625ba6e6f658847a65d777835cbb9e0f4b8
2025-06-16 23:17:13 +00:00
Sergey Simonchik
20e36a1bc2 [terminal] initialize filters lazily; allow adding custom filters
GitOrigin-RevId: 98be53c6a86b78f9254353aace74e3b871439638
2025-06-16 23:17:13 +00:00