Commit Graph
5146 Commits
Author SHA1 Message Date
chylex 9eccf626db Make g0/g^/g$ work with soft wraps 2025-06-10 02:58:15 +02:00
chylex c7a8f6b4aa Make search highlights temporary 2025-06-10 01:43:13 +02:00
chylex f680f0b2cd Exit insert mode after refactoring 2025-06-10 01:43:13 +02:00
chylex 10131a8d57 Add action to run last macro in all opened files 2025-06-10 01:43:13 +02:00
chylex 41e4adbd6a Revert per-caret registers 2025-06-10 01:43:11 +02:00
chylex 191bf9967e Apply scrolloff after executing native IDEA actions 2025-06-10 01:42:50 +02:00
chylex ed84d20d4a Stay on same line after reindenting 2025-06-10 01:42:50 +02:00
chylex 28b511131b Automatically add unambiguous imports after running a macro 2025-06-10 01:42:50 +02:00
chylex cc2a8d25e2 Fix(VIM-3179): Respect virtual space below editor (imperfectly) 2025-06-10 01:42:50 +02:00
chylex fb9f83821b Fix(VIM-3178): Workaround to support "Jump to Source" action mapping 2025-06-10 01:42:50 +02:00
chylex fcb9fd8169 Add support for count for visual and line motion surround 2025-06-10 01:42:50 +02:00
chylex 8793889f05 Fix vim-surround not working with multiple cursors
Fixes multiple cursors with vim-surround commands `cs, ds, S` (but not `ys`).
2025-06-10 01:42:50 +02:00
chylex f294059e81 Fix(VIM-696) Restore visual mode after undo/redo, and disable incompatible actions 2025-06-10 01:42:50 +02:00
chylex 9b04739f15 Change matchit plugin to use HTML patterns in unrecognized files 2025-06-10 01:42:50 +02:00
chylex f68c56b968 Reset insert mode when switching active editor 2025-06-10 01:42:50 +02:00
chylex 0282d99692 Remove notifications about configuration options 2025-06-10 01:42:49 +02:00
chylex 03be3e1be2 Remove update checker 2025-06-10 01:42:49 +02:00
chylex 7c233f5e1a Set custom plugin version 2025-06-10 01:42:49 +02:00
Alex Plate 75cd79312c Which-Key plugin don't use VimShortcutKeyAction anymore, so we can hide it
The change was here: https://github.com/TheBlob42/idea-which-key/commit/2a1191a260244decc3091f675adf21c2a8950a20
2025-06-06 17:02:35 +03:00
Thomas CanavaandAlex Plãte b868e0cb81 test: Update tests to match new keys 2025-06-06 15:34:44 +03:00
Thomas CanavaandAlex Plãte 30c972ee1e fix: Vim macro not working with arrows 2025-06-06 15:34:44 +03:00
chylexandAlex Plãte 761f6f5fb9 Implement pumvisible() function 2025-06-06 15:21:26 +03:00
Matt EllisandAlex Plãte 1e3738314a Add support for := to print line number
Fixes VIM-3921
2025-06-06 15:15:13 +03:00
Alex Plate 77a106f9c6 Throw ProcessCanceledException instead of silently ignoring it in VimTypedActionHandler
This is a requirement from the platform
2025-05-30 19:41:41 +03:00
Alex Plate 1f66bdf5ed Refactor tests in ChangeActionTest.kt for better readability by reformatting doTest calls and improving code style consistency. 2025-05-30 15:12:43 +03:00
Alex Plate b58c1a42d2 Remove unused mappingCompleted parameter from handleKey methods
This updates method signatures and removes the redundant parameter throughout the codebase. Adds a deprecated overload for backward compatibility.
2025-05-30 14:16:40 +03:00
Alex Plate 02fab15aa9 Add tests that verify the behaviour with oldundo flag 2025-05-28 16:45:06 +03:00
Alex Plate 6c9d85cce0 Add a big number of undo tests for macros
This is a part of work for VIM-3935. Since we'll have to change the `CommandProcessor` execution, this may affect the "undo" command behavior. To ensure the stability, we add undo tests before making a refactoring.
2025-05-28 12:40:56 +03:00
Alex Plate 360080e8c0 Enable some disabled tests 2025-05-28 12:14:08 +03:00
Alex Plate e41831798e Add a big number of undo tests for ex commands
This is a part of work for VIM-3935. Since we'll have to change the `CommandProcessor` execution, this may affect the "undo" command behavior. To ensure the stability, we add undo tests before making a refactoring.
2025-05-28 11:48:38 +03:00
Alex Plate c93c9e539c Add a big number of undo tests
This is a part of work for VIM-3935. Since we'll have to change the `CommandProcessor` execution, this may affect the "undo" command behavior. To ensure the stability, we add undo tests before making a refactoring.
2025-05-28 09:46:05 +03:00
Alex Plate 8c612afed6 VIM-3929: Re-enable IdeaVim in diff editors 2025-05-27 13:07:43 +03:00
Alex Plate 2c057e937a Fix(VIM-3929): IdeaVim is disabled in non-file based editors of IDE
This change should fix issues in Rider evaluate window and other places.

However, we may face small issues as IdeaVim will be disabled in more places than it used to be. However, this approach looks safer as before that we were disabling some random keys
2025-05-23 19:34:17 +03:00
Alex Plate 2548008116 Add missing switches to EDT during test 2025-05-23 17:14:26 +03:00
Alex Plate c43eb1212e Bring back CommandState to fix the compatibility with the external plugins 2025-05-23 16:53:01 +03:00
Alex Plate 4c11399b43 Bring the compatibility with the latest EAP version
Removed a single test on JSON. There are always problems with the json plugin in IJ. In 2025.2 EAP it was unbundled.
2025-05-23 16:48:37 +03:00
Alex Plate 18f3ba6fe1 Rethrow ProcessCancelledException 2025-05-23 16:22:04 +03:00
Alex Plate d3f248d2f9 Refactor reset to avoid service initialization during the dispose 2025-05-09 19:04:10 +02:00
Alex Plate f623c1eef9 Fix(VIM-3784): Integrate a notification that will warn new GoLand users that they use IdeaVim 2025-05-09 18:39:17 +02:00
Alex Plate f03734e235 Fix(VIM-3786): Disable IdeaVim in the AI assistant 2025-05-09 16:31:44 +02:00
Alex Plate 85acdc2e24 Fix(VIM-3881): Execute undo/redo directly for the remote dev scenarios 2025-05-09 16:20:27 +02:00
Alex Plate ab635972cc Remove a lot of deprecated methods in IdeaVim 2025-05-09 12:58:47 +02:00
Matt EllisandAlex Plãte fd5af31247 Report cannot track intention action
If an alt+enter intention is invoked from Search Everywhere, IdeaVim's Track Action ID shows "Cannot detect action ID" instead of explaining that there is no action ID.

Relates to VIM-2541
2025-05-09 12:11:11 +02:00
Matt EllisandAlex Plãte df74b75570 Stop switching fragment editors to Insert mode
Fixes VIM-1217
2025-05-09 12:10:10 +02:00
Vladimir ParfinenkoandAlex Plãte c74163e917 Fix case settings in replacement string, VIM-3510
^VIM-3510 fixed
2025-05-09 12:08:01 +02:00
Vladimir ParfinenkoandAlex Plãte d38b2885ba Fix missing backreferences in replacement string, VIM-3895
^VIM-3895 fixed
2025-05-09 12:08:01 +02:00
Vladimir ParfinenkoandAlex Plãte 61666d1cfd Always print float numbers using period as a decimal separator, VIM-3894
^VIM-3894 fixed
2025-05-09 12:02:56 +02:00
Alex Plate 35ddb21fe0 Fix the deprecated method use 2025-05-09 11:09:11 +02:00
Alex Plate ccdd708907 Get rid of the old way of action execution 2025-05-08 18:22:40 +02:00
Alex Plate 73e61e0955 Get rid of hacks for Rider regarding esc and enter 2025-05-08 17:49:15 +02:00