Commit Graph
5146 Commits
Author SHA1 Message Date
Alex Plate 60c27b1dea Add documentation about some aspects of IdeaVim implementation 2023-11-03 13:27:38 +02:00
chylexandAlex Pláte 419160724c Fix(VIM-2933): Reloading/sourcing .ideavimrc does not initialize new plugins 2023-11-03 11:27:41 +02:00
Matt EllisandAlex Pláte 1841b7c4e6 Allow tilde forward slash on Windows 2023-11-03 08:46:57 +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
Alex Plate b164dc1b55 Revert "Remove deprecated MarkGroup.java"
This reverts commit fdd32cb954.
2023-10-27 21:41:18 +03:00
filipp 530eba3d00 Update tests for disabled oldundo option 2023-10-27 19:18:53 +03:00
filipp 808066f2e2 Disable new undo before release 2023-10-27 19:18:53 +03:00
Alex Plate cb3e683c8e Use different API for creating editor disposable 2023-10-27 17:00:06 +03:00
Alex Plate 6c07687a86 Fix enter in read-only files
VIM-3122
2023-10-27 17:00:06 +03:00
Matt EllisandAlex Pláte f0abe5d80d Fix range for fall back comment mode
Callback to reset caret was always called, even if action was unavailable. Fall back action would therefore act on current line only.
2023-10-27 12:45:02 +03:00
chylexandAlex Pláte fb78cdd304 Add operating system type to has() function 2023-10-27 12:28:06 +03:00
Matt EllisandGitHub 5fd54dccd3 Add support for ShowHoverInfo action to 2023.1 and 2023.2 (#733)
* Fix(VIM-2106) Implement ShowHoverInfo if not provided by platform

* Bump minimum build to 2023.1 RTM
2023-10-27 11:06:11 +03:00
filipp 9ccd39d724 Better VIM-696 2023-10-26 16:38:12 +03:00
filipp c876079e04 Fix(VIM-1639): Ctrl-o and Ctrl-i jumping in files of different projects
A commit with proper notation to run all the "Fixed tasks"
2023-10-26 13:38:45 +03:00
filipp 06ef1c1182 VIM-1639 Ctrl-o and Ctrl-i jumping in files of different projects 2023-10-26 10:23:16 +03:00
filipp a9ba9789fd Fix(VIM-696): Vim selection issue after undo 2023-10-25 16:55:32 +03:00
filipp fdd32cb954 Remove deprecated MarkGroup.java 2023-10-25 16:55:32 +03:00
Alex Plate af7bdb55a1 Fix rider issues with the new handler 2023-10-20 17:42:05 +03:00
Alex Plate 69af9aeff0 Fix(IDEA-300030): Mapping with enter to action may not work 2023-10-20 16:16:28 +03:00
Alex Plate 88f4192d61 Fix tests 2023-10-20 12:32:05 +03:00
Alex Plate 8c06767fdc Show error instead of warning in case of exception 2023-10-20 11:10:55 +03:00
Matt EllisandAlex Pláte 405b9ba7ea Fix(VIM-2562): Fix hang with multi-width chars in command line 2023-10-11 11:08:08 +03:00
Alex Plate ab9bd76d34 Update isOctopusEnabled function 2023-10-11 09:38:30 +03:00
Alex Plate 677da7d80a Create a test with different combination of enter handlers 2023-10-11 09:18:51 +03:00
Alex Plate b3ad2fd715 Next handler may be null 2023-10-10 16:01:24 +03:00
Alex Plate 97ca6ce5b8 Dialogs are now closed by esc 2023-10-10 15:33:49 +03:00
Alex Plate e1abc4374e Correct the shape of the caret after entering the cell in py notebooks 2023-10-10 13:08:26 +03:00
Alex Plate 9eeeb15c6c Enable octopus handler by default 2023-10-10 11:39:14 +03:00
Alex Plate 337f5ade59 Get rid of deprecated method 2023-09-14 16:31:26 +03:00
Matt EllisandAlex Pláte 585b815472 Only notify changes if the value is different
This is primarily to avoid instantiating inactive extensions when
resetting all options back to default values, which sets extensions
inactive.
It applies to global and local options, but not to global-local. The
notifications for global-local options are already complex, as they can
be reacting to changes to both the global and local value, and only
notifying editors that are affected.
2023-09-11 11:04:09 +03:00
Matt EllisandAlex Pláte c37e2f4176 Update fallback window when all windows close 2023-09-11 11:04:09 +03:00
Matt EllisandAlex Pláte 626d59d3fc Only use fallback for first initialisation
Subsequent initialisation will be treated like EDIT
2023-09-11 11:04:09 +03:00
Matt EllisandAlex Pláte ddd058a26f Fix name of usage statistic 2023-09-11 11:04:09 +03:00
Matt EllisandAlex Pláte 32b8d03c5e Improve modifying string and string list options 2023-09-11 11:04:09 +03:00
Matt EllisandAlex Pláte 71f3e1b4f1 Support per-window global values
For local-to-window options
2023-09-11 11:04:09 +03:00
Matt EllisandAlex Pláte aa6f53fa68 Require editor when getting/setting global option 2023-09-11 11:04:09 +03:00
Matt EllisandAlex Pláte 1335e9f7f2 Improve detection of editor open scenarios 2023-09-11 11:04:09 +03:00
Matt EllisandAlex Pláte c75599b6a0 Refactor editor options initialisation 2023-09-11 11:04:09 +03:00
Matt EllisandAlex Pláte 2efdfbd988 Remove unnecessary calls from tests 2023-09-11 11:04:09 +03:00
Matt EllisandAlex Pláte 700198d8bc Remove test only vimscript execute method 2023-09-11 11:04:09 +03:00
Matt EllisandAlex Pláte 3efab5928e Evaluate ideavimrc in the fallback window context 2023-09-11 11:04:09 +03:00
Matt EllisandAlex Pláte 93037b6866 Add fallback window to capture local option state 2023-09-11 11:04:09 +03:00
Matt EllisandAlex Pláte 0f19e50c69 Improve hierarchy of option accessors
Getting the effective IJ options would allow access to Vim global and IJ global, but not Vim effective. IntelliJ specific options are now a separate hierarchy, so the Vim effective and IJ effective accessors now simply access all Vim or all IJ options.
2023-09-11 11:04:09 +03:00
Matt EllisandAlex Pláte 66ea6ad3d4 Rename OptionScope to OptionAccessScope 2023-09-11 11:04:09 +03:00
filipp 74a710c5e8 VIM-3060 Clipboard interaction stopped working
Fixed issue and tests (for Linux)
2023-09-07 02:39:23 +03:00
Alex Plate 456055bcf0 Do not run multiple carets from ChangeEditorActionHandler and instead pass this information to EditorActionHandlerBase
This is needed for the new way we register handlers. As we can't be sure that this commands won't be called from the `runForEachCaret` context, we have to avoid this method
2023-09-01 17:25:14 +03:00
Alex Plate 5ebe290424 Check if the caret if valid 2023-09-01 15:27:27 +03:00
Alex Plate 4532d68743 Convert change group to kotlin 2023-09-01 14:29:51 +03:00
Alex Plate 1903e18397 Rename .java to .kt 2023-09-01 14:13:57 +03:00
Alex Plate a705bf7053 Get rid of the exception suppression
This suppression existed for a very long time. Now it hid one of the exceptions I expected.
2023-09-01 13:58:11 +03:00