Commit Graph
100 Commits
Author SHA1 Message Date
Filipp VakhitovandAlex Pláte 423ed390a2 Fix(FL-25087): p in vim mode
Pasting was broken with immutable carets because the old caret was not updated during execution
2024-03-29 14:52:52 +02:00
Filipp VakhitovandAlex Pláte 7652b16ca6 Move more MotionGroup methods to its base class 2024-03-29 14:52:52 +02:00
Filipp VakhitovandAlex Pláte 618a010c15 Move some MotionGroup methods to its base class 2024-03-29 14:52:52 +02:00
Filipp VakhitovandAlex Pláte d44a34ed9b Remove unnecessary abstract method 2024-03-29 14:52:52 +02:00
Filipp VakhitovandAlex Pláte c84fc996db Move some methods to vim-engine
The more methods we have in the engine, the fewer number of methods we will need to implement in the Fleet
2024-03-29 14:52:52 +02:00
Filipp VakhitovandAlex Pláte 43f232543b Replace findBlockRange with newer implementation
The newer implementation is a part of the vim-engine library and uses new methods from the SearchGroup.kt, but it is not fully refactored yet
2024-03-29 14:52:52 +02:00
Filipp Vakhitov 9a324ab448 Reset KeyHandlerState when switching Editors
Now we have a single state for all the editors, so we should not mix their states
2024-02-29 20:27:46 +02:00
Filipp Vakhitov a94a8b8539 Fix tests 2024-02-24 01:03:18 +02:00
Filipp Vakhitov 261230b23a Remove experimental showmodewidget option 2024-02-24 00:36:36 +02:00
Filipp Vakhitov b90317e00e More visible text color for mode widget
Visibility may be unexpected for custom themes with non-obvious colors
2024-02-24 00:27:48 +02:00
Filipp Vakhitov 21c9dc8785 Add statistic collector for mode widget 2024-02-24 00:15:01 +02:00
Filipp Vakhitovandfilipp 1a4333fa1b Move implementations to upper level
It will simplify support of immutable editors in Fleet
2024-02-23 15:09:45 +02:00
Filipp Vakhitovandfilipp 8eaa6df318 Throw error instead of warning on state conflict
It may indicate some serious issues, and we would like to know if anything goes wrong
2024-02-23 15:09:45 +02:00
Filipp Vakhitovandfilipp 7523db186f Empty status bar message after each test 2024-02-23 15:09:45 +02:00
Filipp Vakhitovandfilipp 38bc914504 Avoid using annotation-processors in vim-engine 2024-02-23 15:09:45 +02:00
Filipp Vakhitovandfilipp c8113eea83 Commit state after receiving unknown key 2024-02-23 15:09:45 +02:00
Filipp Vakhitovandfilipp 924b7418e8 Fix DigraphSequence cloning 2024-02-23 15:09:45 +02:00
Filipp Vakhitovandfilipp a7dfef61e9 Make LazyVimCommand open 2024-02-23 15:09:45 +02:00
Filipp Vakhitovandfilipp db35c979b4 Move some editor methods to the base class 2024-02-23 15:09:45 +02:00
Filipp Vakhitovandfilipp 2de933c723 Make processKey public 2024-02-23 15:09:45 +02:00
Filipp Vakhitovandfilipp 00f5541dc6 Add KeyProcessResult interface 2024-02-23 15:09:45 +02:00
Filipp Vakhitovandfilipp 02540eb303 Pass KeyHandlerState as a method argument 2024-02-23 15:09:45 +02:00
Filipp Vakhitovandfilipp 282e581bdb Make state cloneable 2024-02-23 15:09:45 +02:00
Filipp Vakhitovandfilipp 31e7c49608 Add equals & hashCode 2024-02-23 15:09:45 +02:00
Filipp Vakhitov 2a1c4b3a1c Better widget order 2024-02-06 00:32:25 +02:00
Filipp Vakhitovandlippfi 63995e8c61 Support e flag for search 2024-02-05 16:29:49 +02:00
Filipp Vakhitovandlippfi 7062d9b8f8 Enable new regex engine by default 2024-02-05 16:29:49 +02:00
Filipp Vakhitovandlippfi ede62f5c75 Fix compilation 2024-02-05 16:29:49 +02:00
Filipp Vakhitovandlippfi 6386770ff3 Move more tests to src 2024-02-05 16:29:49 +02:00
Filipp Vakhitovandlippfi b4e831a81f Fix VisualAreaMatcher & TextRange 2024-02-05 16:29:49 +02:00
Filipp Vakhitovandlippfi 9b283360ce Minor improvements 2024-02-05 16:29:49 +02:00
Filipp Vakhitovandlippfi fabbd4d156 Better SelectionInfo implementation 2024-02-05 16:29:49 +02:00
filippandlippfi 9bea5bf5f7 Remove deprecated code 2024-02-05 16:29:49 +02:00
filippandlippfi 9fbc990493 Fix visual matching 2024-02-05 16:29:49 +02:00
filippandlippfi b05fdaaa73 Fix tests 2024-02-05 16:29:49 +02:00
filippandlippfi 52d5d4d64c Fix Keyword token 2024-02-05 16:29:49 +02:00
filippandlippfi 6ec712466c Fix StartOfWordMatcher & EndOfWordMatcher 2024-02-05 16:29:49 +02:00
filippandlippfi 6616b8dc07 Simplify MarkMatchers 2024-02-05 16:29:49 +02:00
filippandlippfi 807457c718 Hide method and add Deprecated annotation 2024-02-05 16:29:49 +02:00
Filipp Vakhitov c3defdcda4 Add sources and JavaDoc to vim-engine jar 2024-02-01 11:07:28 +02:00
Filipp Vakhitov 11761b66b2 Revert "Fix(VIM-3183): Execute .ideavimrc on pooled thread"
This reverts commit 1d7796805c.
2024-01-31 20:10:32 +02:00
Filipp Vakhitov f83f107bd1 Revert "Support triggering option listeners outside EDT"
This reverts commit 5a6f54c96c.
2024-01-31 20:10:18 +02:00
Filipp Vakhitov f1b90857ff Revert "Fix code in execute requiring EDT or write actions"
This reverts commit e7236beedd.
2024-01-31 20:10:15 +02:00
Filipp Vakhitov 5aea4cdd65 Revert "Avoiding slow operations on EDT"
This reverts commit 00fb5bc6cf.
2024-01-31 20:09:55 +02:00
Filipp Vakhitov 1822a59c70 Revert "Fix(VIM-3273): Config file stopped working"
This reverts commit 04230fdd9c.
2024-01-31 20:09:31 +02:00
Filipp Vakhitov 37c6934802 Revert "Update changelog. Action id - 7724318708"
This reverts commit 434511658b.
2024-01-31 20:09:27 +02:00
Filipp Vakhitov 90c7f747a4 Revert "Fix(VIM-3278) Relative number is broken in 2.8.0"
This reverts commit a1646a7a88.
2024-01-31 20:09:23 +02:00
Filipp Vakhitov b7efa3dcd6 Revert "Add EDT where it is needed"
This reverts commit 3e9706e6ce.
2024-01-31 20:09:19 +02:00
Filipp Vakhitov da80f537ac Revert "Avoid concurrent VimScript execution"
This reverts commit 0e03151505.
2024-01-31 20:09:15 +02:00
Filipp Vakhitov 0119912318 Revert "Add readActions & EDT"
This reverts commit 45a2eadc58.
2024-01-31 20:09:08 +02:00
Filipp Vakhitov 45a2eadc58 Add readActions & EDT 2024-01-31 14:43:23 +02:00
Filipp Vakhitov 0e03151505 Avoid concurrent VimScript execution 2024-01-31 14:42:58 +02:00
Filipp Vakhitov 3e9706e6ce Add EDT where it is needed 2024-01-31 14:09:06 +02:00
Filipp Vakhitov a1646a7a88 Fix(VIM-3278) Relative number is broken in 2.8.0
Proper options initialization order
2024-01-31 13:34:33 +02:00
Filipp Vakhitov 04230fdd9c Fix(VIM-3273): Config file stopped working 2024-01-31 09:12:23 +02:00
Filipp Vakhitov 2e16ad8a2a Revert "Downgrade ktor dependencies to check if "Publish vim-engine" fails because of them"
This reverts commit 7fb59b0fa9.
2024-01-30 20:13:36 +02:00
Filipp Vakhitov 7fb59b0fa9 Downgrade ktor dependencies to check if "Publish vim-engine" fails because of them 2024-01-30 20:05:45 +02:00
Filipp Vakhitov 24e044bcda Remove deprecated ComplicatedKeysAction.kt 2024-01-30 18:56:38 +02:00
Filipp Vakhitov 00fb5bc6cf Avoiding slow operations on EDT 2024-01-29 13:30:41 +02:00
Filipp Vakhitov 5e01f726d3 Revert "Remove deprecated VimScriptGlobalEnvironment.java"
This reverts commit 5c64ebf1cc.
2024-01-29 12:58:46 +02:00
Filipp Vakhitov e87290aeea Simplify storing global variables 2024-01-29 12:58:31 +02:00
Filipp Vakhitov e7236beedd Fix code in execute requiring EDT or write actions 2024-01-29 10:00:55 +02:00
Filipp Vakhitov 5a6f54c96c Support triggering option listeners outside EDT 2024-01-28 14:00:36 +02:00
Filipp Vakhitov fb75508258 Support widget themes 2024-01-23 23:59:57 +02:00
Filipp Vakhitov 0e69168382 Make the Apply button disabled by default 2024-01-23 18:54:47 +02:00
Filipp Vakhitov 9970ab8643 Allow to open only one widget settings window at a time 2024-01-23 18:53:41 +02:00
Filipp Vakhitov 7ff82010c3 Rename "Foreground:" field to "Text:" in mode widget settings 2024-01-23 16:47:21 +02:00
Filipp Vakhitov 1da8cd53d2 VIM-1377 Normal mode needs to be more obvious
Save mode widget colors state in XML
2024-01-23 01:27:57 +02:00
Filipp Vakhitov 9337a89eac VIM-1377 Normal mode needs to be more obvious
Redraw widget after applying new colors
2024-01-23 01:27:57 +02:00
Filipp Vakhitov 510564dd91 VIM-1377 Normal mode needs to be more obvious
Do not show widget with no files opened
2024-01-23 01:27:57 +02:00
Filipp Vakhitov a9ededc997 VIM-1377 Normal mode needs to be more obvious
Add color customization to mode widget
2024-01-23 01:27:57 +02:00
Filipp Vakhitov 52cf10cb2e Better widget 2024-01-13 23:01:01 +02:00
Filipp Vakhitov 2d74f121aa Set min width for widget 2024-01-04 10:45:59 +02:00
Filipp VakhitovandAlex Pláte fc46acb2e4 Move to concurrent list 2024-01-03 12:15:31 +02:00
Filipp VakhitovandAlex Pláte 7fde66eb40 Better color 2024-01-03 12:15:31 +02:00
Filipp VakhitovandAlex Pláte b3cea3997d Safer changes to VimPlugin
(avoid changes to old code that worked)
2024-01-03 12:15:31 +02:00
Filipp VakhitovandAlex Pláte 2f20193086 Post-review improvements 2024-01-03 12:15:31 +02:00
filippandAlex Pláte 601e207f04 Remove comment 2024-01-03 12:15:31 +02:00
filippandAlex Pláte f0d3d8b276 Add colors to showmode widget 2024-01-03 12:15:31 +02:00
Filipp VakhitovandAlex Pláte e02d34f023 Better ShowMode widget & Macro recording widget 2024-01-03 12:15:31 +02:00
Filipp VakhitovandAlex Pláte 0504be84b6 Add base implementation of showmode widget 2024-01-03 12:15:31 +02:00
filippandAlex Pláte 216f020b70 Add new listeners 2024-01-03 12:15:31 +02:00
filipp 5afd161fba Update minimal supported version to 2023.3 2023-11-24 20:42:48 +02:00
Filipp Vakhitov 8fcca05565 Fix(VIM-3176): Reselecting visual selection after pasting above it select wrong lines 2023-11-23 22:53:07 +02:00
Filipp Vakhitov 692439953c Rollback to working Idea Version 2023-11-21 13:18:01 +02:00
filipp 4fbf6cbc50 Update minimal supported version to 2023.3 in TeamCity 2023-11-17 14:39:38 +02:00
filipp f80d1defcb Add Javadoc 2023-11-17 14:00:38 +02:00
filipp a9052a068f Fix property tests 2023-11-17 13:05:30 +02:00
filipp b1323c0d67 Fix(VIM-1611): actions related to resolving conflicts doesn't seem to work 2023-11-17 12:43:04 +02:00
filipp 87ceb8fb58 Much better undo 2023-11-17 11:59:27 +02:00
Filipp Vakhitov b3ad222cdc Change default undo behavior 2023-11-10 19:22:43 +02:00
Filipp Vakhitov ddfe8cf361 Support temporary options 2023-11-10 16:01:22 +02:00
Filipp Vakhitov 93c83f773a Add generated JSON files to gitignore 2023-11-10 16:01:22 +02:00
Filipp Vakhitov 876e16fa9e Support registering commands from json 2023-11-10 16:01:21 +02:00
Filipp Vakhitov 37067d5c72 Fix typos 2023-11-10 16:01:21 +02:00
Filipp Vakhitov 083ac8cfa3 Convert RegisterActions to Kotlin 2023-11-10 16:01:21 +02:00
Filipp Vakhitov fe6c1ae452 Add LazyVimCommand and CommandProvider 2023-11-10 16:01:21 +02:00
Filipp Vakhitov 30165f5047 Support keypad keys in Vim key notation 2023-11-10 16:01:21 +02:00
Filipp Vakhitov 3046c61447 Generating json by annotations 2023-11-10 16:01:21 +02:00
Filipp Vakhitov ced50bb2e8 Mark xml related classes for commands as deprecated 2023-11-10 16:01:21 +02:00