Commit Graph

709 Commits

Author SHA1 Message Date
vladislav.shishov
5aa5fc8953 [remote-driver] JTreeTextFixture : threading issue
GitOrigin-RevId: 556d6e3fca4685d21553131a795950e07a742564
2024-09-09 10:33:06 +00:00
roman.ivanitskii
709de794a2 [performance-tests] Rename InlineCompletionCommand to SetupInlineCompletionListener
GitOrigin-RevId: 81ecfbebac286bfe6ab9b146773ed284524533ca
2024-09-08 17:41:56 +00:00
Maxim.Kolmakov
1d1d3d2238 Remove the doHighlight command and its corresponding tests.
The initial purpose of doHighlight was to measure the time it takes to apply different text attributes (color, style, etc.) to tokens. However, there hasn't been (and still isn't) a generic way to achieve this effectively.

Currently, this command triggers HighlightVisitorBasedInspection, which is essentially a "mock" inspection used in Global Analysis tools (such as inspect.sh, Qodana, etc.). This inspection combines three functionalities—syntax error, annotator, and generic error—into one. As a result, the highlighting produced by this command is a very rough estimation, if not just random values.

Highlighting in general is handled by the editor, which leverages information from the parser, annotators, additional passes, and specific inspections (e.g., dead code, which has a unique severity that makes the code appear grey). At this point, we do not have a clear way to make doHighlight work correctly, nor are we certain it's needed at all.

GitOrigin-RevId: 8c821f456e867395bb6de55a142a000cfc3a50a9
2024-09-08 01:32:00 +00:00
Maxim.Kolmakov
7ced30d45f [ui-tests] Add new method to click on the JTree row with a shift
GitOrigin-RevId: 05560ef8c36594f4198d4e52096933db3e46a7b3
2024-09-08 01:32:00 +00:00
vladislav.shishov
fc7f21fa45 [remote-driver] add SearchEveryWhereUiTest#testTabsNavigation
GitOrigin-RevId: 3191b873114a997cad4505469535d6491949ed5d
2024-09-07 10:02:59 +00:00
vladislav.shishov
02360cf0c0 [remote-driver] replace all implementations of TextCellReader's with TextCellRendererReader
GitOrigin-RevId: 538e3ce645fcf09b6e34123612e631f93f38dcb1
2024-09-07 10:02:58 +00:00
roman.ivanitskii
c713fdf22f [performanceTesting] Add setupInlineCompletionListener method
GitOrigin-RevId: a9c602208892b1ce632cfdc6420e56d1a5c1a089
2024-09-05 16:32:18 +00:00
roman.ivanitskii
4cc0a4820f [performance-tests] Add inline completion performance command
GitOrigin-RevId: 557356caaeca5f8d27252e464159acb084e9f9f1
2024-09-04 18:47:11 +00:00
Daniil Ovchinnikov
36b34c4e18 extract intellij.platform.ui.jcef module
GitOrigin-RevId: 560932e829c0bbf85d51b22a80963a978cf89553
2024-09-03 17:43:45 +00:00
Elena Shaverdova
3a2a6caf80 Time from the very start till popup disposal for IJPL-55674 Performance metrics: Search Everywhere opening
GitOrigin-RevId: b1aa6bdbc21c8979b2e126438aa5b0525f3476bd
2024-09-02 23:37:58 +00:00
Anna Koehler
a1225217ab Fix the case when we type and wait fo finished code analysis and a popup with auto-completion appears in the end of typing. Completion popup prevents code analysis to be finished
GitOrigin-RevId: 03d58e0ec70a64b20af34745f2e957f3121e27aa
2024-08-29 19:38:52 +00:00
Elena Shaverdova
f4ebbc6873 Initial test for searchEverywhere FUS event for IDEA Ultimate
GitOrigin-RevId: 4da8e15c7b4e5313dc91e5ecbd38943902ef458f
2024-08-29 16:55:44 +00:00
Maxim.Kolmakov
6389d2d936 [performanceTesting] Don't wait till subscription to EventBus is finished on project initialization
Otherwise, project initialization might take up to 2 minutes and test will fail with timeout

GitOrigin-RevId: 32d0520f483801baadecee486826f41125464c4e
2024-08-29 14:49:24 +00:00
Nikita Barkov
76c0874bec [perf_tests]Fixed goToElement method
GitOrigin-RevId: 0f5a14b8785119842e420a842820d6f79b6dcb77
2024-08-27 08:56:39 +00:00
Nikita Barkov
4e03e40d27 [perf_tests]Fixed discussions in EventsFlowService
GitOrigin-RevId: 83d16a1079511ecc65ed7dd2051203cfc9b9acfc
2024-08-26 21:16:09 +00:00
Nikita Barkov
ea9d95de6d [perf_tests]Fixed discussions in GitRollback and HandleSpan commands
GitOrigin-RevId: 8e2c708128c44daa5f62550393f6037bdeea8a84
2024-08-26 21:16:09 +00:00
Nikita Barkov
d76d833345 [perf_tests]AT-797. Implemented FindUsagesInBackgroundCommand
GitOrigin-RevId: db58fd4e0a411af7d328c73d85d2e8cbf3f3cafd
2024-08-26 16:32:47 +00:00
Henry Wylde
b68794b5d0 [performanceTesting] ensure that only one branch of find usages can get hit, otherwise spanRef/scopeRef will be clobbered
GitOrigin-RevId: 8d04a50272321da3262a1b97813fa4a5514ec20c
2024-08-26 03:42:25 +00:00
Alexandr Evstigneev
5bd62056ff RUBY-32703 Implemented ShowUsageCommand for the split mode
Monolithic command FindUsagesCommand should probably be renamed to the show usages command and decoupled from find usages logic. Those are two different actions doing different stuff. See: IJ-CR-140853

IJ-CR-143214

GitOrigin-RevId: 6954870718e9f5494e1d40fa0f702de1c21af757
2024-08-24 10:53:21 +00:00
Gregory.Shrago
6ce584c023 make AnActionEvent methods final
GitOrigin-RevId: 6aa1f7ff172307ac0e504b180daff48b72938fa1
2024-08-23 09:56:07 +00:00
Gregory.Shrago
f678ef232d introduce ActionUiKind: cleanup
GitOrigin-RevId: 3064d1b5f9cdd83c3b9d0b22d0dd489d0213fba9
2024-08-22 17:24:58 +00:00
Vladimir Krivosheev
3b3ae1c0b5 IJPL-159596 disable sorting - we must produce distribution order entries in a stable manner without sorting
GitOrigin-RevId: 1bf3a1f18ba5b2d6d5bc4f9c44f8208f86c8baa2
2024-08-22 10:33:53 +00:00
Yuriy Artamonov
68b21a7c87 [fus] IJPL-160498 FeatureUsageLogger: static init depends on application services
GitOrigin-RevId: 700e4f83c92cebe5eb7a774984e002b9509d3573
2024-08-19 13:48:50 +00:00
Elena Shaverdova
aa3924dc95 Re-enable new waiting for highlight by default in OpenFileCommand (AT-711)
GitOrigin-RevId: 04a31b7e1568299ad4a71d1ddca64a9372b7a0f0
2024-08-16 17:28:03 +00:00
Elena Shaverdova
f863ff38da Fix writing OTel scope for waiting for highlighting with waitAnalysisToFinish in OpenFileCommand (AT-711)
GitOrigin-RevId: c05a7a9d92c8c3d109fbab597de06a622a8473a4
2024-08-16 17:28:03 +00:00
Alexey Kryuchkov
3dafe4acab Logging for stop/cancellation editors in WaitForFinishedCodeAnalysis
GitOrigin-RevId: 56806d961d6a2785ed3fa1bdf32a8aa7e598b680
2024-08-15 13:00:30 +00:00
Elena Shaverdova
8584d5dafd Temporal revert due to new code breaking span to report to IJ-Perf (AT-711)
GitOrigin-RevId: aebfd6fbb946e1b5b8983963e9175b06cd250f86
2024-08-15 11:25:37 +00:00
Ruslan Cheremin
b48bf9d2e8 [tests] added readAction{} around more calls in FindUsagesCommand
GitOrigin-RevId: 588a91633b7012490f4ebc2f9498b37a2a80642d
2024-08-14 19:04:04 +00:00
Lev Serebryakov
d232433195 IJPL-149317 More additional explicit locks.
GitOrigin-RevId: f7550f391cc9bc8b4e4275e7f23ff185b0922f26
2024-08-14 18:12:56 +00:00
Lev Serebryakov
6a5f441cb7 IJPL-149317 Fix places found by IDEA usage.
GitOrigin-RevId: 0c4587ac604eab9828467705dc9b95a120002da2
2024-08-14 13:37:23 +00:00
Vladimir Krivosheev
86b23d40f1 IJPL-197 introduce core-only or allowlist-only ApplicationActivity
GitOrigin-RevId: cb3631d0748100134dc8a6021dac1a2f57859121
2024-08-14 13:08:53 +00:00
Nikita Barkov
0ccfb8e55f [perf_tests]Added some logs
GitOrigin-RevId: 3a6a4c38b0efbd1ec9eed26eb8dd09bdf47952b0
2024-08-14 01:00:33 +00:00
Lev Serebryakov
0a276bd229 IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
More fixes found by users.

GitOrigin-RevId: 21e24dca8efaffc6efff7721aea11855dcfb6376
2024-08-14 00:51:14 +00:00
Lev Serebryakov
22b79b4cc4 IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in Performance testing community plugin.

GitOrigin-RevId: caa5abbc927ed464a3728b26111b5c99294bda9f
2024-08-13 17:24:47 +00:00
Nikita Barkov
97034d5d2e [perf_tests] Event bus. use coroutines instead of CompletableFeatures. Implemented UnsubscribeAllTest
GitOrigin-RevId: 8e08620e907368501e16c60ff7bb5ed9738b1545
2024-08-13 12:54:43 +00:00
Elena Shaverdova
398cab4aab AT-1121 Track files-to-be-highlighted based on file, not FileEditor
GitOrigin-RevId: e8df7f77da1964412a74e0d9adf1eeaa1e6fcf53
2024-08-11 21:56:48 +00:00
Elena Shaverdova
085030b780 Enable the new implementation by default AT-711 Use waitForCodeAnalysisFinished() in OpenFileCommand
GitOrigin-RevId: c7a375d360c41e24e9e8c2bfd0de0427543fc404
2024-08-11 21:56:48 +00:00
vladislav.shishov
e1fd493778 [remote-driver] SmoothRobot : click on a component point with retries
GitOrigin-RevId: c5b78cae59fb115144dc456f49b203594cd2201d
2024-08-09 20:43:50 +00:00
roman.ivanitskii
e5407c859d [ide-testing] Rename 'script-errors' to 'errors'
Changed directory name from 'script-errors' to 'errors' across multiple modules. This standardizes error directories' names and improves consistency.

GitOrigin-RevId: 222674fac4f850066abf0ab4d3fcddccd0e20ed6
2024-08-09 20:17:34 +00:00
Elena Shaverdova
36b77d69ab Five minutes for highlighting is long enough, and timeout is a great way to catch eternal highlighting
GitOrigin-RevId: 529765e27c6204ce5eb0770f1cc5363137fa9d84
2024-08-09 17:45:58 +00:00
vladislav.shishov
cb027863b0 [remote-driver] update MainToolbarUiTest
GitOrigin-RevId: 2a02a7b7950e363b5927adc4a3887bbc88ee4a98
2024-08-08 21:11:27 +00:00
Elena Shaverdova
ed33312845 Implement an option for OpenFileCommand to wait for highlighting with WaitForFinishedCodeAnalysis code (AT-711)
GitOrigin-RevId: 1270eeeb0bf9b9941938e021d1e2f37e173ac984
2024-08-06 13:15:12 +00:00
Elena Shaverdova
1c7141ebb8 WaitForFinishedCodeAnalysis: better naming and logging
Distinguish cases when the daemon stopped(possibly cancelled) and when analysis was fully done and finished

GitOrigin-RevId: 9e92e4c69d9d6f10e03a3b796f87239b2d6f4540
2024-08-06 13:15:12 +00:00
Elena Shaverdova
d880dca51e WaitForFinishedCodeAnalysis: move waiting for project initialization inside waitAnalysisToFinish()
GitOrigin-RevId: 3ca81d9f2313e1d46dcbdbbaa1feeff556848ed2
2024-08-06 13:15:12 +00:00
Elena Shaverdova
9df337885a WaitForFinishedCodeAnalysis: switch from Semaphore to CompletableFuture
GitOrigin-RevId: 968969731b29d00a298007f49e54fb2f14153a7c
2024-08-06 13:15:12 +00:00
Alexey Kryuchkov
55e8cdb17a WaitForFinishedCodeAnalysis::printCodeAnalyzerStatistic edt assert
GitOrigin-RevId: e8f97da09c56b840f6c52e7bd97bfafdf7752737
2024-08-06 00:02:41 +00:00
Alexander Karaev
43649b1be7 [performance-tests] Move GCCommand to base performance plugin
* This action is not kotlin-specific, we want to use it in CLion

GitOrigin-RevId: 926b471dcfa6e6298512bb21ccf31348314bdf14
2024-08-05 18:21:52 +00:00
Alexey Kryuchkov
1e9d8d1cfc AT-1085 Initial scenario for stress testing in GoLand
GitOrigin-RevId: 70b83486c027d53330448bfa2bf8db80798b878c
2024-08-05 01:14:01 +00:00
Alexey Kryuchkov
53ff8d82e0 WaitForFinishedCodeAnalysis traceId for logging stopping events
GitOrigin-RevId: b50c2c39317e0386df5a993c4841d9b0000677c2
2024-08-02 18:10:37 +00:00
Nikita Barkov
9ea659bc92 [perf_tests]Implemented GitRollbackCommand and HandleSpanCommand
GitOrigin-RevId: defcfa797d687b51efb71bcf809e654ede363436
2024-08-02 17:50:43 +00:00