1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2024-11-26 19:42:52 +01:00
Commit Graph

938 Commits

Author SHA1 Message Date
Alex Pláte
5bf2818b2a
Merge pull request #242 from i-e-b/master
Partial implementation of virtualedit config
2020-09-17 11:15:14 +03:00
Alex Plate
76587d672f
Refactor tests according to IdeaVim practices 2020-09-17 11:13:02 +03:00
Alex Plate
890d48769f
Get rid of unused variables 2020-09-17 10:30:56 +03:00
Matt Ellis
007f33be0b
Add zL scroll half screen width action 2020-09-17 00:01:24 +01:00
Matt Ellis
fa17af8d33
Fix keeping caret on screen with preceding inlay 2020-09-16 18:58:21 +01:00
Matt Ellis
eabe43061c
Add tests and fixes for ScrollColumnLeftAction 2020-09-16 16:59:14 +01:00
Matt Ellis
64502fb31b
Reformat comments 2020-09-16 12:11:48 +01:00
Matt Ellis
d693906905
Add tests and fixes for ScrollColumnRightAction 2020-09-16 11:47:28 +01:00
Alex Plate
cf25f7e201
Refactor processing of vimLastColumn 2020-09-16 12:42:43 +03:00
Matt Ellis
df3a533515
Fix arithmetic for scrolling columns 2020-09-16 09:29:43 +01:00
Matt Ellis
53a687fd53
Fix issues with side scrolling and inline inlays
Fixes VIM-1556, fixes VIM-1770, fixes VIM-2110
2020-09-15 17:07:42 +01:00
Matt Ellis
2091bbc025
Improve cursor position handling with inlay hints
E.g. navigation around Kotlin type annotations, replacing a character with a preceding parameter hint
2020-09-08 17:45:44 +01:00
Matt Ellis
5ca0298497
Add tests for ScrollHalfPage actions
<C-D> and <C-U>
2020-09-03 17:46:30 +01:00
Matt Ellis
7321099a0f
Add tests for ScrollMiddleScreenLine actions
z. and zz
2020-09-03 10:10:57 +01:00
Matt Ellis
63d9a33d80
Add tests for ScrollLastScreenLine actions
z- and zb
2020-09-03 09:57:32 +01:00
Matt Ellis
a7ba6d6004
Add tests for ScrollFirstScreenLine actions
z<CR> and zt
2020-09-03 09:55:53 +01:00
Alex Plate
33f8a00679
VIM-2099 Fix operations with backward inclusive motions 2020-09-03 10:16:16 +03:00
Matt Ellis
be0adb833f
Add tests for ScrollLastScreenLinePageStartAction 2020-09-03 01:10:58 +01:00
Matt Ellis
8f90ff8a65
Add tests for ScrollFirstScreenLinePageStartAction 2020-09-03 00:05:01 +01:00
Matt Ellis
c8a1938155
Add tests for ScrollPageUpAction 2020-09-02 23:27:16 +01:00
Matt Ellis
3cf42c86f3
Add tests for ScrollPageDownAction 2020-09-02 23:11:53 +01:00
Matt Ellis
a5de935192
Add tests for ScrollLineDownAction 2020-09-02 17:05:01 +01:00
Matt Ellis
111c1ebe32
Add tests for ScrollLineUpAction 2020-09-02 15:09:11 +01:00
Matt Ellis
8a42bff6ad
Add tests for scrolloff and scrolljump
Behaviour matches Vim, apart from soft wraps
2020-09-02 14:11:04 +01:00
Matt Ellis
d878c3e05d
Improve handling of scrolljump
Now very closely follows Vim's somewhat unintuitive handling. Doesn't work properly with soft wraps (like a lot of other parts of IdeaVim)
2020-09-01 17:46:18 +01:00
Alex Plate
a7985e1e9b
VIM-2080 Fix S command with count 2020-09-01 12:08:24 +03:00
Alex Plate
879ca456f7
Do not apply mappings in REGISTER_PENDING submode 2020-09-01 12:08:23 +03:00
Alex Plate
61600b07a4
VIM-2084 Fix execution of plugins with existing mappings
#VIM-2084 State {Ready To Release}
2020-08-27 12:26:50 +03:00
Iain Ballard
6be6e7f173 Partial implementation of virtualedit config
This does not support all config settings,
but does add the 'onemore' option.

This partly addresses https://youtrack.jetbrains.com/issue/VIM-844
2020-08-26 08:35:00 +01:00
Alex Plate
e597e06324
Preparation for the 0.59 release 2020-08-25 10:25:32 +03:00
Alex Pláte
35863581e9
Merge pull request #245 from KostkaBrukowa/VIM-1970
VIM-1970 | Working solution of plugin vim-highlightedyank
2020-07-27 20:34:18 +03:00
Alex Plate
041f6af607
Add insert listener; small refactorings 2020-07-27 20:25:03 +03:00
Alex Plate
0e8a1bfc87
Refactor neovim tests 2020-07-27 10:07:19 +03:00
Alex Plate
442e739447
Fix propertyBased test 2020-07-27 09:57:53 +03:00
Alex Plate
bd733b72a7
Write property based test for inc/dec 2020-07-26 19:04:58 +03:00
Alex Plate
e01327ab29
Update implementation for inc/dec 2020-07-26 19:04:46 +03:00
Alex Plate
2a10247653
Update implementation for inc/dec actions 2020-07-24 21:50:04 +03:00
kostkabrukowa
e3b7ed7657 VIM-1970 | Adds yank listeners, updates tests 2020-07-24 13:36:23 +02:00
Alex Plate
d4357ce801
Start implementing property based test for increment/decrement 2020-07-24 13:54:52 +03:00
Alex Plate
804f69e9c8
Fix Ctrl-A for selections 2020-07-23 21:12:28 +03:00
kostkabrukowa
086c2f201b VIM-1970 | Adds feature to change highlight background color 2020-07-22 17:29:54 +02:00
Alex Plate
0b22360891
Add a couple of tests for macros 2020-07-22 11:14:49 +03:00
Alex Plate
22b1209eb5
Revert the behaviour of :reg command 2020-07-22 10:21:57 +03:00
Alex Pláte
3edd95da4e
Merge pull request #240 from rieonke/VIM-2059
add support for putting & editing macros
2020-07-22 10:20:23 +03:00
Alex Plate
1c96f4491e
Comment out failing tests 2020-07-20 12:45:56 +03:00
kostkabrukowa
dccc793fc7 VIM-1970 | Tries to remove thread related test failure 2020-07-19 16:54:05 +02:00
kostkabrukowa
f070a57148 VIM-1970 | Tries to remove thread related test failure 2020-07-19 16:08:21 +02:00
kostkabrukowa
2dde2cfb3b VIM-1970 | Refactores some tests 2020-07-19 15:34:28 +02:00
kostkabrukowa
e0fef4f017 VIM-1970 | Adds some tests and updates plugins docs 2020-07-19 13:30:49 +02:00
Alex Plate
fbca5712e3
Run some tests with neovim 2020-07-14 01:24:05 +03:00
Alex Plate
1c874d3957
Assert mode in neovim testing 2020-07-13 11:23:28 +03:00
Alex Plate
49756c5c2f
Split editor setup and command typing 2020-07-12 21:35:54 +03:00
Alex Plate
7efc2e1631
Enable neovim testing only for testWithNeovim task 2020-07-12 16:41:13 +03:00
Alex Plate
ed23f5958c
Rename doTestWithNeovim to doTest 2020-07-12 13:14:42 +03:00
Alex Plate
0ea53f3445
Remove unused doTest method 2020-07-12 13:09:27 +03:00
Alex Plate
4531b38c89
Annotate tests with TestWithoutNeovim 2020-07-12 12:58:51 +03:00
Alex Plate
2114725dab
DotToTab is now extension function 2020-07-11 21:30:21 +03:00
Alex Plate
6877ffcb47
Use neovim for tests with VimBehaviourDiffers 2020-07-11 17:55:51 +03:00
Alex Plate
c4a3cc6718
Disable neovim test for tests that are marked with VimBehaviourDiffers 2020-07-11 17:32:00 +03:00
Alex Plate
a53ed1705a
Extract NeovimTesting to the separate class 2020-07-11 16:58:27 +03:00
Alex Plate
ae13eed152
Move all tests to use neovim or describe the reason why it cant 2020-07-11 16:14:48 +03:00
Alex Plate
2c2c023200
Move some tests to neovim or describe the reason 2020-07-10 12:03:54 +03:00
Alex Plate
1dbe7735df
Rename api to neovimApi 2020-07-10 10:49:12 +03:00
Alex Plate
a321e77e2e
Support setreg for neovim 2020-07-10 10:48:46 +03:00
Alex Plate
9b52b496b2
Convert some tests to testing with neovim 2020-07-09 22:47:41 +03:00
Alex Plate
deeddc22be
More methods use neovim 2020-07-09 21:55:21 +03:00
Alex Plate
680693448f
Two more tests to work with neovim 2020-07-09 19:28:44 +03:00
Alex Plate
b4b5c0c77e
Convert VimTestCase to kt 2020-07-09 18:01:02 +03:00
Alex Plate
3f3305706d
Rename .java to .kt 2020-07-09 18:01:01 +03:00
Alex Plate
bd942e2ea1
Add initial implementation of neovim integration for tests 2020-07-09 17:36:57 +03:00
Alex Plate
a4c3fd8f0b
Removed redundant class name 2020-07-09 17:35:20 +03:00
Alex Plate
f54fc09a37
Make modes the same as in vanilla vim 2020-07-09 12:45:34 +03:00
Alex Pláte
8b3f5d5e81
Merge branch 'master' into fix/reset-operator 2020-07-09 11:09:41 +03:00
Alex Pláte
e222294c6e
Merge pull request #237 from adriafarres/master
Reset operator-pending commands on escape
2020-07-09 11:01:03 +03:00
Patrick Elmquist
742187919f Properly reset with Esc in the middle of command 2020-07-07 11:09:56 +02:00
Alex Plate
9eed5802d6
Prepare for the 0.58 release 2020-07-07 09:28:17 +03:00
Alex Plate
437932d023
Revert and move neovim to fork 2020-07-06 19:49:27 +03:00
Alex Plate
e8dd4f2e59
Default execution amount for property based tests 2020-07-06 19:06:33 +03:00
Alex Plate
93cdf3828b
Add initial implementation of neovim integration for tests 2020-07-06 19:03:07 +03:00
Alex Plate
99a91404ce
Revert "Add initial implementation of neovim integration for tests"
This reverts commit 15ebcb5b
2020-07-06 16:06:09 +03:00
Alex Plate
28ae3a104a
Revert "Create neovim helper"
This reverts commit bc08839b
2020-07-06 16:05:55 +03:00
Alex Plate
bc08839b16
Create neovim helper 2020-07-06 15:47:15 +03:00
Alex Plate
15ebcb5b6a
Add initial implementation of neovim integration for tests 2020-07-06 12:20:02 +03:00
Alex Plate
93fd8b0ff7
More complicated texts for property based tests 2020-07-03 21:49:24 +03:00
Alex Plate
6d0f280f19
Different initial position for caret 2020-07-03 21:36:09 +03:00
Alex Plate
3b26a4c26d
Unignore property based test 2020-07-03 12:37:34 +03:00
Alex Plate
60315744d1
Fix exceptions in word under caret search 2020-07-03 12:35:43 +03:00
Alex Plate
40a6617816
Reset last search during property based tests 2020-07-03 12:11:23 +03:00
Alex Plate
a6964a37ac
Fix exception during sentence start search 2020-07-03 11:54:25 +03:00
Alex Plate
9249ae073c
Fix bug in anyNonWhitespace 2020-07-03 11:21:03 +03:00
Alex Plate
2a216728f1
Add KtDock for property based test 2020-07-02 14:00:27 +03:00
Alex Plate
b186cb585e
Rename property based test 2020-07-02 13:59:39 +03:00
Alex Plate
4e26f62391
Cleanup property based test 2020-07-02 13:58:29 +03:00
Alex Plate
ddb502acb3
Fix exception for d]] command 2020-07-02 13:48:36 +03:00
Alex Plate
89cb6867d4
Tests for exiting insert mode 2020-07-02 13:27:27 +03:00
Alex Plate
f7892b33c8
Add method doTest that accepts string instead of list of KeyStrokes 2020-07-02 12:17:22 +03:00
Alex Plate
e04e0e69f3
Enable strict mode for tests 2020-07-02 12:15:57 +03:00
Alex Plate
baa7d4f098
Fix big word motion for last word 2020-07-01 20:49:34 +03:00
Alex Plate
baa5557010
Fix bug in dollar motion at the end 2020-07-01 20:47:16 +03:00
Alex Plate
5ce25ebc23
Fix deleting from the start of document 2020-07-01 20:47:14 +03:00
Alex Plate
1f4d5b0140
Really ignore property based test 2020-07-01 19:01:51 +03:00
Alex Plate
ddd1a0a5f0
Reset digraph during propertyBased tests 2020-07-01 19:01:08 +03:00
Alex Plate
e15fd8fa24
Add initial implementation of property based tests 2020-07-01 15:46:52 +03:00
Alex Plate
034cc3a725
Fix sentence motion with two new lines at start 2020-07-01 15:43:24 +03:00
Alex Plate
f34dcc0386
Add test for block selection on empty file 2020-07-01 15:02:39 +03:00
Alex Plate
a7b278553f
Make typeText accessible from non vim test cases 2020-07-01 14:11:14 +03:00
Alex Plate
bd52eb12bd
Fix star search on the last dot 2020-06-30 23:08:09 +03:00
Alex Plate
2d9a0a7559
Fix case yk for first line 2020-06-30 22:47:19 +03:00
Alex Plate
c7948374fd
Cleanup 2020-06-29 13:30:23 +03:00
Alex Plate
f8afdf304b
Use @TestFor instead of custom annotation 2020-06-29 12:21:06 +03:00
Alex Plate
0e7b05e360
Continue cleanup 2020-06-29 10:57:53 +03:00
Alex Plate
a6ef654c05
Add tests for exchange plugin with unnamed register in clipboard 2020-06-26 10:43:42 +03:00
Alex Plate
e428b9fa0a
IdeaVim should save to unnamed register, not default one 2020-06-26 10:34:06 +03:00
Alex Plate
e0646541e8
Revert incompatible changes 2020-06-24 18:57:25 +03:00
Alex Plate
2d1fee0516
Add [version update] marks 2020-06-24 18:17:42 +03:00
Alex Plate
149899c34e
Fix fold tests 2020-06-24 18:05:54 +03:00
Alex Plate
c6573b48c2
Convert test to kt 2020-06-24 18:01:34 +03:00
Alex Plate
476ba265d2
Rename .java to .kt 2020-06-24 17:59:42 +03:00
Alex Plate
d6658a1771
Update test 2020-06-23 11:09:25 +03:00
Rieon Ke
e57d6f3d97 fix test failure after changing to key notations from printable chars 2020-06-22 22:56:47 +08:00
Alex Plate
c350650f9c
Commands work on the last line 2020-06-09 03:41:38 +03:00
Alex Plate
8c3cbc49b3
Add tests for G command 2020-06-09 03:15:16 +03:00
Alex Plate
786b7193d0
getLineCount does now respect last new line character 2020-06-09 03:04:48 +03:00
Alex Plate
2a6acba07f
S is now a synonym of cc and doesn't have a separate logic 2020-06-09 03:01:45 +03:00
Alex Plate
f4d595f5c2
[WIP] Removing usages of deprecated getFileSize for SearchHelper 2020-06-07 19:42:01 +03:00
Alex Plate
c1e5b7d111
Remove deprecated usage in different files 2020-06-07 19:35:25 +03:00
Alex Plate
6b0d2157c8
[WIP] Removing usages of deprecated getFileSize for go command 2020-06-07 19:06:04 +03:00
Alex Plate
5a629d6256
[WIP] Removing usages of deprecated getFileSize in getting file info 2020-06-07 18:37:15 +03:00
Alex Plate
8c83ed6b55
Remove usage of deprecated getFileSize 2020-06-06 18:24:24 +03:00
Alex Plate
c64ec34a1f
Fix let mapleader="\<SPACE>" 2020-06-03 11:42:39 +03:00
Alex Plate
8e8e52c6f9
Create configuration migrators for IdeaVim 2020-06-03 11:05:48 +03:00
Alex Plate
a975b53894
Fix bug in test 2020-05-22 10:27:53 +03:00
Alex Plate
98aee5d0ab
Fixes and more tests for vim exchange 2020-05-22 09:59:53 +03:00
Alex Plate
c6c3b6643e
Add linewise visual test for vim exchange plugin 2020-05-20 23:44:45 +03:00
Alex Plate
028423cf58
Make exchange extension repeatable 2020-05-14 10:37:37 +03:00
Adrià Farrés
660b243056 Reset operator-pending commands on escape
Suppose we have the text "|Hello, world", with | being the position of
the cursor. Pressing `d<Esc>dw` simply moves the cursor on top of the
comma instead of leaving the text as ", world".

This fixes issue VIM-1421.
2020-05-13 05:03:49 +02:00
Alex Plate
c85f41e65b
Fix tests 2020-05-12 10:43:04 +03:00
Alex Pláte
89c2a8ec9b
Merge pull request #229 from fan-tom/VIM-921_exchange
VIM-921 vim-exchange plugin emulation
2020-05-12 10:08:53 +03:00
Alexey Gerasimov
aa2c1257ac Use ${c} instead of <caret> 2020-05-10 17:55:55 +05:00
Alex Plate
de5ce5f635
Update ideavimrc reload implementation 2020-05-09 22:56:10 +03:00
Alex Plate
c6cf77e4b8
Remove some deprecations 2020-05-06 09:53:04 +03:00
Alex Plate
366c862bcf
Add loading/unloading to manual tests 2020-05-06 09:38:11 +03:00
Alex Pláte
01b4dc233a
Merge pull request #227 from angelbot/buffer_command
Add support for buffer command
2020-05-06 08:46:41 +03:00
Alex Pláte
61677aa811
Merge pull request #233
Fix #VIM-1994
2020-05-06 08:13:40 +03:00
Alex Plate
e31d5a4dcf
Initial cleanup after IJ requirements update 2020-04-30 11:43:24 +03:00
Alex Plate
64c01c1bd1
Cleanup timer for java tests 2020-04-30 10:23:14 +03:00
Alex Plate
4b659fe643
Prepare for 0.57 release 2020-04-28 11:18:56 +03:00
Alex Plate
8cce059fb4
Write tests for yanking and pasting with number register 2020-04-17 10:48:09 +03:00
Alex Plate
613c234cfb
Fix related tests 2020-04-16 11:31:22 +03:00
Alex Plate
83dca71f69
[VIM-1992] Fix shift-letter mappings 2020-04-16 11:20:26 +03:00