1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2024-10-17 16:42:46 +02:00
Commit Graph

1603 Commits

Author SHA1 Message Date
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