Commit Graph
100 Commits
Author SHA1 Message Date
Alex Plate 722cffbd48 [RIDER-85968] Do not format inserted code for CLion Nova
CLion Nova gets the  same problem with formatting as Rider has
2024-01-22 10:20:07 +04:00
Alex Plate a787befd72 Add special esc processor for CLion Nova
CLion Nova has a similar architecture like Rider. So, it got the same problem like Rider has with the esc after adding the octopus handler.
2024-01-22 09:51:31 +04:00
Alex Plate 8ddd71a65a Switch all releases to 2023.3.2 2024-01-18 10:03:07 +04:00
Alex Plate df72b24ad2 Wait smart mode before starting to create files 2024-01-09 17:34:03 +02:00
Alex Plate 26bdd15400 Do not try to turn off IdeaVim dialog as we don't show it anymore in UI tests 2024-01-08 18:52:09 +02:00
Alex Plate e13310b4e0 Get rid of typing the action name 2024-01-08 18:51:30 +02:00
Alex Plate e9d4218705 Try another way to search for the action 2024-01-08 17:13:31 +02:00
Alex Plate 56b80e4e60 Fix UI test with action search 2024-01-08 15:23:12 +02:00
Alex Plate 679f6471e6 Wait longer for the track action id action 2024-01-05 20:16:13 +02:00
Alex Plate 984179695c Explicitly specify the save version of action cache
GitHub shows a security notification about this dependency. It's also said that setting a v2 version is enough, however the notification still persists, so let's specify the full version
2024-01-05 20:08:37 +02:00
Alex Plate 5cca484a82 Do not use sample code for this case 2024-01-05 19:51:18 +02:00
Alex Plate d91e2296b0 Fix incorrect version of the dependency 2024-01-05 19:37:54 +02:00
Alex Plate 59768c16e2 Wait for track action id test to appear in search results 2024-01-05 19:36:03 +02:00
Alex Plate 580efeae1a Update version of the robot 2024-01-05 19:35:47 +02:00
Alex Plate 0a3b508c8a Update versions of actions for ui tests 2024-01-05 19:19:55 +02:00
Alex Plate 5e2f590b76 Try to use gradle-build-action in UI tests 2024-01-05 19:00:36 +02:00
Alex Plate ee94396afa Double escape to exit multicaret is required 2024-01-05 18:53:22 +02:00
Alex Plate 98764b6356 Change the set up of sandbox idea 2024-01-05 18:37:34 +02:00
Alex Plate f01cc4d0d0 Add UI test for enter in insert and select modes 2024-01-05 18:31:02 +02:00
Alex Plate 4c0f17429b Get rid of function and clean up UI test 2024-01-05 18:15:16 +02:00
Alex Plate 6a2ae1c572 Increase the expand timeout for the tree. For some reason it doesn't open quickly during tests on GH 2024-01-05 18:10:53 +02:00
Alex Plate a2681ce6cc Add UI test for multicaret enter
For ticket VIM-3186
2024-01-05 18:01:23 +02:00
Alex Plate 4e43606932 GH actions: always store the execution of the test 2024-01-05 17:44:44 +02:00
Alex Plate 28c0c3207a Add UI test for mappings on A-Enter and C-Enter
For ticket VIM-3190
2024-01-05 17:40:40 +02:00
Alex Plate ecfa0e2b49 Fix incorrect reference for the test 2024-01-05 17:24:20 +02:00
Alex Plate ec3122f320 Upload the logs of the sandbox 2024-01-05 17:21:19 +02:00
Alex Plate 7e4b4c973c Add UI tests for adding new line above and below via action in normal mode
For ticket VIM-3190
2024-01-05 17:05:07 +02:00
Alex Plate 64753df2dd Always store the execution of the test 2024-01-05 16:41:22 +02:00
Alex Plate 75b36ab886 Do not show tips on startup for UI tests 2024-01-05 16:34:50 +02:00
Alex Plate 208a78c748 Get rid of testing error 2024-01-05 16:34:24 +02:00
Alex Plate 027249c575 Incorrect import was used for video 2024-01-05 16:15:00 +02:00
Alex Plate 5ceb960205 Use junit 5 version of video-recorder 2024-01-05 15:56:07 +02:00
Alex Plate 1cea156c5a Try to update the ffmpeg downloader 2024-01-05 15:41:53 +02:00
Alex Plate e1efa1ecbc Update copyright template 2024-01-05 15:41:53 +02:00
Alex Plate b307c7d88b [VIM-2929]: Reset the key stack in case of exception during the execution 2024-01-02 13:57:12 +02:00
Alex Plate 47d4445fa8 Check the key stack at the end of every test 2024-01-02 13:57:12 +02:00
Alex Plate 7098d2633a Add a helper function to key keystokes from string 2024-01-02 13:57:12 +02:00
Alex Plate e36131b38b [VIM-2929]: Adding logging for tracing the keyStack 2023-12-28 11:24:13 +02:00
Alex Plate b67868afde Extract the companion object into the top level
As the inspection says, due to eager companion object initialization, it's better to keep such things on the top level
2023-12-28 10:03:50 +02:00
Alex Plate 328fdee281 Add comment about autocompletion in macros 2023-12-22 10:55:16 +02:00
Alex Plate 58b97e6361 Get back to regular agents 2023-12-19 10:45:40 +02:00
Alex Plate 8bc2032b07 Do not override all artifact rules 2023-12-19 10:44:49 +02:00
Alex Plate 40d4354dfc Avoid issue with blocked execution due to starting a coroutine in ProjectActivity 2023-12-19 10:30:14 +02:00
Alex Plate 27f2f5bb2b Migrate KeymapChecker to ProjectActivity 2023-12-19 10:08:01 +02:00
Alex Plate 490b934269 Turn on leaks check on local development 2023-12-19 10:00:10 +02:00
Alex Plate e2e2b4d176 Proper tear down with tests with mock 2023-12-19 09:59:54 +02:00
Alex Plate 7a1763bbee Dispose carets of custom editor in test 2023-12-19 02:21:34 +02:00
Alex Plate ca8904b6bb Refactor common extension tests in order to avoid double remove of extension.
Firstly extension is removed in tearDown, then as disposable of VimPlugin.getInstance()
2023-12-19 02:21:18 +02:00
Alex Plate 6384b28689 Refactor listeners to avoid manual unregister
However, manual removal of listeners may cause "double" remove in cause the user turns off the plugin and then closes IDE: firstly listener is removed manually, and then by dispose call
2023-12-19 01:44:57 +02:00
Alex Plate e661466558 Small refactorings on IdeaSelectionControl
They are done because if we don't set timer to null after tests, we have a leaked project
2023-12-19 00:12:54 +02:00
Alex Plate 8faf2beba4 Refactor IdeaRefactorModeHelper for splitting logic into change calculation and change apply 2023-12-19 00:12:54 +02:00
Alex Plate fb29319ec6 Add VimPlugin.isNotEnabled function to simplify a lot of checks for !isEnabled() 2023-12-19 00:12:54 +02:00
Alex Plate 7779d7d193 This Easter egg caused a bug that a disposable balloon was leaked.
As smart people suggest, it's better not to have easter eggs at all.
2023-12-19 00:12:54 +02:00
Alex Plate 2c5246b62f Avoid project leak via KeyEvent 2023-12-19 00:12:53 +02:00
Alex Plate e43a3f4518 Avoid disposable leak because of widget
With the call that was removed, we initialized the widget too early, and the widget wasn't properly registered as disposable. This caused disposable leak.
Also, there is no understanding why this code was used to update the widget. The call for ShowCmd.update seems enough
2023-12-19 00:12:53 +02:00
Alex Plate b5716f7a6d Fix incorrect error handling
Since TestLoggerAssertionError is not available in production, we can't catch this exception in production code
2023-12-19 00:12:53 +02:00
Alex Plate fac5a3cc6f Remove XYZ testing configuration 2023-12-19 00:12:53 +02:00
Alex Plate 671793078a Revert "Downgrade version of IJ plugin"
This reverts commit 258203f400.
2023-12-19 00:12:53 +02:00
Alex Plate 4f5ea1696f Revert "Add back-to-232 branch"
This reverts commit 20832f11b6.
2023-12-19 00:12:53 +02:00
Alex Plate b3e47e3bac Revert "Disable some tests"
This reverts commit 95838d045d.
2023-12-19 00:12:52 +02:00
Alex Plate 7fb6f4b47f Revert "Refactor key cache"
This reverts commit e159866d3b.
2023-12-15 18:49:18 +02:00
Alex Plate df3b435a1f Revert "Clean swing timer"
This reverts commit 5b65f1b544.
2023-12-15 18:49:18 +02:00
Alex Plate 5b65f1b544 Clean swing timer 2023-12-15 18:43:49 +02:00
Alex Plate e159866d3b Refactor key cache 2023-12-15 18:40:04 +02:00
Alex Plate aa0ce71612 Temporally switch to larger agents 2023-12-15 18:24:31 +02:00
Alex Plate 522e547f99 Clean up patch 2023-12-15 17:45:01 +02:00
Alex Plate 9430341d4e Add artifact rules for all builds 2023-12-15 17:42:08 +02:00
Alex Plate 95838d045d Disable some tests 2023-12-15 17:17:01 +02:00
Alex Plate 20832f11b6 Add back-to-232 branch 2023-12-15 17:01:08 +02:00
Alex Plate 258203f400 Downgrade version of IJ plugin 2023-12-15 16:52:59 +02:00
Alex Plate 3b1768fa4e Update new build configuration name 2023-12-15 16:41:48 +02:00
Alex Plate 23a3085bad Add xyz branch for testing 2023-12-15 16:34:38 +02:00
Alex Plate 78c12e0ea6 Switch to stable version of IDEA 2023-12-15 16:34:38 +02:00
Alex Plate 997cb85663 Do not log LOG.error during test execution 2023-12-15 16:34:37 +02:00
aleksei.plate@jetbrains.comandteamcity 968d5eabfa TeamCity change in 'Ideavim' project: general settings of 'Tests for IntelliJ Latest EAP' build configuration were updated 2023-12-15 14:26:47 +00:00
aleksei.plate@jetbrains.comandteamcity 590ce1f7ed TeamCity change in 'Ideavim' project: runners of 'Tests for IntelliJ Latest EAP' build configuration were updated 2023-12-15 14:19:03 +00:00
aleksei.plate@jetbrains.comandteamcity 416a8838e4 TeamCity change in 'Ideavim' project: runners of 'Tests for IntelliJ Latest EAP' build configuration were updated 2023-12-15 14:16:39 +00:00
aleksei.plate@jetbrains.comandteamcity f6c349ac31 TeamCity change in 'Ideavim' project: runners of 'Tests for IntelliJ Latest EAP' build configuration were updated 2023-12-15 14:15:47 +00:00
Alex Plate 517c6b40b5 Fix issue with disposed editor
If we process a focus change event, there is a chance that the editor is already disposed
2023-12-15 14:51:27 +02:00
Alex Plate 1fa78935a6 Factor disposable objects on editor opening 2023-12-15 14:28:18 +02:00
Alex Plate 4ddcd56740 Fix(VIM-3085): Open access to VimTypedActionHandler and VimShortcutKeyAction 2023-12-15 12:46:35 +02:00
aleksei.plate@jetbrains.comandteamcity e5a2f33584 TeamCity change in 'Ideavim' project: general settings of 'Tests for IntelliJ Latest EAP' build configuration were updated 2023-12-08 16:58:34 +00:00
aleksei.plate@jetbrains.comandteamcity c17cf3256a TeamCity change in 'Ideavim' project: project settings were updated 2023-12-08 16:50:30 +00:00
aleksei.plate@jetbrains.comandteamcity 5415bda02d TeamCity change in 'Ideavim' project: general settings of 'Tests for IntelliJ Latest EAP' build configuration were updated 2023-12-08 16:45:24 +00:00
Alex Plate 07cbaeb7aa Add 2023.3 test on TeamCity dashboard 2023-12-08 18:23:23 +02:00
Alex Plate 9d5aa83786 Add info that ideamarks works with global marks only 2023-12-01 15:26:56 +02:00
Alex Plate 463164cb88 [VIM-3214] Add information that ideajoin is not supported everywhere 2023-12-01 14:13:30 +02:00
Alex Plate 4809742088 Do not run tests for esc iin neovim 2023-12-01 12:13:44 +02:00
Alex Plate 9cf0e285b4 Revert "TeamCity change in 'Ideavim / IdeaVim releases' project: runners of 'Publish Dev Build' build configuration were updated"
This reverts commit b35b51c203.
2023-12-01 11:51:19 +02:00
Alex Plate a6ca6f1cf9 Revert "TeamCity change in 'Ideavim / IdeaVim releases' project: runners of 'Publish Dev Build' build configuration were updated"
This reverts commit bd7479e1c0.
2023-12-01 11:51:18 +02:00
aleksei.plate@jetbrains.comandteamcity bd7479e1c0 TeamCity change in 'Ideavim / IdeaVim releases' project: runners of 'Publish Dev Build' build configuration were updated 2023-12-01 09:50:48 +00:00
aleksei.plate@jetbrains.comandteamcity b35b51c203 TeamCity change in 'Ideavim / IdeaVim releases' project: runners of 'Publish Dev Build' build configuration were updated 2023-12-01 09:50:17 +00:00
Alex Plate 5652774888 Exclude kotlin stdlib from the distribution 2023-12-01 11:19:18 +02:00
Alex Plate 836e9a2fbc The dev version of IdeaVim should calculate the version based on a previous non-patched release version
As the patch versions are placed not in the master branch, we should calculate the diff between releases only for releases that are located in master branch
2023-12-01 10:53:01 +02:00
Alex Plate 336efa1e8b Add some tests for one time mode 2023-11-24 17:49:04 +02:00
Alex Plate 568d5ca4ff Fix(VIM-3090): Cmd line mode saves the visual mode
Previously, cmd line mode always returned to normal mode. However, it should keep the visual or one-time modes
2023-11-24 17:42:33 +02:00
Alex Plate a9991f2a50 Convert ProcessGroup to kotlin 2023-11-24 17:00:06 +02:00
Alex Plate 1c8096444a Rename .java to .kt 2023-11-24 17:00:05 +02:00
Alex Plate ed1f3cec59 Make sure the injector is initialized in VimShortcutKeyAction 2023-11-23 16:19:13 +02:00
Alex Plate c29a409f28 Log other actions assigned to the escape and enter actions 2023-11-23 15:07:01 +02:00