1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2024-11-25 07:42:59 +01:00
Commit Graph

1603 Commits

Author SHA1 Message Date
Alex Plate
2ea899330c
Move DigraphResult.kt to vim-engine 2022-02-18 19:12:29 +03:00
Alex Plate
3574db020f
Convert DigraphResult.kt to kotlin 2022-02-18 19:10:19 +03:00
Alex Plate
b2ae2a38ec
Rename .java to .kt 2022-02-18 19:10:19 +03:00
Alex Plate
04ebb6077a
Move some classes to vim engine 2022-02-18 19:08:07 +03:00
Alex Plate
d5062944d0
Rename vim-engin folder to kotlin and change VimEditor package 2022-02-18 18:21:49 +03:00
Alex Plate
042e3388b0
Move VimEditor to vim-engine 2022-02-17 19:00:35 +03:00
Alex Plate
d4a1ffa9a9
Update package structure 2022-02-17 19:00:35 +03:00
Alex Plate
54927d0af7
Move VimLogger to vim-engine 2022-02-17 19:00:35 +03:00
Alex Plate
d26765e217
Create vim-engine module 2022-02-17 19:00:35 +03:00
Alex Plate
277b4e63c3
Introduce ActionInitiator 2022-02-17 19:00:34 +03:00
Alex Plate
848514405b
Remove usages of VimPlugin from keyHandler 2022-02-17 19:00:34 +03:00
Alex Plate
7b8fd0ee55
Extract vim messages into a separate service 2022-02-17 19:00:34 +03:00
Alex Plate
d373ebac58
Use optionService from injector 2022-02-17 19:00:34 +03:00
lippfi
370ccc5254 Hardcode extension names 2022-02-17 14:31:25 +03:00
lippfi
9272fc8cd7 Fix parseKeys 2022-02-17 14:24:57 +03:00
Alex Plate
118c12e7fe
Prepare to 1.10.0 release 2022-02-17 11:44:55 +03:00
Alex Plate
954e1a9099
Remove IJ api from MotionActionHandler 2022-02-16 18:28:38 +03:00
Alex Plate
5aeff6f914
Remove IJ api from EditorActionHandlerBase 2022-02-16 17:16:01 +03:00
Alex Plate
fb15049fbf
Include forEachCaret to VimEditor 2022-02-16 16:39:31 +03:00
Alex Plate
6f3a9c210e
Convert Argument to new API 2022-02-16 14:21:17 +03:00
Alex Plate
6fdd6d839e
Remove IJ API from CommandBuilder 2022-02-16 14:00:03 +03:00
Alex Plate
ac1101a410
Update wrapInsertedTextWithVisualMarks code 2022-02-16 12:53:40 +03:00
Alex Plate
2fd33e6ec2
Unbind command state from IJ api 2022-02-15 21:46:20 +03:00
Alex Plate
779c69a982
Abstract action executor 2022-02-15 21:46:20 +03:00
Alex Plate
3494286e66
Rename .java to .kt 2022-02-15 21:46:20 +03:00
Alex Plate
139b78d7f4
Add a protection from an accidental usage of equals in VimCaret and VimEditor 2022-02-15 21:46:19 +03:00
Alex Plate
daee2f615c
Remove IjVimEditor usages from KeyHandler 2022-02-15 21:46:19 +03:00
Alex Plate
710825ec28
Fix incorrect usage of template presentation 2022-02-15 21:46:19 +03:00
Alex Plate
478539911b
Update MappingInfo to use new api 2022-02-15 21:46:19 +03:00
Alex Plate
b21d984cf8
Switch from application service to singleton 2022-02-15 21:46:19 +03:00
Alex Plate
1a92cebf6b
Reformat KeyHandler 2022-02-15 21:46:18 +03:00
Alex Plate
fd3f939526
Remove few dependencies to IJ API 2022-02-15 21:46:18 +03:00
Alex Plate
7d28760fa1
Inline several methods into beforHandleKey 2022-02-15 21:46:18 +03:00
Alex Plate
4a0a1c95a9
Remove a few IJ classes from KeyHandler 2022-02-15 21:46:18 +03:00
Alex Plate
9da0c10141
Remove Ref from KeyHandler 2022-02-15 21:46:18 +03:00
Alex Plate
43b9ecdf3c
Get rid of Editor in KeyHandler.kt 2022-02-15 21:46:18 +03:00
Alex Plate
987952a2f2
Get rid of DataContext in KeyHandler.kt 2022-02-15 21:46:17 +03:00
Alex Plate
92f6ac57ad
Remove usages of flushDelayedKeyEvents
I'm not sure about this commit, but currently it seems like this method does nothing because of fixes in JBR

See 39265c4773de6a8e26e7ac376428687e1332dffe in IJ repository
2022-02-15 21:46:17 +03:00
Alex Plate
b4af51f3cc
Add vim implementation of logger 2022-02-15 21:46:17 +03:00
lippfi
4ba6e62ada Fix gv 2022-02-15 13:42:40 +03:00
lippfi
8f55551339 Mocked tests for tabmove 2022-02-14 13:11:58 +03:00
Alex Plate
f03d574e86 Update formatting 2022-02-13 00:12:41 +00:00
lippfi
cbb5fbe92e Add vimscript statistic 2022-02-11 14:54:34 +03:00
lippfi
6a376ad62c Add shortcut conflict statistic 2022-02-11 14:53:09 +03:00
lippfi
8e61853459 Add PluginState statistic 2022-02-11 14:51:44 +03:00
lippfi
b17bc1bb3e Add ActionTracker statistic 2022-02-11 14:48:15 +03:00
lippfi
1343c7603b Rename VimStatistic to OptionState 2022-02-11 14:46:18 +03:00
Alex Plate
62fb3f9c5a
Make IdeaVim compatible with 213+ only 2022-02-11 10:58:38 +03:00
Alex Plate
ce99c26c03
Introduce ExecutionContext - abstract context holder 2022-02-10 18:03:40 +03:00
Alex Plate
3571595838
Use VimEditor in Local scope of options 2022-02-10 17:10:30 +03:00
Alex Plate
aa62022218
Reorder functions 2022-02-10 16:26:36 +03:00
Alex Plate
2ff93270d7
Konvert keyHandler to kotlin 2022-02-10 16:17:59 +03:00
Alex Plate
c07719dd3d
Rename KeyHandler.java to KeyHandler.kt 2022-02-10 16:17:41 +03:00
Alex Plate
ee9f12180d
Extract VimActionExecutor 2022-02-10 13:18:23 +03:00
Alex Plate
8df3bc57c5
Execute action execution to a separate class 2022-02-10 13:15:54 +03:00
Alex Plate
0aabb2971e
Support extension handlers with a callback
After the refactoring of AceJump, the current approach is not synchronous anymore.
So, it's needed to explicitly notify IdeaVim that the motion was finished and IdeaVim can continue the execution
2022-02-10 12:55:44 +03:00
Alex Plate
e8f1dff61c
Add some comments for handler injector 2022-02-09 11:46:04 +03:00
Alex Plate
e5460d7a31
Extract keyHandlerKeeper 2022-02-08 18:20:12 +03:00
Alex Plate
2bb44c414f
Refactoring for the new api 2022-02-08 14:20:35 +03:00
Alex Plate
ef7442c488
Create carets() method in VimEditor 2022-02-08 14:20:34 +03:00
Alex Plate
775bde62c8
VimEditor update 2022-02-08 14:20:34 +03:00
Alex Plate
c5a504bde3
Top level editor is hidden behind VimEditor 2022-02-08 14:20:34 +03:00
Alex Plate
f7f7e010c4
Update dic 2022-02-08 14:20:34 +03:00
Matt Ellis
aed2d1159d fix(VIM-2470): Fix incorrect reset of cursor shape 2022-02-08 14:13:49 +03:00
lippfi
d2500df05e Better digraph support 2022-02-07 13:47:02 +03:00
lippfi
8922303a72 Fix paste 2022-02-07 13:45:11 +03:00
lippfi
cea4de03cd Add tabmove command 2022-02-07 13:44:56 +03:00
Alex Plate
9529c19b9b Update formatting 2022-01-30 00:11:14 +00:00
Alex Plate
b0f5c502d9
Inject VimEditor into keyHandler 2022-01-27 13:17:39 +03:00
Alex Plate
c3fc369bc4
[VIM-1028] Support global state
Not yet documented and enabled
2022-01-27 12:34:28 +03:00
lippfi
a5ef0d5edf Fix tab character for StringHelper.stringToKeys() 2022-01-26 21:37:10 +03:00
Alex Plate
1553aa774b
Add docs to VimPlugin 2022-01-26 17:01:36 +03:00
Alex Plate
2ebdbc5ac4
Do not update carets in notebook command mode 2022-01-26 16:57:46 +03:00
Alex Plate
e3ca172101
Update changes in plugin.xml 2022-01-26 16:57:46 +03:00
lippfi
17d4ec6c29 Fix option listeners 2022-01-26 16:43:28 +03:00
lippfi
bec317615d Better map <expr> context 2022-01-26 16:42:44 +03:00
Alex Plate
d00fd767ff
Add some docs regarding plugin initialization 2022-01-26 11:20:03 +03:00
Alex Plate
557652c526
Use executeNonCancelableSection for macro execution 2022-01-25 14:44:21 +03:00
Alex Plate
e138541495
Enable experimental api by default 2022-01-25 11:06:10 +03:00
Alex Plate
2518be2704
Fix(VIM-2504): Fix esc with using python notebooks 2022-01-25 10:52:39 +03:00
Alex Plate
42ec2b9dce
Disable new api for o commands 2022-01-25 10:28:23 +03:00
Alex Plate
9484599bfd
Remove duplicating copyright 2022-01-25 09:42:38 +03:00
Lonre Wang
dbbcf3860a Update VimVisualTimer.kt 2022-01-24 12:57:37 +03:00
Lonre Wang
ae983be0a8 Update OptionsManager.kt 2022-01-24 12:57:37 +03:00
Lonre Wang
f8156fbbca Update NotificationService.kt 2022-01-24 12:57:37 +03:00
lippfi
1909547543 Make OptionConstants non-internal 2022-01-24 12:53:07 +03:00
lippfi
1a122337fe Replace deprecated option data classes with constants 2022-01-24 02:27:33 +03:00
lippfi
bcf2578da9 Replace hardcoded option names with string constants 2022-01-24 00:52:28 +03:00
lippfi
06cd41ba0e Make VimScriptGlobalEnvironment deprecated 2022-01-23 02:35:53 +03:00
lippfi
64ec421cfc Rename parent to vimContext 2022-01-23 02:28:35 +03:00
lippfi
86fcda5afc Fix beep in source command 2022-01-23 02:05:23 +03:00
lippfi
e799d40803 Fix built-in functions with global context 2022-01-23 02:00:26 +03:00
lippfi
c84325a37c Replace Executable with VimLContext 2022-01-23 01:53:07 +03:00
Piotr Mikulski
9b4825db77 String colors that aren't supported properly 2022-01-21 15:04:51 +03:00
Piotr Mikulski
6a4bb7395b Print stderr when running a command just like vim does 2022-01-21 15:04:51 +03:00
Alex Plate
c8463d9b3e
Update dependencies and reformat 2022-01-21 14:17:13 +03:00
Michael Schertenleib
05414276f2 Support custom element names in vim-surround 2022-01-21 14:05:27 +03:00
Alex Plate
bec73749c2
[VIM-2494] Add logs for registers reading/writing 2022-01-21 11:50:26 +03:00
Alex Plate
0d4f9891c3
Fix(VIM-2471): Fix incorrectness 2022-01-19 17:24:19 +03:00
Alex Plate
d4f4765ffd
Fix(VIM-2471): Multiple [{ and ]} actions 2022-01-19 16:25:45 +03:00
Alex Plate
8902c0839c
Write down the issues for o in new API 2022-01-19 09:56:17 +03:00
Alex Plate
66fc8034ba
Correct indent for o command when the caret is in the middle of the indent 2022-01-18 11:22:39 +03:00
Alex Plate
a71916df84
Allow an accidental whitespace at the end of sethandler command 2022-01-18 10:06:53 +03:00
Alex Plate
5f10eb808e
Fix the O command on the line top 2022-01-17 10:22:25 +03:00
Alex Plate
6c1e7b0b60
Write tests for status string 2022-01-17 10:22:24 +03:00
Alex Plate
792c22a90a Update formatting 2022-01-16 00:12:11 +00:00
lippfi
eff2cd02f9 Add <C-char> support to VimL's double quoted strings 2022-01-15 12:40:34 +03:00
Alex Pláte
ce734906d4
Merge branch 'master' into feat/matchitHandlebars 2022-01-14 19:01:30 +03:00
Daniel Egger
4d9c606c79 Add Matchit support for Vue.js files 2022-01-14 18:56:00 +03:00
Alex Plate
2fb419253c
Setup sinceBuild for plugin verifier 2022-01-14 17:45:16 +03:00
Alex Plate
a0a009cb59
fix(VIM-2523): i command for the folder in the project tree 2022-01-14 15:45:29 +03:00
Alex Plate
7ff8ac76fa
Disable guarded tests for old api 2022-01-14 15:05:21 +03:00
Alex Plate
935c51c985
Support operations with python notebooks guarded blocks 2022-01-14 14:05:41 +03:00
Alex Plate
a8d0e698eb
New approach for folder processing in o command 2022-01-13 14:47:26 +03:00
Alex Plate
e88d0d1493
Corrections for o command 2022-01-13 12:28:33 +03:00
Alex Plate
898af47f89
o command with repeat 2022-01-13 11:14:11 +03:00
Alex Plate
84868c0fb5
Move O to new API 2022-01-13 09:59:22 +03:00
Alex Plate
8e2b7d2089
Fix repeating after o command with count 2022-01-13 09:54:41 +03:00
Alex Plate
f359ac49f3
Fix o command with folders 2022-01-13 09:18:19 +03:00
Alex Plate
37ce0925a5
Massive copyright data update 2022-01-13 08:59:49 +03:00
Alex Plate
23985aea7d
Move experimental api to the separate package 2022-01-13 08:57:09 +03:00
Alex Plate
3bd5ab970f
Use new api in o command 2022-01-13 08:52:37 +03:00
Kevin Suen
fbdcbdc626 Add matchit support for handlebars 2022-01-12 11:50:20 -08:00
Alex Plate
f197ee54d1
Fix cc with indenting 2022-01-12 19:38:29 +03:00
Alex Plate
efa0489f7b
Introduce Pointer 2022-01-12 07:02:20 +03:00
Alex Plate
66dd90a090
Update some docs for experimental API 2022-01-11 21:15:38 +03:00
Alex Plate
68cfb12746
Rename line pointers 2022-01-11 19:50:56 +03:00
Alex Plate
4ad14f3404
Add docs about offsets 2022-01-11 17:55:50 +03:00
Alex Plate
4bcf44570b
Use offsets in experimental api 2022-01-11 17:23:48 +03:00
lippfi
5f3a78e7ce Add register support to let command 2022-01-10 14:56:07 +03:00
lippfi
c7872ad841 Add an option way to track action ids 2022-01-10 13:05:28 +03:00
Alex Plate
9eeab756e4 Update formatting 2022-01-02 00:11:44 +00:00
Alex Plate
ef971a1236
Support indenting after cc 2021-12-29 15:49:45 +03:00
Alex Plate
5ec851a120
Remove useless method 2021-12-28 09:27:57 +03:00
Alex Plate
2a94ff2ef6
Review experimental api 2021-12-27 12:10:31 +03:00
Alex Plate
765d876a51
Use delete via the experimental API 2021-12-27 12:10:30 +03:00
Alex Plate
a0c8e26b38 Update formatting 2021-12-26 00:12:11 +00:00
Alex Plate
4b4f4b3d8f
Add draft of experimental API 2021-12-23 22:49:23 +03:00
Alex Plate
6a36599a29
Revert "Revert "Update formatting""
This reverts commit 27fb36a6c5.
2021-12-21 12:51:10 +03:00
Alex Plate
d11ab20617
Revert "Revert "Support new marks""
This reverts commit 932296af
2021-12-21 12:51:09 +03:00
Alex Plate
ff48a9dea2
Formatting 2021-12-21 11:57:08 +03:00
Alex Plate
0a1812ec8c
Release preparation 2021-12-21 11:36:53 +03:00
Alex Plate
113d4ac078
Rollback changes regarding esc in normal mode 2021-12-21 11:36:53 +03:00
Alex Plate
932296afb6
Revert "Support new marks"
This reverts commit 134c68c705.
2021-12-21 11:36:53 +03:00
Alex Plate
27fb36a6c5
Revert "Update formatting"
This reverts commit 4e37ccfff8.
2021-12-21 11:36:52 +03:00
Alex Plate
f5e0f21869 Update formatting 2021-12-19 00:11:15 +00:00
lippfi
180c35d5c2 Fix toggle for set command 2021-12-16 18:15:32 +03:00
Alex Plate
1299f107dd
fix(VIM-2502): Fix the shape of new carets 2021-12-15 10:44:08 +03:00
Alex Plate
1af0b00892
Get rid of replace character submode 2021-12-14 12:42:55 +03:00
Alex Plate
36f7219964
Get rid of register pending submode 2021-12-14 12:08:41 +03:00
Alex Plate
529ad853ee
Get rid of SINGLE_COMMAND submode and replace it with a regular mode 2021-12-14 04:18:55 +03:00
Alex Plate
4e37ccfff8 Update formatting 2021-12-12 00:13:09 +00:00
Alex Plate
134c68c705
Support new marks 2021-12-10 11:31:57 +03:00
Alex Plate
6e82008ffa
Prepare to 1.9.0 release 2021-12-10 09:51:30 +03:00
Alex Plate
016bcc00d8
New jupyter notebook fixes 2021-12-09 11:23:58 +03:00
lippfi
51ba63faae Fixed parent for execute and substitute command 2021-12-04 22:21:36 +03:00
lippfi
f4f1e397cb Better strings 2021-12-04 21:47:27 +03:00
Alex Plate
721117ce1b
Handle esc in all cases except normal mode 2021-12-02 22:55:17 +03:00
lippfi
ea8670702a Disable normal command 2021-11-29 19:23:55 +03:00
Alex Plate
b468fef242
Fix track action id stopping 2021-11-26 18:57:50 +03:00
lippfi
150a70e69f Removed deprecated EditorDataContext constructor call 2021-11-26 18:33:37 +03:00
Alex Plate
b9fb0f2bcd
Fix dot repeat with count 2021-11-26 17:46:32 +03:00
lippfi
d4a8b8e400 Optimise imports 2021-11-26 14:53:30 +03:00
lippfi
177115e2fc Submatch function 2021-11-26 13:57:12 +03:00
lippfi
85bc12df59 Substitute with expressions 2021-11-26 13:33:36 +03:00
lippfi
1da818b0d5 Fix pattern in mappings 2021-11-25 10:45:16 +03:00
Alex Plate
e29c268d0b
Extract progress strings 2021-11-23 17:22:36 +03:00
Alex Plate
2758e89a51
Draft of a potemkin progress during macro execution 2021-11-22 20:40:56 +03:00
lippfi
d0670d0244 Macro without invokeLater 2021-11-22 18:45:55 +03:00
Alex Plate
1e2005451c Update formatting 2021-11-21 00:10:37 +00:00
Alex Plate
29a95ca592
Fix missing import 2021-11-19 12:06:43 +03:00
Alex Plate
5bfff2a398
Prepare to the EAP 2021-11-19 11:55:42 +03:00
lippfi
4d26947208 Pre-EAP commit 2021-11-19 11:21:27 +03:00
lippfi
f1de741bd5 Fix to prevent infinite loops 2021-11-19 06:14:37 +03:00
lippfi
3394d93b43 Fix register 2021-11-19 05:51:32 +03:00
lippfi
02c64feff8 Fix let command 2021-11-19 04:36:22 +03:00
lippfi
f2ba162359 Fix parent in functions 2021-11-19 04:17:32 +03:00
Alex Plate
16c5d11ead
Refactor editor holder in ExTextField 2021-11-18 18:14:29 +03:00
lippfi
3e97c5d5fc Replace service() by ServiceManager.getService() 2021-11-18 14:28:56 +03:00
Alex Plate
cb5499f82f
Update plugin.xml 2021-11-18 14:26:26 +03:00
lippfi
a12793e67a Made CommandLineHelper a service 2021-11-18 13:42:48 +03:00
lippfi
affec9bb61 Fix macro with count 2021-11-18 13:21:04 +03:00
lippfi
fb62ec4c77 Fix float result in expression register 2021-11-18 12:32:24 +03:00
lippfi
cf5cc92258 Make source command to throw exceptions 2021-11-18 07:19:28 +03:00
lippfi
ca934fe514 Fix set command 2021-11-18 07:18:44 +03:00
lippfi
d6ca75006a Expression register 2021-11-18 06:52:00 +03:00
Alex Plate
0803b401e7
Update kotlin and gradle 2021-11-17 14:44:30 +03:00
lippfi
2c5442c044 Rename "delaymacro" to "ideadelaymacro" 2021-11-17 12:36:56 +03:00
Alex Plate
db4324c478
Use a different method for getting option values 2021-11-17 12:25:48 +03:00
lippfi
a8afca4ccf Normal command 2021-11-17 12:16:46 +03:00
Alex Plate
6849bab741
Add more options to the statistic 2021-11-17 12:15:24 +03:00
lippfi
ff72f24433 Normal command 2021-11-17 12:02:25 +03:00
lippfi
19ea1b204c Set default path to project for CmdFilterCommand 2021-11-17 12:02:25 +03:00
Alex Plate
a9e8dc7b9f
Fix compilation issues 2021-11-17 10:49:06 +03:00
Alex Plate
ee14eac009
Rewrite ctrl-^ to use a project service with saved last tab 2021-11-17 10:34:38 +03:00
Alex Plate
3c1bbd5a7f
Add few statistic items 2021-11-17 10:34:38 +03:00
lippfi
218cfaca44 Add contains method to OptionService 2021-11-17 04:59:17 +03:00
lippfi
8a78d76a20 OptionService.Scope as a sealed class 2021-11-17 04:39:31 +03:00
lippfi
1ead9f1443 Format 2021-11-16 13:49:38 +03:00
lippfi
c53dd48437 Fix adding options in VimExtensionRegistrar 2021-11-16 13:10:01 +03:00
lippfi
001a1d648c Fix merge 2021-11-16 12:41:27 +03:00
Alex Plate
6bbd162c72 Fix AceJump issues 2021-11-16 12:18:25 +03:00
Alex Plate
8d7a2faf1b Update copyright info 2021-11-16 12:16:57 +03:00
Alex Plate
df946f8525 fix(VIM-2026): Intellij uses a different initialization approach during settings reading 2021-11-16 12:16:55 +03:00
Alex Plate
58f8c315e6 Reformat code 2021-11-16 12:13:24 +03:00
lippfi
c6a379048e Changed object in VariableService to applicationService 2021-11-16 12:13:23 +03:00
Alex Plate
02dd52ccb9 Draft of statistic collector 2021-11-16 12:05:56 +03:00
Alex Plate
abb93af3fb Reformat files 2021-11-16 12:05:56 +03:00
lippfi
06b18b8fb9 Fix if statement 2021-11-16 12:05:56 +03:00
Alex Plate
5921f7f889 Remove redundant qualifier name 2021-11-16 12:03:51 +03:00
Alex Plate
e097880e95 Add an ability to enable matchit using packadd syntax 2021-11-16 12:03:48 +03:00
Alex Plate
99a0dc6c53 Get rid of PlatformUtils usages
This class should not be used and replaced with ide-specific configurations
2021-11-16 12:02:25 +03:00
lippfi
191aba1f95 Add packadd rule to grammar 2021-11-16 12:00:10 +03:00
lippfi
e8d7a7f8bf Make OptionChangeListener an interface 2021-11-16 10:35:30 +03:00
lippfi
836c1084c4 Optimize MultikeyMap for options 2021-11-16 10:17:48 +03:00
lippfi
649bfdc220 Fix resetAllOptions 2021-11-16 10:11:10 +03:00
lippfi
8d6529ccf1 Better OptionChangeListener 2021-11-16 09:17:31 +03:00
lippfi
c936692403 Moved show* method from OptionService to SetCommand 2021-11-16 08:43:26 +03:00
lippfi
c3d3f2ab50 Fix SpecialKeyHandlers 2021-11-15 15:54:17 +03:00
Alex Plate
f289b19310
Correct usage of option service 2021-11-15 15:51:35 +03:00
lippfi
9866231129 Replace object with applicationService in OptionServiceImpl 2021-11-15 13:04:28 +03:00
lippfi
e0b5b54dda Add more methods to OptionService 2021-11-15 13:02:54 +03:00
lippfi
2687ecc02e Renamed methods 2021-11-15 12:45:01 +03:00
lippfi
3699920515 Add more methods to OptionService 2021-11-15 06:38:22 +03:00
lippfi
4481da75b7 OptionChangeListener 2021-11-15 06:32:04 +03:00
lippfi
037b636be9 Format 2021-11-14 01:20:30 +03:00
lippfi
12ded24cd4 Old and new options are compatible 2021-11-14 01:20:07 +03:00
lippfi
2b5c13e3da IdeaRefactorModeHelper 2021-11-13 23:32:37 +03:00
lippfi
043f07190c Replace older options with new ones 2021-11-13 23:21:24 +03:00
lippfi
dc0758274e Support adding options from plugins 2021-11-11 02:50:48 +03:00
lippfi
0d9aa85a6a Add missing options 2021-11-11 02:24:29 +03:00
lippfi
810440abe7 Better addListener method 2021-11-11 02:17:06 +03:00
lippfi
177aaebaf8 Add scope to optionExpression 2021-11-11 02:02:58 +03:00
lippfi
ba11c565d8 Mark old classes as deprecated 2021-11-11 01:58:43 +03:00
lippfi
5320d3a4fd Move GuiCursorOption subclasses to GuiCursorOptionHelper 2021-11-11 01:41:43 +03:00
lippfi
82f181b80b Temporarily returned OptionsManager to set command 2021-11-11 01:26:00 +03:00
lippfi
eb43fa7c4c Update listeners 2021-11-11 01:08:31 +03:00
lippfi
86c0357725 Better options support in let command 2021-11-11 01:01:02 +03:00
lippfi
844dac6106 set and setlocal commands 2021-11-11 01:00:02 +03:00
lippfi
0a923e98ab Made parseNumber method public 2021-11-11 00:54:45 +03:00
lippfi
a85a5bd055 Add helper classes for options 2021-11-11 00:54:13 +03:00
lippfi
ca51798445 Add OptionService 2021-11-11 00:49:42 +03:00
lippfi
73146ea643 Fix augroup 2021-11-11 00:40:06 +03:00
Alex Plate
f186f4aa5c
fix(VIM-2449): Use state to check if the selection is block (instead of multiple ranges) 2021-11-10 19:16:26 +03:00
Alex Plate
95837605b8
Remove unused argument 2021-11-10 18:56:00 +03:00
Alex Plate
adb71068e3
Add command for packadd 2021-11-10 18:08:58 +03:00
Matt Ellis
296b714282 fix(VIM-2462): reset caret when disabling plugin 2021-11-09 19:35:19 +03:00
Alex Plate
a8098c2c4c
fix(VIM-2461): Show action id before action execution 2021-11-08 13:19:31 +03:00
Alex Plate
1eb91889d4
Fix EA-402385
https://web.ea.pages.jetbrains.team/#/issue/402385
2021-11-08 11:45:28 +03:00
Alex Plate
5d7e0a1260
Add a note to the documentation 2021-11-08 11:06:44 +03:00
Matt Ellis
8344207608 fix(VIM-2432): handle scrolloff with <C-D> and <C-U> 2021-11-08 11:03:58 +03:00
Alex Plate
cc45168e25 Update formatting 2021-11-07 00:10:26 +00:00
Alex Plate
81c898dd9e
[VIM-2456] Refactor command execution in a way that environment information is collected before running the command.
This also fixes VIM-2397
2021-11-04 13:26:56 +03:00
Alex Plate
87aa50c7be
Reformat file 2021-11-04 13:26:45 +03:00
lippfi
bb4b3dfe61 Fix augroup 2021-11-03 17:31:59 +03:00
lippfi
55aaa6e2c6 Fix split command 2021-11-03 16:30:55 +03:00
lippfi
1fc866eeee Add 'se' abbrev to set command 2021-11-03 16:30:55 +03:00
Alex Plate
6db42dc736
[VIM-2199] Fix autocompletion for AppCode 2021-11-01 11:42:20 +03:00
Alex Plate
c1d86a4238
Fix AppCode template detection 2021-11-01 11:34:20 +03:00
Alex Plate
ec761dbe3d
[VIM-2332] Make IdeaVim depending on com.intellij.modules.platform module
This should make IdeaVim compatible with CWM
2021-11-01 10:03:59 +03:00
Alex Plate
1328a314de
Add exception for strange EA
https://web.ea.pages.jetbrains.team/#/issue/266279
2021-11-01 10:03:59 +03:00
lippfi
06b0a1292f Fix spaces between range units 2021-10-29 15:51:31 +03:00
Alex Plate
11a16a54fc
Show the reload action if the IJ starts with the .ideavimrc file 2021-10-29 11:32:20 +03:00
637ae21089 [VIM-2255] Missing reload icon in .ideavimrc on Windows 2021-10-29 10:09:48 +03:00
lippfi
8fe1b0891b Fix ! command 2021-10-27 13:42:46 +03:00
Alex Plate
c437a18288
Prepare for 1.8.0 release 2021-10-27 10:26:21 +03:00
lippfi
84ea9266c2 Commands do not require space before argument anymore 2021-10-26 16:24:03 +03:00
lippfi
54abaebe17 Deleted rangesCount from Ranges.kt 2021-10-26 15:11:18 +03:00
lippfi
a16c860ba8 Better marks support in commands 2021-10-26 15:06:03 +03:00
lippfi
b1b7e3439f Underscores in substitute command 2021-10-26 12:49:04 +03:00
Alex Plate
1df75fe25c
Fix selection with vim exchange
VIM-2359
https://github.com/JetBrains/ideavim/discussions/388
2021-10-26 11:16:02 +03:00
lippfi
0da18b81b6 Variable locking 2021-10-20 13:22:08 +03:00
lippfi
fc81c6329b Better ambiguous parsing with .
Added originalString field to Expression
2021-10-20 11:53:33 +03:00
Alex Plate
3d92b989ce
Disable disposed check in order to find the stack trace of disposed project 2021-10-19 22:53:18 +03:00
Alex Plate
b942e8a950
Do not use Disposer.isDiposed 2021-10-19 22:53:17 +03:00
lippfi
29131b4644 Fixed operator precedence 2021-10-19 20:52:23 +03:00
lippfi
b897b118ca Added scope to for loop variable 2021-10-19 17:43:00 +03:00
lippfi
145af2b6ee Refactoring 2021-10-19 17:40:57 +03:00
lippfi
09a38a854c Comments are back 2021-10-19 17:28:14 +03:00
lippfi
995779a294 Better let command (list and dictionaries are passed by reference) 2021-10-19 14:32:16 +03:00
lippfi
67f38fc646 Fixed parents for Executable 2021-10-19 14:32:16 +03:00
lippfi
316f1fa925 added deepcopy() method to VimDataType 2021-10-19 14:32:16 +03:00
Alex Plate
21f5ad6c0a
Lock selection suppressor only on selection starting 2021-10-19 09:51:53 +03:00
Alex Plate
6e6e52f316
Remove deprecated modifications 2021-10-18 09:55:32 +03:00
lippfi
71c19b3ef2 Added nerdtree abbrev to NERDTree option
(https://github.com/JetBrains/ideavim/discussions/378)
2021-10-15 14:18:43 +03:00
lippfi
0befc6385d Added more constructors to SimpleExpression class 2021-10-15 12:18:50 +03:00
lippfi
22371b4b07 Merge remote-tracking branch 'origin/master' 2021-10-15 12:03:49 +03:00
lippfi
913d711b80 Curly braces names 2021-10-15 12:03:30 +03:00
lippfi
d17d12c805 Removed Variable class from plugins 2021-10-15 11:57:45 +03:00
lippfi
4d64109e2c Scope as function argument 2021-10-14 12:08:33 +03:00
Alex Plate
d66d807cff
Reset skip events on click 2021-10-14 11:39:10 +03:00
lippfi
e7a68f06b3 Override toString() method for Scope class 2021-10-14 10:46:34 +03:00
lippfi
fd49e86e17 Finish statement 2021-10-14 08:56:10 +03:00
lippfi
337621ca4a For loops with list 2021-10-14 08:54:52 +03:00
lippfi
0e38a4e4f0 Formatting 2021-10-14 07:47:49 +03:00
Alex Plate
c19a160c9c
Update notifications 2021-10-13 11:37:02 +03:00
Alex Plate
c390e06e63
Use Path 2021-10-13 11:31:07 +03:00
Alex Plate
00d6a948d0
Update extension point listener 2021-10-13 11:12:47 +03:00
Alex Plate
6f1c2a1a81
Convert lookup listener to TOPIC subscription 2021-10-13 11:02:34 +03:00
Alex Plate
47ba907eb7
Update changenotes 2021-10-12 16:41:25 +03:00
Alex Plate
328c4288c2
Fix since version in plugin.xml 2021-10-12 15:40:22 +03:00
Alex Plate
b7c11ff852
Update minimal IJ version to 203+ 2021-10-12 15:26:35 +03:00
Alex Plate
bf86cd2a51
Keep compatibility in tests 2021-10-12 14:34:29 +03:00
Alex Plate
2085e9cafd
Make IJ compatible with older versions of ij (212<) 2021-10-12 13:26:22 +03:00
lippfi
898e5f8bda Standard project layout 2021-10-11 01:29:18 +03:00
lippfi
a34d56b7df Fixed default values in functions 2021-10-11 00:05:09 +03:00
lippfi
13feaa7581 IdeaVim ignore comment's great return 2021-10-10 22:13:23 +03:00
lippfi
6bd2bb884a Faster parsing 2021-10-10 19:16:01 +03:00
lippfi
14d132638d ideaVim ignore comment no longer exists 2021-10-08 04:18:22 +03:00
lippfi
9e62636059 Optional function arguments 2021-10-08 04:13:24 +03:00
lippfi
a3b2b4920a Comments are skipped during parsing 2021-10-08 00:05:54 +03:00
lippfi
e7f128ee59 Anonymous functions 2021-10-08 00:04:54 +03:00
lippfi
9f0ecd7f73 Better function calls and call command 2021-10-05 03:24:16 +03:00
lippfi
505aeff544 VIM-2417 fix bars in substitute command 2021-10-01 20:11:24 +03:00
lippfi
97502a5bd5 Function as method call 2021-10-01 03:31:20 +03:00
lippfi
c0f8fd8c6b call command 2021-10-01 03:31:20 +03:00
lippfi
160b1b240a Falsy operator 2021-10-01 03:31:20 +03:00
lippfi
8d76b51683 ".." as concatenation operator 2021-10-01 03:31:20 +03:00
lippfi
a78bb51831 Added function flags 2021-10-01 03:31:20 +03:00
lippfi
db19d0819e Added "lambda" and "function as method" rules to grammar 2021-10-01 03:31:20 +03:00
lippfi
0bc298014d Fixed string rule 2021-09-27 14:31:39 +03:00
lippfi
63f85a8099 lua << END is skipped now 2021-09-26 19:10:38 +03:00
lippfi
cc16d5ba15 VIM-2411. Added tabs to INLINE_SEPARATOR. Much better comments 2021-09-24 09:47:25 +03:00
lippfi
fa3afe188e VIM-2409. Removed inline comment from SubstituteCommand's rule 2021-09-23 17:52:15 +03:00
lippfi
6df2db86c3 VIM-2406. Added patterns with omitted "/" or "?" at the end of the pattern to GoToLineCommand 2021-09-23 17:32:39 +03:00
lippfi
7791de490d Removed unnecessary spaces from grammar 2021-09-23 13:31:52 +03:00
lippfi
754a8c7250 global and vglobal commands with pipes 2021-09-22 16:23:23 +03:00
lippfi
88b0f31590 Emojis 2021-09-22 15:40:53 +03:00
lippfi
0cda2241ed Deleted "lambda" and "function as method" rules 2021-09-20 00:11:10 +03:00
lippfi
9f7b6a281b Fixed comma at the end of a literal dictionary 2021-09-20 00:11:10 +03:00
lippfi
10ea780cdc Better grammar 2021-09-20 00:11:10 +03:00
lippfi
19561bb1f1 Fixed comment rule 2021-09-20 00:11:10 +03:00
lippfi
8088789f51 Fixed augroup and autocmd 2021-09-20 00:11:10 +03:00
lippfi
5dec91caa3 Added lambdas and functions as methods to grammar 2021-09-20 00:11:10 +03:00
lippfi
0c28a9a79b More loyal grammar 2021-09-20 00:11:10 +03:00
lippfi
187e5a752a Fixed operators precedence 2021-08-17 14:02:47 +03:00
lippfi
f6720b3d37 Made ranges great again 2021-08-16 22:26:07 +03:00
lippfi
8a2d3e1aed "ideaVim ignore" comment 2021-08-16 20:22:24 +03:00
lippfi
f69a284b3f '\r' fix 2021-08-16 16:11:00 +03:00
lippfi
9f1bb44824 More loyal grammar with parametrized tests 2021-08-16 15:45:08 +03:00
lippfi
719b80baa1 Added function flags to grammar &
Added inline comment to let command &
Fixed parser (visitor is no longer called in scripts with errors)
2021-08-13 13:33:46 +03:00
lippfi
d4749f4eb8 Lua code in .vimrc is skipped during parsing 2021-08-12 14:39:27 +03:00
lippfi
88ef5a3467 More loyal to spaces and newlines grammar 2021-08-12 14:39:27 +03:00
lippfi
56466f889b Fixed map command names 2021-08-12 14:39:27 +03:00
lippfi
5ecfab65fa Added more command names 2021-08-12 14:39:27 +03:00
lippfi
2efb08197f Parsing errors handling 2021-08-12 14:39:27 +03:00
lippfi
b73fc88313 One-line statements can be written in multiline way 2021-08-12 14:39:27 +03:00
lippfi
73c1dc8118 Added 'execute' command 2021-08-12 14:39:27 +03:00
lippfi
509a202f93 Fixed commands that do not support inline comments 2021-08-12 14:39:27 +03:00
lippfi
16476256c3 Replaced handlers with commands 2021-08-12 14:39:27 +03:00
lippfi
82ed892166 Grammar refactoring 2021-08-03 11:54:49 +03:00
lippfi
2b7c311a2b Removed "originalString" property from commands 2021-07-31 11:31:01 +03:00
lippfi
46788cc6c6 Added vimScript package & antlr grammar 2021-07-30 17:33:29 +03:00