Commit Graph
438402 Commits
Author SHA1 Message Date
Julia Beliaeva d2a8d16a99 [vcs-log] cleanup: remove redundant method override
GitOrigin-RevId: 35f4aca3faeef7a6060a559cb399c24773ca676b
2024-03-27 16:15:09 +00:00
Andrey Lisin 4e96f12fa6 Remove accidentally committed diagnostic print in Python debugger
GitOrigin-RevId: cfa167c69b34ba6bd534b8313816215a8a049130
2024-03-27 16:00:44 +00:00
Kirill.Karnaukhov ae3cef06fa [inline-completion] IDEA-333789, IDEA-341524: fix accepting a suggestion in RD and re-rendering after events
GitOrigin-RevId: 194c5949573958b0cb93714e71af05789af8b373
2024-03-27 15:41:02 +00:00
Kirill.Karnaukhov 586a5d0986 [inline-completion] IDEA-333789, IDEA-341524: describe how rendering of inline completion works
GitOrigin-RevId: c0885952a023ec4674c8dbfd1bc4d3fad3562431
2024-03-27 15:41:02 +00:00
Kirill.Karnaukhov bf6332ff9f [inline-completion] IDEA-333789, IDEA-341524: allow custom text attributes in inline completion
GitOrigin-RevId: de20ab74da26e7f2d9cac864981faba8f99d227e
2024-03-27 15:41:02 +00:00
Kirill.Karnaukhov 8e0ffa86d0 [inline-completion] IDEA-333789, IDEA-341524: first version of streaming inline completion with custom colors
GitOrigin-RevId: f0974546cf7b80e09e9a46dd20fb4ad05a1cc19f
2024-03-27 15:41:02 +00:00
Kirill.Karnaukhov a86112d3a2 [inline-completion] IDEA-333789: add possibility to stream multi-line suggestions
GitOrigin-RevId: b09d83667c29306781a40f0388ed9130398d1770
2024-03-27 15:41:02 +00:00
Nikita Barkov 0f8dcfaa68 [perf_test]AT-859. Implemented SetMavenDelegatedBuildCommand
GitOrigin-RevId: df00731d1d25a6361dbefbb3b02929587de956d7
2024-03-27 15:37:40 +00:00
Vladislav Rassokhin 8f335d1c41 Add RunWith to LineSetIncrementalUpdateTest
GitOrigin-RevId: 634ccb3961fbf6f758d5fa055a056d722a8a9bdc
2024-03-27 15:30:47 +00:00
Vladislav Rassokhin ed359e75fc [test framework] IJI-1588 Filter out non-performance classes in performance-only runs
GitOrigin-RevId: f2a84dfee0934e6cbca9b2c84a2fa444e5daef7b
2024-03-27 15:30:47 +00:00
Vladislav Rassokhin be9ddbb56c [test framework] IJI-1588 Run every test class or package in a dedicated runtime
For now, without retries.
First pass collects all test classes without executing them.
Then they run either one by one, or grouped by package.

GitOrigin-RevId: cbdea0a64313cdc1dd0bbc6a281b9cd679c2a512
2024-03-27 15:30:47 +00:00
Vladislav Rassokhin 2c5a3e9498 [test framework] TestingTasksImpl: better blocked logging, rename variables to be error-prone
GitOrigin-RevId: 7d948ccc5470f5a2b75903dfd287133243c486b0
2024-03-27 15:30:47 +00:00
Andrei.Kuznetsov 27c8adc113 IDEA-261095: fix indexID is removed twice on plugin unloading
First from here: com.intellij.util.indexing.FileBasedIndexPluginListener#beforePluginUnload
And also from here: com.intellij.util.indexing.FileBasedIndexImpl#FileBasedIndexImpl

Keep only one (the most generic) place - FileBasedIndexPluginListener. Unregistering ID on plugin unloading is not correct in general case, because it clear index.id-plugin association, but will keep index storages. Old storages may accidentally be accessed by another plugin declaring an unrelated index extension with the same index.id (name collision).

(cherry picked from commit 38cbc7d0a809194f32327535fbb6657f63ec2834)

GitOrigin-RevId: 2b40c44635948b0f2b36b148f428b2e29f8dc331
2024-03-27 15:26:35 +00:00
Mikhail Kuznetsov 8ceda7985c [ui-tests] popupUI update
GitOrigin-RevId: f1cef44259577393dd80c4c6821f75da9a1be2f0
2024-03-27 15:25:00 +00:00
Mikhail Kuznetsov e3d1e28ab0 [ui-tests] icons of popup items
GitOrigin-RevId: a6e42555ca6087ad6f29727786886d0d68461dde
2024-03-27 15:24:55 +00:00
Petr 4602d09655 PY-61639 Extracted PyHighlightingAnnotator
GitOrigin-RevId: 432bcb87b77fa55f1ccb26000d91ae021cebcc6b
2024-03-27 15:05:16 +00:00
Roman Golyshev d396a19918 KT-65652 [kotlin] Add extra checkCanceled calls to KtCompilerPluginsProviderIdeImpl
GitOrigin-RevId: 48e734fd9fceeff9cbf867d317f37e65da683c8e
2024-03-27 15:01:58 +00:00
Roman Golyshev bee3ec5298 KT-65652 [kotlin] Fix freeze in KtCompilerPluginsProviderIdeImpl
The freeze was caused by a big number of modules with compiler plugins.
For each of them, we inspected the jar corresponding to the compiler plugin,
and that is an IO operation that takes time.

Since we use a multithreaded resolve, it was possible for multiple
threads to come and try to initialize the cache in `KtCompilerPluginsProviderIdeImpl`,
but only one of them could actually make progress because of `SynchronizedClearableLazy`.

The fix has three parts:

Firstly, it turns out that, in most cases, all the modules
are actually referring to the same compiler plugin jars.

So, instead of doing N jar inspections to create the
classloader for the compiler plugins' registrars,
it's better to compute the unique jars first,
and only then do the jar inspection.

Secondly, we use a faster implementation of reading a file from
the compiler plugin jar. In my local benchmark, it is approximately
50-60% faster than the previous implementation.

Thirdly, we add `checkCanceled` check before calling IO-intensive
`findCorrespondingBundledPlugin`, so that even if this freeze happens
again, at least it is possible to cancel the thread which occupies
the lock in the `SynchronizedClearableLazy`

With those changes combined, this should bring the chances of
such a freeze in a real project to a minimum

GitOrigin-RevId: 0b6865da24204a4de26d4a081462b999221d033a
2024-03-27 15:01:58 +00:00
Sergey Pak 7467240058 IDEA-344654 New Import Settings: Add statistics - record external IDEs as well, rename categories to disabled categories.
GitOrigin-RevId: 82a60b25b73e008bc6ab466e9b5d1d5bfe99879c
2024-03-27 14:49:40 +00:00
Daniil Ovchinnikov 08e1c02c5f GTW-8236 getProductPluginContentModules: always look for <content> tags in PlatformLangPlugin.xml
GitOrigin-RevId: f3ed1355f5323ec36dce4a4ee19b92d09a49a1bd
2024-03-27 14:45:24 +00:00
Kate Botsman 3caa4aaa24 Postpone (invokeLater) stopProcess to allow myUpdateRunnableFuture to finish
`stopProcess` checks whether the future is finished before scheduling a new task to avoid many re-schedules.

However, in this case, the future will never be in finished state, because `stopProcess` is called from the inside of it.
So, the analyzer will never schedule a new task here.

To allow the future to finish before `stopProcess` is called, we can postpone its execution by using `invokeLater`. By the time `stopProcess` is executed, this future is going to finish, so the check can succeed.

Fixes rare issue in RDCT-933 when analyzer doesn't finish editor analysing.

GitOrigin-RevId: 5ecb914ce2b3c792988853955fcb9a03d6fc9129
2024-03-27 14:18:48 +00:00
Alexey Merkulov 6f9879332b [debugger] Redefine semantic of getters in SuspendContextImpl, so they prefer the active stack trace
The change was done for getFrameProxy, getThread, getLocation methods. Before they relay on the technical thread from the JVM suspend event. Now they will refer to the active stack (selected in the frames view). It should fix a lot of bugs about incorrect evaluation, stepping and so on.

IJ-CR-129700

GitOrigin-RevId: 2fab3728d7dba0b92b1b055c9d7cdace1e5ddea1
2024-03-27 14:16:20 +00:00
Alexey Merkulov 6a8741a991 [debugger] Minor IJ-MR-129983 fixes
GitOrigin-RevId: 2c9184caf508393271019dea64405ca4da368da5
2024-03-27 14:16:16 +00:00
aleksandrina-streltsova bd1855cfbd Safe-Push into master
GitOrigin-RevId: 7f29fc9c03dc1b0d85f7bf3c02b2772c2b6ae461
2024-03-27 14:08:06 +00:00
Aleksey Pivovarov 3488280088 improve ActionsWithInvalidTemplatePresentationTest
Catch potential 'Bugs & Fixes' escaping issues in bundled strings ('Bugs \\&\\& Fixes').

GitOrigin-RevId: 9c594089e89a7c484afcc7d1cd03d01eb0ea5906
2024-03-27 14:07:30 +00:00
Mikhail Mazurkevich bfe7a68bdb [workspace model] IJPL-844 WIP Comment WorkspaceEntityData.symbolicId usage from the code
GitOrigin-RevId: db7a02655873f0f8b6b0b1779e09e44c204a3524
2024-03-27 13:49:12 +00:00
Mikhail Mazurkevich eb0b39784d [workspace model] IJPL-844 Remove WorkspaceEntityData.symbolicId usage from the code
GitOrigin-RevId: 6890e2cbaf8cd93b164e4bbbedb95e96f392a254
2024-03-27 13:49:09 +00:00
Arkady.Bazhanov d15d074bc9 KTNB-628 Add "Create Gist" action to the toolbar of Kotlin Notebooks
GitOrigin-RevId: eedc263675c19eaf7f7dc8c98d14a9c9bf3395fb
2024-03-27 13:37:06 +00:00
Petr 3a8596a0e3 PY-38928 Parentheses around unpacking for "for" loop target variables break type inference
GitOrigin-RevId: 9debb720880dd77b47c325e426e2d76c74135192
2024-03-27 13:36:38 +00:00
Alex Plate 0173303e0b [Workspace Model] [IJPL-857] Unbind WorkspaceEntityBase from ModifiableWorkspaceEntityBase
GitOrigin-RevId: 52a73086474ca18d8e3d4e2e8030012d8544bff4
2024-03-27 13:29:17 +00:00
Ekaterina Berezhko ceba3d6cfc [Grazie][IDEA-338175] Suppress LanguageTool's unpaired parenthesis warnings on number ranges with semicolon
GitOrigin-RevId: b4f7de62a53aff2518dae38585c400ccf2a45193
2024-03-27 12:24:26 +00:00
Ekaterina Berezhko e7ff7917be [Grazie][IDEA-348175] Show all corrections in rules examples
GitOrigin-RevId: 6a24c6602471dc9f68abead39a91bd67bcd3aeec
2024-03-27 12:22:51 +00:00
Andrey Lisin 6af917033a Minor: reduce visibility for Python debugger service environment variable names
GitOrigin-RevId: dcdc003d043fc177a9f9190387abc0242c19f2bf
2024-03-27 12:05:56 +00:00
Andrey Lisin 18529bef9b PY-71546 Add registry flag for enabling debugger diagnostic prints
GitOrigin-RevId: 27347f89d702def97c95a1c6c782a63f66351a2d
2024-03-27 12:05:53 +00:00
aleksandrina-streltsova 09b8529fe2 [kotlin] Update bundled compiler version to 2.0.20-dev-7
GitOrigin-RevId: f527379299d1140bed95248c38d01851488cf867
2024-03-27 13:53:29 +02:00
Alex Plate c21fc55eb5 [Workspace Model] [IJPL-857] Create a separate method for serialization of the facet builder
This additional method should fix the performance degradation.
This method can be removed after the review IJPL-862

GitOrigin-RevId: 3e12b3b0cdf719732675b5ce0007f29850e87fcb
2024-03-27 11:34:23 +00:00
Roman Shevchenko 47ee715d64 [platform] bumping restarter helper version (IDEA-344529)
GitOrigin-RevId: 5e4fa7f36f1ec5713af508182ed9a80b6dfd73a2
2024-03-27 11:30:47 +00:00
Roman Shevchenko 53490804cd [test framework] using more predictable timer in TestTimeOut
GitOrigin-RevId: e2289c27ac09d33261d98799f9bbc61887cbaff2
2024-03-27 11:30:47 +00:00
Roman Shevchenko 504036d06b [tests] kick-starting event queue in IdeEventQueueTest#testPumpEventsForHierarchyMustExitOnIsFutureDoneCondition (IDEA-350123)
GitOrigin-RevId: 9d9f58220c67d32dfa9641990a80925f87857d24
2024-03-27 11:30:46 +00:00
aleksandrina-streltsova d8f174dded Merge branch 'kt-master'
GitOrigin-RevId: 81b3f0a9962a2e721de041e545a22730cd929f56
2024-03-27 12:42:03 +02:00
Vladimir Krivosheev bed57bbd7c IJPL-866 load maven libs in parallel
GitOrigin-RevId: c825967f1444a6756f7f6302dd057e82af5693b7
2024-03-27 09:35:55 +00:00
Vladimir Krivosheev bfcd794829 cleanup - sort modifiers
GitOrigin-RevId: 5e7780dac2f49db055d21f7412c573f6e12fb6d6
2024-03-27 09:35:52 +00:00
Vladimir Krivosheev 60325012a0 IJPL-866 cleanup
GitOrigin-RevId: 84b36e2ddd4e9504f5655bae6f40cbacbee47e0a
2024-03-27 09:35:48 +00:00
Vladimir Krivosheev 5063cd0284 IJPL-866 refactor - extract readSubModuleExternal and inline it (it makes clear that pathResolver and dataLoader are not required to read module)
GitOrigin-RevId: f7399a0780c08e73e6d053da13d32e616d907fb4
2024-03-27 09:35:45 +00:00
Vladimir Krivosheev 710fbe6476 IJPL-866 cleanup
GitOrigin-RevId: ff98899ebb964b2e8a4bd87989434452e4f18dc5
2024-03-27 09:35:41 +00:00
Sergey Pak 4e4db04795 IDEA-344654 New Import Settings: Add statistics - fixes after review and testing
GitOrigin-RevId: 1af1eaaa246309197d0870b336a9596e497c7183
2024-03-27 02:08:42 +00:00
Daniil Ovchinnikov bbe133d5df IJPL-797 intellij.platform.util.zip: dump API
GitOrigin-RevId: 1e6f1df581162ed5ef3adda5cb0d192d2663a8da
2024-03-27 00:34:34 +00:00
Daniil Ovchinnikov 07a0e5218e IJPL-797 intellij.platform.util.classLoader: dump API
GitOrigin-RevId: d98dad72b954be0b8f6a98d9c9a910077e410edd
2024-03-27 00:34:31 +00:00
Daniil Ovchinnikov a8186c2fe3 IJPL-797 intellij.platform.util.xmlDom: dump API
GitOrigin-RevId: 5fa49cd5c5c201f83d5e295a9bfd0b51ff99d71b
2024-03-27 00:34:28 +00:00
Daniil Ovchinnikov 6074616b30 IJPL-797 intellij.platform.util.jdom: dump API
GitOrigin-RevId: edb2ffcb82a7e76820e2e368b2ea206451cd817e
2024-03-27 00:34:24 +00:00