1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2024-10-19 13:42:45 +02:00
Commit Graph

906 Commits

Author SHA1 Message Date
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
Alex Plate
f7ea9cdb6e
Convert mapping tests to kotlin 2020-04-16 11:03:40 +03:00
Alex Plate
762cb1804f
Rename .java to .kt 2020-04-16 11:02:38 +03:00
Valery Isaev
9bc2ec7d8a Fix #VIM-1994 2020-04-13 15:02:49 +03:00
Alex Plate
8415d104e9
Clear registers before test 2020-04-10 11:03:14 +03:00
Alex Plate
4c280b0193
Run manual tests 2020-04-09 10:51:32 +03:00
Alex Plate
e88a3deafd
Fix replace with clipboard register 2020-04-09 10:25:42 +03:00
Alex Plate
bd172b3300
Run manual tests 2020-04-07 11:35:58 +03:00
Alex Plate
b1acb56247
Fix exception for ciw on last char in file 2020-03-28 15:57:54 +03:00
Alex Plate
caa4731a13
Fix exception when using text objects on empty files 2020-03-28 15:39:06 +03:00
Alex Plate
5b0ece7a91
ReplaceWithRegister for clipboard registers 2020-03-23 10:34:53 +03:00
Alexey Gerasimov
c9bda98a6a Add VimExchange extension tests 2020-03-21 20:04:30 +05:00
Alexey Gerasimov
5762ec0518 Add marks last changed end position test 2020-03-21 17:09:02 +05:00
Alex Plate
4bbbdf8108
Fix ReplaceWithRegister to the empty line 2020-03-20 10:35:08 +03:00
Alex Plate
f106ffa176
Support ReplaceWithRegister plugin emulation 2020-03-19 11:25:30 +03:00
Alex Plate
2d434c38b9
Move test to correct directory 2020-03-15 16:53:57 +03:00
Alex Plate
174d17b088
VIM-1958 Fix X command for linewise selection 2020-03-14 18:00:45 +03:00
Alex Plate
3a35c931e4
Unignore some tests 2020-03-14 17:42:33 +03:00
Alex Plate
123ce6ebaf
Get rid of deprecated KeyEvents 2020-03-14 15:55:01 +03:00
Alex Plate
276c8db512
Fix some tests 2020-03-12 11:48:24 +03:00
Alex Pláte
b7af1e6289
Merge branch 'master' into feature/showcmd 2020-03-10 10:24:06 +03:00
Alex Pláte
93462d7505
Merge pull request #221 from igrekster/master
argtextobj: support bracket pairs configuration via let g:argtextobj_pairs="..."
2020-03-06 09:54:33 +03:00
Alex Plate
7cdb7dc308
Fix some tests for older versions of IDE 2020-03-04 10:32:05 +03:00
John Weigel
cb00b8b335 Merge remote-tracking branch 'upstream/master' into buffer_command 2020-03-03 23:10:00 -06:00
Alex Pláte
c64f368e6a
Merge pull request #217 from angelbot/master
Add support for buffer list (buffers, files, ls)
2020-03-03 11:05:43 +03:00
Alex Plate
a8197b0c84
Convert runnableHelper to kt 2020-02-28 18:15:40 +03:00
Alexandre Grison
1893dc6afd Fixes from feedback.
Renamed `entiretextobj` to `textobj-entire` including packages and class name.
Renamed `<Plug>IncludingLeadingTrailing` to `<Plug>textobj-entire-a`.
Renamed `<Plug>IgnoringLeadingTrailing` to `<Plug>textobj-entire-i`.
Avoid iterating too much the buffer content.
2020-02-27 11:46:23 +01:00
igrekster
6ec39314ee argtextobj: support bracket pairs configuration via let g:argtextobj_pairs="..."
argtextobj by default only handles arguments inside parenthesis. This is
very limiting when editing C++ source files. This change allows the list
of bracket pairs to be configurable via a global IdeaVim variable. The
variable takes effect immediately.
2020-02-26 10:32:21 +11:00
John Weigel
158cea51db Add override test 2020-02-23 22:02:06 -06:00
John Weigel
33d34f35e9 Merge branch 'master' into buffer_command 2020-02-23 21:49:22 -06:00
John Weigel
1f4f40fd7c Merge remote-tracking branch 'upstream/master' 2020-02-23 21:48:30 -06:00
John Weigel
7c908b247e Merge branch 'master' into buffer_command 2020-02-23 21:14:21 -06:00
John Weigel
c87528939b Fix buffer numbering bug with filters.
Update test to cover fix.
2020-02-23 21:11:36 -06:00