Alex Plate
6970a764c4
Update changelog
2023-03-10 19:22:34 +00:00
filipp
4c7c3dba00
Fix(VIM-2733): vim-surround emulation interacts incorrectly with unmatched quotes on previous lines
2023-03-10 21:20:18 +02:00
filipp
aebad12bbe
Add some useful methods to work with strings
2023-03-10 20:39:13 +02:00
Alex Plate
8593e7a6ac
Small reformat of kotlin script
2023-03-10 19:03:35 +02:00
Alex Plate
119975c313
Remove experimental API
2023-03-10 18:30:07 +02:00
Alex Plate
27c3a95ec6
Provide visibility for some classes
2023-03-10 18:15:48 +02:00
Alex Plate
d5eaf85473
Better support for esc in octopus mode
2023-03-10 14:33:31 +02:00
Alex Plate
7f4c967a20
Fix compilation in tests
2023-03-10 13:34:19 +02:00
Alex Plate
8066ac2819
Enable explicit api mode for vim-engine
...
But without fixes as there are 3000 violations
2023-03-10 13:23:24 +02:00
Alex Plate
66172c843d
Enable explicit api mode for IdeaVim
2023-03-10 13:20:29 +02:00
Alex Plate
88b3373e5c
Add option to enable octopus handler
2023-03-10 12:11:17 +02:00
Alex Plate
320d91d639
Add esc to octopus handler
2023-03-10 12:00:41 +02:00
Alex Plate
24d118e225
Update changelog after merging PR
2023-03-10 08:19:21 +00:00
Matt Ellis
c192f319d1
Simplify setting known options a little
2023-03-10 10:17:45 +02:00
Matt Ellis
097dfa06a6
Add a couple of convenience functions
2023-03-10 10:17:45 +02:00
Matt Ellis
90ca544d0a
Move getter helpers out of the options interface
...
The interface now has a simple setter and getter, as well as other functions for managing options. More friendly functions for getting and setting values are available as extension functions
2023-03-10 10:17:45 +02:00
Matt Ellis
2bc9640b88
Remove last of 'set' validation code
2023-03-10 10:17:45 +02:00
Matt Ellis
40ffddf5ef
Push toggle option validation into ':set' command
2023-03-10 10:17:45 +02:00
Matt Ellis
bd28c9da23
Push more ':set' command validation into command
2023-03-10 10:17:45 +02:00
Matt Ellis
11ef024779
Move ':set' command validation out of interface
...
Moves functions that require validation parameters to extension functions. Core interface should not require additional user facing paramter
2023-03-10 10:17:45 +02:00
Matt Ellis
40d9a201ea
Use bundle for exception messages
2023-03-10 10:17:45 +02:00
Matt Ellis
6e2ac21fab
Refactor getDefaultValue into property
2023-03-10 10:17:45 +02:00
Matt Ellis
7858cf57c6
Fix number operations for set command
2023-03-10 10:17:45 +02:00
Matt Ellis
91c8e7ebda
Rename getOptionByNameOrAbbrev
2023-03-10 10:17:45 +02:00
Matt Ellis
6332ee6955
Remove unnecessary argument text
2023-03-10 10:17:45 +02:00
Matt Ellis
3c3014fdc6
Remove unused getAbbrevs function
2023-03-10 10:17:45 +02:00
Matt Ellis
d97e4c44ee
Rename "token" and remove default argument
2023-03-10 10:17:45 +02:00
Matt Ellis
1b88c514da
Move IjVimOptionGroup to correct package & rename
2023-03-10 10:17:45 +02:00
Matt Ellis
96c1094a61
Replace OptionService with VimOptionGroup
...
Leaves a skeleton, deprecated implementation of OptionService for existing external use by plugins
2023-03-10 10:17:45 +02:00
Matt Ellis
b3551b4ee5
Remove empty file
2023-03-10 10:17:45 +02:00
Matt Ellis
4232d3d8a2
Remove unused local options types
2023-03-10 10:17:45 +02:00
Matt Ellis
73b64c19ff
Move OptionValueAccessor to options package
2023-03-10 10:17:45 +02:00
Matt Ellis
15ccdb2055
Remove unnecessary getOptionServiceImpl
2023-03-10 10:17:45 +02:00
Matt Ellis
418067b077
Remove unused deprecated method
...
No external usages
2023-03-10 10:17:45 +02:00
Matt Ellis
88b29d1a14
Isolate and remove deprecated code
...
Moves ToggleOption to the proper package, leaving behind a skeleton class to keep ideavim-sneak and IdeaVim-EasyMotion happy.
Removes NumberOption and related number OptionsManager properties which are only used by which-key 0.6.2, because this plugin is already broken due to a separate API change. (The plugin is expecting the command trie to use `CommandPartNode<ActionBeanClass>`, but it's actually using `CommandPartNode<VimActionsInitiator>`). Also removes `ToggleOption.value`, used by which-key
2023-03-10 10:17:45 +02:00
Matt Ellis
b831aa8eca
Fix incorrect type parameter in cast
...
Cast succeeds, but only due to erasure
2023-03-10 10:17:45 +02:00
Matt Ellis
4540d216cb
Move StrictMode out of options package
2023-03-10 10:17:45 +02:00
Alex Plate
b345ebb366
Add test for escaped pairs
2023-03-10 09:42:49 +02:00
Alex Plate
7a8ed2db32
Add kawagh to contributors list
2023-03-10 07:39:23 +00:00
kawagh
9f5ed99b79
Add tests to secure % motion behavior with escaped parentheses
2023-03-10 09:37:46 +02:00
kawagh
1bd6defc84
Include escaped character in search target
2023-03-10 09:37:46 +02:00
Alex Plate
181d76ae7b
Improvements for octopus handler
2023-03-09 16:45:06 +02:00
Alex Plate
31d37c218a
Update changelog
2023-03-09 13:58:42 +00:00
filipp
72be9845fa
Fix(VIM-2885): "v:searchforward" does't work for IdeaVim
2023-03-09 15:56:34 +02:00
filipp
a6a4e50479
Add ` mark to jumplist
2023-03-09 15:29:13 +02:00
Alex Plate
1f88ead837
Update changelog
2023-03-09 12:03:39 +00:00
filipp
8303cafbc9
Fix(VIM-2244): nnoremap mapping doesn't work correctly
2023-03-09 14:01:35 +02:00
filipp
00901f60dc
Add get()
function
2023-03-08 20:06:43 +02:00
filipp
21aaf06a63
Add split function
2023-03-08 19:21:02 +02:00
Alex Plate
d81774c9a7
Add octopus connector that attaches IdeaVim to IJ using EditorActionHandlers
2023-03-08 13:56:31 +02:00