Commit Graph
5765 Commits
Author SHA1 Message Date
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 5cca484a82 Do not use sample code for this case 2024-01-05 19:51:18 +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 ee94396afa Double escape to exit multicaret is required 2024-01-05 18:53:22 +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 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 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 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
Matt Ellis 3ad0519add Extract initialisation strategies to new class 2024-01-04 15:58:36 +02:00
Matt Ellis 95a2354a86 Fix issue where global value wasn't properly set 2024-01-04 15:58:36 +02:00
Matt Ellis 1c17411f04 Add test for changing number global-local options
The local value is not unset, but set to a copy of the new value, so we need to make sure that we notify editors that are not "unset"
2024-01-04 15:58:36 +02:00
Filipp Vakhitov 2d74f121aa Set min width for widget 2024-01-04 10:45:59 +02:00
Filipp Vakhitov 7fde66eb40 Better color 2024-01-03 12:15:31 +02:00
Filipp Vakhitov b3cea3997d Safer changes to VimPlugin
(avoid changes to old code that worked)
2024-01-03 12:15:31 +02:00
Filipp Vakhitov 2f20193086 Post-review improvements 2024-01-03 12:15:31 +02:00
filipp 601e207f04 Remove comment 2024-01-03 12:15:31 +02:00
filipp f0d3d8b276 Add colors to showmode widget 2024-01-03 12:15:31 +02:00
Filipp Vakhitov e02d34f023 Better ShowMode widget & Macro recording widget 2024-01-03 12:15:31 +02:00
Filipp Vakhitov 0504be84b6 Add base implementation of showmode widget 2024-01-03 12:15:31 +02:00
filipp 216f020b70 Add new listeners 2024-01-03 12:15:31 +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 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
Matt Ellis 8ab43e98fe Remove unnecessary keeping visual mode flag
The value was only ever set to false.
2023-12-22 10:55:00 +02:00
Matt Ellis 5f3fddd3e4 Remove unnecessary post process method
We no longer need to post process the selection because it is up to the operator implementation to end in the correct mode
2023-12-22 10:55:00 +02:00
Matt Ellis 6c9930ac2a Removes unnecessary 'exit visual' command flag
This flag is only used to modify the behaviour of visual operators, but all visual operators have the flag, which means it's unnecessary. The only behaviour for visual operators now is to exit visual mode.

Note that visual motions are implemented separately, and handle their own visual mode requirements (e.g. MotionArrowLeftAction).
2023-12-22 10:55:00 +02:00
chylex 673222da6c Prevent code completion popup from appearing after running a macro 2023-12-22 09:32:33 +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 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