Commit Graph
438402 Commits
Author SHA1 Message Date
Nikolay Chashnikov e5ba5775bf [module repository] use explicitly passed project home if it's available (IJPL-109)
TestingTasksImpl passes 'idea.home.path' pointing to the checkout directory explicitly, so when tests are started from build scripts, it's more reliable to use this property.

GitOrigin-RevId: 55030a14460a53c9bba0724761d4e69646efa018
2024-03-21 04:41:44 +00:00
Roman.Ivanitskii cf066943ab [driver-sdk] Add waitForText method
GitOrigin-RevId: da4bd0f28053cf84bee06c278a0b09952db56cf5
2024-03-21 04:30:15 +00:00
Nikita Barkov 9243e950fb [perf_tests]Updated CreateMavenProjectCommand
GitOrigin-RevId: 0c18b6c84ca15644ebc29fc0b4148085977db3aa
2024-03-21 02:18:00 +00:00
Roman Shevchenko 8be1d835ee [project] dropping .idea/kotlinScripting.xml (no non-default values)
GitOrigin-RevId: 5a6eb05e729b689949939bc003349317f50fb962
2024-03-21 01:49:20 +00:00
Ilya.Kazakevich bea035291c [python] Convert "install package in background" tools to futures.
fixup! Fix after review: use another `install` signature

[python] Convert "install package in background" tools to futures.

For things like PY-64402 we might need lots of packages to be installed in the background.

This change substitutes callback spaghetti with `Future` that could be used for `suspend` function using `await`.

It introduces "facade" named `FrameworkInstaller` to do that.

Unlike callbacks that weren't called in case of error,
`Future` completes with error, and thrown exception caught and logged by IJ platform.

`DsKnownPackages` enum is also added not to hardcode string literals


Merge-request: IJ-MR-129535
Merged-by: Ilya Kazakevich <ilya.kazakevich@jetbrains.com>

GitOrigin-RevId: 1e1a0121972119d36cd3bb53e876b3af86c09f8c
2024-03-21 01:35:26 +00:00
Sergey Simonchik b39dd25583 terminal: update pty4j to 0.12.26 (IDEA-347968)
pty4j v0.12.26 contains the fix for https://github.com/JetBrains/pty4j/issues/145
Commits:
https://github.com/JetBrains/pty4j/commit/f6c884deb5785f75b83860025860de10cce20a08
https://github.com/JetBrains/pty4j/commit/302f14e3884b324f6c56c40587f6c080d13df6f7

GitOrigin-RevId: 0f12ce1c27f63a3a3af0d989d5af7cf6b347934b
2024-03-21 01:30:13 +00:00
Bart van Helvert 6541c765d3 [kotlin] Change package refactoring support
#KTIJ-28974 Fixed

GitOrigin-RevId: 2d4c4926df2a73b595dc9f6c5da39527fc184190
2024-03-21 01:22:25 +00:00
Bart van Helvert 231a2f5fd8 [kotlin] Fix binding to element in root pkg
GitOrigin-RevId: 81919474d5cfe5f50b1ff2e2e9564d216fa0389a
2024-03-21 01:22:20 +00:00
Andrey Cherkasov 8d0b39fe2d [kotlin] Port AddFunModifierFix to K2
This quick fix is for the INTERFACE_AS_FUNCTION error.

^KTIJ-26890

GitOrigin-RevId: 57e2171b1ee82ca4202edd69aa3ed19d26ca2c46
2024-03-21 01:10:22 +00:00
Andrey Cherkasov 78fcccc1a7 [kotlin] Rename method
^KTIJ-26890

GitOrigin-RevId: eb56d77334856b33f175fb2cd0661e98211b6f07
2024-03-21 01:10:19 +00:00
Andrey Cherkasov c66bbbb1b1 [kotlin] Move some functions to the kotlin.base.psi module
^KTIJ-26890

GitOrigin-RevId: 2cb72a2f89f5afe9db5c2a8da6f5ef3dcff3f0b8
2024-03-21 01:10:16 +00:00
Mikhail Mazurkevich 318adc35ae [workspace model] IJPL-844 Introduce SourceRootTypeId for SourceRootEntity
GitOrigin-RevId: b8df8b250d7a6b7392278fb71f3d35fe175448fd
2024-03-21 00:48:41 +00:00
Ekaterina Berezhko b2c95fb712 [Grazie][IDEA-335887] Ignore LanguageTool's warnings about "finally blocks" in comments
GitOrigin-RevId: 8daa6a57668d6ea92362348aa80a838b7fb722a3
2024-03-21 00:24:51 +00:00
Ekaterina Berezhko 9e2bfb4413 [Grazie][IDEA-331054] Incorrect missing apostrophe warnings inside markup
GitOrigin-RevId: ef4008f271a9d76030d048e3fd7645176372d7ea
2024-03-21 00:00:00 +00:00
Elena Shaverdova 5a47f05dc0 WaitForFinishedCodeAnalysis waits for edited documents to be analyzed at least once
GitOrigin-RevId: 20e3c79205403868850e7bce27d29430eaf13e55
2024-03-20 23:40:36 +00:00
Elena Shaverdova 6ac68d13bc IJPL-845 Make opening performance tests wait till full highlight
GitOrigin-RevId: a267a8eb10b303075737865e9a9e4bc459e963ae
2024-03-20 23:40:31 +00:00
Elena Shaverdova 4c4c556d3c Update reference in documentation
GitOrigin-RevId: 14037f2f2e859cb8e5195c084a91b3d62f238874
2024-03-20 23:40:25 +00:00
Elena Shaverdova 3e164458df IDEA-348788 Refactoring of com.jetbrains.performancePlugin.commands.WaitForFinishedCodeAnalysis
GitOrigin-RevId: ccae7c3b2c33423458cbf94b4d50ff7bd5958943
2024-03-20 23:40:15 +00:00
Sergei Vorobyov e29924eb0b IDEA-321510 [Gradle|Sync|Test] new: added tests with multiple modules for the phased Gradle sync
GitOrigin-RevId: 52b92b5378a9ea7ee54b53706cdb65849073aebb
2024-03-20 23:28:09 +00:00
Sergei Vorobyov 98f7d7a3c5 IDEA-321510 [Gradle|Sync|Test] new: added tests for the multi-phased Gradle sync cancellation
GitOrigin-RevId: cf7d919a55d8b5deb34d1dc079732bdfb12d221d
2024-03-20 23:28:04 +00:00
Sergei Vorobyov c41e478cc0 IDEA-321510 [Gradle|Sync|Test] new: added tests for the multi-phased Gradle sync
GitOrigin-RevId: b46120652a172f43cf4b6ba9cbe6dcb6c2d4be72
2024-03-20 23:27:58 +00:00
Sergei Vorobyov 26ddd0ba65 IDEA-321510 [Gradle|Sync] new: added support for the Gradle streamed value API
The GradleIdeaModelHolder is filled incrementally after each Gradle model fetch phase.

GitOrigin-RevId: c63408da81b28ceffb41a2eca11d9c2155053d21
2024-03-20 23:27:53 +00:00
Sergei Vorobyov d799a086fd IDEA-321510 [Gradle|Sync] fix: Gradle sync can be canceled during handling Gradle call completion.
GitOrigin-RevId: f12b77ddd6e7febe461bb557c8088d589fd4bbb4
2024-03-20 23:27:48 +00:00
Sergei Vorobyov b5a8c92460 IDEA-321510 [Gradle|Sync] fix: provide events for all sync phases even they aren't supported by Gradle
GitOrigin-RevId: 06ec97469e95d5190b53b75bfb6066f91cf90146
2024-03-20 23:27:43 +00:00
Sergei Vorobyov 97b95edbec IDEA-321510 [Gradle|Sync] fix: convert and transfer the Gradle build environment once per model fetch action
Extracted GradleExecutorServiceUtil

GitOrigin-RevId: 1654459bbba7d4edcb4401c6e572f3a35ede2f39
2024-03-20 23:27:38 +00:00
Sergei Vorobyov c8af8fea88 [Gradle|Sync] cleanup: use CancellationToken instead of CancellationTokenSource
CancellationToken is an abstraction that represents the process cancellation state. But it can't be canceled from the consumer's code. So we need to use the CancellationTokenSource in the controller, and CancellationToken in the process that the controller should control.

GitOrigin-RevId: 0b7a17fc72a90db7ea1ee57ee6e045dbedfe953a
2024-03-20 23:27:34 +00:00
Dmitry Avdeev 0631be0f50 IDEA-349217 Add i18n inspection/quick fix to live template setting files
moves & tests

GitOrigin-RevId: e7534b1baf5894ccbc733c35413c7322ce87f2b5
2024-03-20 23:01:11 +00:00
Nikita Ashihmin a8fea4127c [pycharm] PY-30784 PY-69996 PY-70004 Jupyter(fix): Add ratio to estimate size for fast check
GitOrigin-RevId: e589892696a8a755096615c86484fd66024139d8
2024-03-20 22:52:09 +00:00
Vladimir Krivosheev c175babc14 IJPL-166 coroutine dump without byte-buddy (final variant #10.1)
GitOrigin-RevId: b203c7d1e4c89087509f5bd697e8b152fc6cc94d
2024-03-20 22:50:15 +00:00
Mikhail Mazurkevich 77ef2d9094 [intellij sh] IDEA-344658 Fix notification with a suggestion to update to the same version
GitOrigin-RevId: 74c22be9017c90b4e0b643a29f03794620776412
2024-03-20 22:03:07 +00:00
Vadim Salavatov 68d74c8f7a IDEA-349639 filter out certainly unrelated MacOS crash reports in a diagnostic zip
GitOrigin-RevId: aa6c6000570264ed65e772d96e66fd120c2b21f8
2024-03-20 21:45:49 +00:00
Mikhail Pyltsin 9843acc12d [java-inspection] IDEA-349652 change level to WEAK for LoggerInitializedWithForeignClassInspection
GitOrigin-RevId: 265dc70916a59fcabbc68ca317725f5347fecf57
2024-03-20 21:45:12 +00:00
Andrew Kozlov b0b3cfda4b [kotlin] KTIJ-29133 KotlinApplicableInspectionBase is a common api for the inspections
GitOrigin-RevId: a35abf384783e8b314545555006e2bf07dfe3abe
2024-03-20 21:30:35 +00:00
Andrew Kozlov f7e3db8a14 [kotlin] KTIJ-29133 interfaces renamed
GitOrigin-RevId: 589f675a8349838b9a58e2d8383938060b19fccd
2024-03-20 21:30:29 +00:00
Andrew Kozlov 8957a2aee4 [kotlin] KTIJ-29133 KotlinModCommandAction moved
GitOrigin-RevId: f38ab8f414def766a4962b3c30aa10d97524b7c7
2024-03-20 21:30:24 +00:00
Andrew Kozlov 89754e32a0 [kotlin] KTIJ-29133 KotlinApplicabilityRange removed
ranges are listed explicitly

GitOrigin-RevId: f22f662f8c22ef278abad1974a27070e8e87dc2d
2024-03-20 21:30:19 +00:00
Andrew Kozlov a8f74ff114 [kotlin] KTIJ-29133 KotlinModCommandAction unifies all existing cases
GitOrigin-RevId: 7d2877531f97accd47d67d79c1ede263288cfd27
2024-03-20 21:30:14 +00:00
Dmitry Drobotov 78a468c530 IDEA-349563 Use title as label for the signature preview text field in Change Signature and Extract Method dialogs
GitOrigin-RevId: 8854ebc6b3bb3e08a913e503c31fdafdbd37792d
2024-03-20 21:12:29 +00:00
Dmitry Drobotov 635f9c6f1e IDEA-349563 Set accessible name for the commit message text field
GitOrigin-RevId: a9f2f1f56a70536d6641bb1ac4a6e30e33b13751
2024-03-20 21:12:24 +00:00
Dmitry Drobotov 23d6b88926 IDEA-349563 Improve accessible name handling for EditorTextField
* Set the name for the internal editor component instead of EditorTextField, because the focus goes to the editor and screen readers announce its information, not EditorTextField's.
* Because the editor is initialized lazily, the accessible name is stored in a field.
* If EditorTextField has a label, use it as the accessible name for the internal editor component.

GitOrigin-RevId: 30ac07d3d924b48f6b1c8342f18064af6171d6a3
2024-03-20 21:12:19 +00:00
Dmitry Drobotov c501ffbdbc IDEA-349423 Set accessible names in the Maven Artifact Search dialog
GitOrigin-RevId: 0fe82f4cb9a13f6d565039acded5f29d93f87ab6
2024-03-20 21:12:14 +00:00
Eugene Zhuravlev e25f4d5667 JPS mappings for incremental compilation refactoring: additionally affect class lookups on hierarchy changes
GitOrigin-RevId: b7766ec8944d3876cb6ad941c6598e0b3b1f8f2c
2024-03-20 21:06:17 +00:00
Daniil Ovchinnikov d137d814b4 IJPL-850 move cut/copy/paste provider logic to separate data rules to make the UI unaware of them
GitOrigin-RevId: ba9ac1c3977fd07ae2b2afbdbacd35af62a84390
2024-03-20 20:54:37 +00:00
Daniil Ovchinnikov d1293441d8 IJPL-850 make NavBarVm independent of NavBarItem
GitOrigin-RevId: 01617567b94538e1bb043c3b360dc9cf79c12bbc
2024-03-20 20:54:34 +00:00
Daniil Ovchinnikov 89981ba257 use data context hint update supply in nav bar popup
GitOrigin-RevId: 7f30533b6279c37cb762477ade75482d576d6bb2
2024-03-20 20:54:30 +00:00
Daniil Ovchinnikov 2e6cd387a9 remove unused NavBarItemPresentation.selectedTextAttributes
GitOrigin-RevId: 158ec0d0cb8f038105458767e9adfd98bc6b12d2
2024-03-20 20:54:27 +00:00
Alexey Belkov ff444631b2 [kotlin] J2K: Make "undo" work properly in JavaToKotlinAction
I messed it up during conversion to Analysis API.
Now it should work as intended.

GitOrigin-RevId: 150aca29dec2b23a62217cd86146a14987ef3828
2024-03-20 20:31:42 +00:00
Alexey Belkov d1b992312d [kotlin] J2K: Don't try to search external usages of definitely not accessible members
GitOrigin-RevId: b92c2b32f3d6d5ee3b0fd10da483a3e26e18d15b
2024-03-20 20:31:38 +00:00
Alexey Belkov 8c5bbddd58 [kotlin] J2K: remove remaining @ApiStatus.Internal from individual declarations
This stuff is now in package-info.java

GitOrigin-RevId: 099d1a4e7b3c181482cb9c4ed7e2860978b8d02d
2024-03-20 20:31:35 +00:00
Aleksey Pivovarov 867777f0b2 IDEA-346012 [SE] remove empty dot in SE empty text message
Fix a typo after d811c4a74f898448cf9a1f62ecc3355b4d91e7a9

GitOrigin-RevId: a56f26f2fb4932b1cc4334434d152ff6dc064105
2024-03-20 19:40:59 +00:00