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
Alex Plate
eb46ed8f00
Small refactorings based on inspections
2020-09-08 10:18:44 +03:00
Alex Plate
f8d66f354a
Fix typos in file
2020-09-08 09:56:28 +03:00
Alex Pláte
67c5601fdc
Merge pull request #248 from yaohui-wyh/master
...
Check if project is disposed when editorDeinit
2020-09-08 09:55:58 +03:00
Matt Ellis
62601686aa
Add internal action to show inline inlays
2020-09-08 00:20:54 +01:00
Alex Plate
e92c0d5098
[VIM-1968] Create and enable option to execute :wa command on :w
2020-09-07 10:55:47 +03: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
5008d5c8c4
Make better notifications about tracked action id
2020-09-03 11:35:40 +03: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
632e9fad2e
Remove incorrect mappings for page up/down
...
i_<C-Down> and i_<C-Up> are not standard Vim mappings, but can be set up in .ideavimrc if required
2020-09-02 17:18:03 +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
Matt Ellis
d08da77b2f
Split scrollPositionIntoView method into two
2020-09-01 17:44:24 +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
1863cbdef0
Add functionality to track action ids
2020-08-31 10:30:10 +03:00
Alex Plate
ac4755a6ff
VIM-2071 Fix unexpected moving of caret
...
#VIM-2071 Request State {Ready To Release}
2020-08-28 10:17:08 +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
Matt Ellis
4cebaa865b
Fix scrolljump
2020-08-20 14:21:53 +01:00
Matt Ellis
589e43f825
[VIM-2104] Use side scroll offset for horizontal scrolling
2020-08-20 11:45:39 +01:00
Yaohui Wang
61a70704c5
Check if project is disposed when editorDeinit
2020-08-03 07:21:19 +08: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
47bb155989
Replace IJ pair with kotlin Pair
2020-07-26 19:09:35 +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
5bdeaed416
Fix number change for an incorrect oct number
2020-07-24 13:53:16 +03:00
Alex Plate
a44d93283f
Refactor ChangeNumberIncAction.kt
2020-07-24 10:17:36 +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
808fb24bbc
Remove unused methods
2020-07-22 10:40:35 +03:00
Alex Plate
22b1209eb5
Revert the behaviour of :reg
command
2020-07-22 10:21:57 +03:00
Alex Plate
485c5501b3
[VIM-2075] Fix zR command
2020-07-22 10:20:54 +03:00
Alex Plate
81ceba8926
Optimize imports
2020-07-22 10:20:54 +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
kostkabrukowa
c1bb364cbe
VIM-1970 | Removes box around yank highlight
2020-07-21 15:18:00 +02:00
kostkabrukowa
dccc793fc7
VIM-1970 | Tries to remove thread related test failure
2020-07-19 16:54:05 +02:00
kostkabrukowa
e0fef4f017
VIM-1970 | Adds some tests and updates plugins docs
2020-07-19 13:30:49 +02:00
kostkabrukowa
3a40b9689c
VIM-1970 | Fixes register bug
2020-07-18 19:12:08 +02:00
kostkabrukowa
3937a395b7
VIM-1970 | Moves functionality to extension class, adds possibility to dynamically set highlight duration
2020-07-18 18:51:07 +02:00
kostkabrukowa
7e3d532075
VIM-1970 | Clears highlighters after its removal
2020-07-18 11:30:52 +02:00
kostkabrukowa
4f658c4734
VIM-1970 | Draft of working solution to plugin vim-highlightedyank
2020-07-18 10:14:45 +02:00
Alex Plate
26aa753d9e
Update syntax of TabCloseHandler.kt
2020-07-16 11:13:20 +03:00
Alex Pláte
008edc7e33
Merge pull request #244 from rieonke/VIM-2068
...
Implement tabc[lose] ex command
2020-07-16 10:57:59 +03:00
Alex Plate
24e7f655fc
Add linewise motion type
2020-07-14 11:31:29 +03:00
Alex Plate
ab8de509d9
Create visual type for the text objects
2020-07-14 02:37:54 +03:00
Alex Plate
4fc4ed7675
Remove FLAG_MOT_CHARACTERWISE flag
2020-07-14 02:10:20 +03:00
Alex Plate
b35ad2bb9d
Remove FLAG_MOT_BLOCKWISE
2020-07-14 02:03:08 +03:00
Alex Plate
895c7f1af1
Remove deprecated class
2020-07-14 01:37:08 +03:00
Alex Plate
a42a19a174
Add converting mode to vim notation
2020-07-13 11:21:53 +03:00
Alex Plate
bbe39d5942
Convert command state to kt
2020-07-13 10:42:43 +03:00
Alex Plate
f5fb844442
Rename .java to .kt
2020-07-13 10:42:42 +03:00
Alex Plate
0c22bb2f4f
Add logging for used ideavimrc file
2020-07-13 10:05:16 +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
bd942e2ea1
Add initial implementation of neovim integration for tests
2020-07-09 17:36:57 +03:00
Alex Plate
f54fc09a37
Make modes the same as in vanilla vim
2020-07-09 12:45:34 +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
Alex Plate
2a0bd8722e
Check is project is disposed in isTemplateActive
2020-07-07 17:56:52 +03:00
Alex Plate
aece559400
Remove unused deprecated methods
2020-07-07 12:07:11 +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
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
ddb502acb3
Fix exception for d]] command
2020-07-02 13:48:36 +03:00
Alex Plate
7172faf7b5
Revert strict mode for all normalization methods
...
This should be done in a more smooth way
2020-07-02 12:09:56 +03:00
Rieon Ke
6e1761a1f5
impl tabc[lose] ex command
2020-07-02 15:21:19 +08: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
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
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
7b40281875
Use strict mode in normalize
methods
2020-06-30 20:27:41 +03:00
Alex Plate
dc1d01c91d
Use ifEmpty method
2020-06-30 19:48:53 +03:00
Alex Plate
85194b772b
Vim.showMessage should show localized string
2020-06-30 10:22:12 +03:00
Alex Plate
7809842348
Remove unused command flags
2020-06-30 09:55:52 +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
5f18e99128
Action is not nullable for Command
2020-06-29 10:49:46 +03:00
Alex Plate
b2e0af587f
Continue code cleanup
2020-06-29 10:42:02 +03:00
Alex Plate
b0b0817668
Code cleanup
2020-06-29 10:29:52 +03:00
Alex Plate
e428b9fa0a
IdeaVim should save to unnamed register, not default one
2020-06-26 10:34:06 +03:00
Alex Plate
e4bbc7b962
Change type of string
2020-06-26 09:27:25 +03:00
Alex Plate
2d1fee0516
Add [version update] marks
2020-06-24 18:17:42 +03:00
Alex Plate
9904de1946
Use fold action names from platform
2020-06-24 17:54:04 +03:00
Alex Plate
583988034b
Fix incompatibility for 202 eap
2020-06-23 09:55:06 +03:00
Rieon Ke
55e553c2a0
add support for putting & editing macros
2020-06-22 22:47:35 +08:00
Alex Plate
ca15c60d52
Remove the ability to download EAP from notification (access to plugin download mechanism was restricted)
2020-06-22 11:16:43 +03:00
Alex Pláte
8be075b36a
Merge pull request #239
...
Use new API for relative line numbers
2020-06-22 11:16:30 +03:00
Matt Ellis
5d95917727
Do not add line numbers when caret moves
...
Fixes VIM-2021
2020-06-20 19:00:59 +01:00
Alex Plate
a53b67f0ef
Add option to disable IdeaVim in dialogs
2020-06-20 18:20:27 +03:00
Matt Ellis
eff13180b3
Update to new line number API
...
Fixes VIM-1934, fixes VIM-1852
2020-06-19 23:51:46 +01:00
Alex Plate
354aec4713
Disable IdeaVim in database table cells
2020-06-19 18:55:49 +03:00
Alex Plate
d2acb88dd4
Add experimental options to disable IdeaVim in one-line editors and enable escape in dialogs
2020-06-19 16:46:37 +03:00
Alex Plate
e96ece23b8
Add strictMode to enable additional checks in dev mode
2020-06-19 09:45:46 +03:00
Alex Plate
a3a3db9bc8
Extract ListenerSuppressor from ListenerManager
2020-06-19 09:29:49 +03:00
Alex Plate
c350650f9c
Commands work on the last line
2020-06-09 03:41:38 +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
e5a5d112ca
Deprecate getFileSize method
2020-06-07 20:47:15 +03:00
Alex Plate
9e2cfe548b
[WIP] Removing usages of deprecated getFileSize
2020-06-07 19:50:32 +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
1eccc60cb3
Remove deprecated usage in moveTextHandler
2020-06-07 19:19:29 +03:00
Alex Plate
9f8095ae52
Formatting for MoveTextHandler.kt
2020-06-07 19:17:19 +03:00
Alex Plate
3674cf4aad
[WIP] Removing usages of deprecated getFileSize for MotionGroup
2020-06-07 19:17:05 +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
b8909f97aa
[WIP] Removing usages of depracated getFileSize
2020-06-07 14:13:07 +03:00
Alex Plate
8c83ed6b55
Remove usage of deprecated getFileSize
2020-06-06 18:24:24 +03:00
Alex Plate
b161346171
Trying to get rid of getFileSize with allowEnd
2020-06-06 18:07:15 +03:00
Alex Plate
330e717518
Fix offset bounds
2020-06-04 10:24:18 +03:00
Alex Plate
dafc031ef6
Add checks for selectWord
2020-06-04 10:03:43 +03:00
Alex Plate
b00a2d3b79
Do not get findManager for nullable project
...
Fixes EA-231806
2020-06-04 09:36:53 +03:00
Alex Plate
c64ec34a1f
Fix let mapleader="\<SPACE>"
2020-06-03 11:42:39 +03:00
Alex Plate
8ed709c7bb
Use different file for storing local configs
2020-06-03 11:14:37 +03:00
Alex Plate
8e8e52c6f9
Create configuration migrators for IdeaVim
2020-06-03 11:05:48 +03:00
Alex Plate
f3e806c4a6
Create config package
2020-05-28 11:14:53 +03:00
Alex Plate
5f28a22666
Notes about unsupported features of exchange plugin
2020-05-22 15:06:20 +03:00
Alex Plate
98aee5d0ab
Fixes and more tests for vim exchange
2020-05-22 09:59:53 +03:00
Alex Plate
7203cc5cb3
Revert "Remove dynamic loader stopper"
...
This reverts commit 03493e23
2020-05-15 09:48:41 +03:00
Alex Plate
028423cf58
Make exchange extension repeatable
2020-05-14 10:37:37 +03:00
Alex Plate
2ead6af96a
Fix visual operator with dot command
2020-05-14 10:37:16 +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
f9fa15b7ac
Parenthesize command names
2020-05-10 14:51:16 +05:00
Alex Plate
de5ce5f635
Update ideavimrc reload implementation
2020-05-09 22:56:10 +03:00
Alex Plate
2eb6fd6819
Convert VimParser to kt
2020-05-09 22:56:10 +03:00
Alex Plate
22ea4e7ffa
Rename .java to .kt
2020-05-09 22:56:10 +03:00