1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-08-13 06:16:58 +02:00
Commit Graph

37 Commits

Author SHA1 Message Date
filipp
e67c7b23ff Remove deprecated code from VimStateMachine 2024-06-28 16:58:13 +03: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
2a1c4b3a1c Better widget order 2024-02-06 00:32:25 +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
5a6f54c96c Support triggering option listeners outside EDT 2024-01-28 14:00:36 +02:00
Alex Plate
e43a3f4518 Avoid disposable leak because of widget
With the call that was removed, we initialized the widget too early, and the widget wasn't properly registered as disposable. This caused disposable leak.
Also, there is no understanding why this code was used to update the widget. The call for ShowCmd.update seems enough
2023-12-19 00:12:53 +02:00
Alex Plate
5e4ee1b60f Fix the issue with the status bar icon
In the 2023.3 EAP call to isAvailable seems to happen much earlier than it used to be.
This caused the fact that `injector` is not yet initialised at that moment and we fail with an exception. All other status bar icons are also not loaded because of this exception.
Adding `VimPlugin.getInstance()` is a quick workaround to initialize the needed injector
2023-10-28 08:53:21 +03:00
Matt Ellis
c8c9d1729e Introduce listener for global option changes 2023-07-31 11:28:32 +03:00
Matt Ellis
a2352525c5 Migrate global option access to new API
Also fixes some incorrect usages of local options as global, e.g. 'ideajoin' and 'scroll'. There are some options that should be local that are only ever accessed at global scope. These need fixing in the future, e.g. 'iskeyword', 'matchpairs' and 'virtualedit'
2023-04-26 10:26:06 +03:00
Matt Ellis
18d52c2459 Make addListener more strongly typed 2023-03-31 17:37:48 +03:00
Matt Ellis
88f0d2e532 Replace constants with strongly typed properties 2023-03-31 17:37:48 +03:00
Alex Plate
66172c843d Enable explicit api mode for IdeaVim 2023-03-10 13:20:29 +02:00
filipp
44336460c5 Fix IDEA compatibility 2023-01-20 16:50:58 +02:00
Matt Ellis
308e8bfbc3 Replace default interface methods with extensions 2023-01-18 17:47:32 +02:00
Matt Ellis
9c54fbe733 Migrate isSet to option value accessor API 2023-01-18 17:47:32 +02:00
Matt Ellis
62ed3bd7f2 Rename option name constants 2023-01-18 17:47:32 +02:00
Alex Plate
908c978242 Global copyright update 2023-01-10 10:09:25 +02:00
Alex Plate
2355435275 Update copyright 2022-11-04 09:24:03 +02:00
Alex Plate
f5b6ca50f4 Update IdeaVim license to MIT
VIM-2782
2022-11-01 20:00:07 +02:00
Alex Plate
f7b948fee2 Add CommandState compatibility layer and rename our main CommandState to VimStateMachine 2022-07-01 09:04:27 +03:00
Alex Plate
11054f908b Move some classes from file package to vim-engine 2022-04-26 10:02:23 +03:00
Alex Plate
b2a2299347 Move OptionListener to vim-engine 2022-02-28 11:59:36 +03:00
Alex Plate
e92b69ad3f Update formatting 2022-02-27 00:16:40 +00:00
Alex Plate
3388c8517b Remove unused OptionService import 2022-02-22 12:39:11 +03:00
Alex Plate
60a8e0d5f5 Rename Scope to OptionsScope and move it to vim-engine 2022-02-22 12:39:10 +03:00
Alex Plate
5a757a58b5 Move OptionConstants.kt to vim-engine 2022-02-22 12:39:10 +03:00
Alex Plate
2fd33e6ec2 Unbind command state from IJ api 2022-02-15 21:46:20 +03:00
Alex Plate
c3fc369bc4 [VIM-1028] Support global state
Not yet documented and enabled
2022-01-27 12:34:28 +03:00
lippfi
bcf2578da9 Replace hardcoded option names with string constants 2022-01-24 00:52:28 +03:00
Alex Plate
37ce0925a5 Massive copyright data update 2022-01-13 08:59:49 +03:00
lippfi
8a78d76a20 OptionService.Scope as a sealed class 2021-11-17 04:39:31 +03:00
lippfi
e8d7a7f8bf Make OptionChangeListener an interface 2021-11-16 10:35:30 +03:00
lippfi
8d6529ccf1 Better OptionChangeListener 2021-11-16 09:17:31 +03:00
lippfi
4481da75b7 OptionChangeListener 2021-11-15 06:32:04 +03:00
lippfi
043f07190c Replace older options with new ones 2021-11-13 23:21:24 +03:00
Alex Plate
b7c11ff852 Update minimal IJ version to 203+ 2021-10-12 15:26:35 +03:00
lippfi
898e5f8bda Standard project layout 2021-10-11 01:29:18 +03:00