Commit Graph
265 Commits
Author SHA1 Message Date
1grzyb1 a00e382bdf VIM-4228 Refactor rider tests to use RemoteRobot 2026-10-14 16:28:42 +02:00
1grzyb1 398b161704 Wait for rpc modal input before next keystrokes
When rpc call was made and it showed modal dialog keystroke were lost during that time
2026-10-13 15:41:38 +02:00
1grzyb1 36ef5574bd Mae sure C-B is handled by ide in large file tests 2026-10-13 15:41:38 +02:00
dependabot[bot] 1033626866 Bump org.junit.vintage:junit-vintage-engine from 6.1.2 to 6.1.3
Bumps [org.junit.vintage:junit-vintage-engine](https://github.com/junit-team/junit-framework) from 6.1.2 to 6.1.3.
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r6.1.2...r6.1.3)

---
updated-dependencies:
- dependency-name: org.junit.vintage:junit-vintage-engine
  dependency-version: 6.1.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-13 10:57:32 +00:00
1grzyb1 81ad363113 VIM-4342 publish metrics for large file tests 2026-10-13 10:37:34 +02:00
1grzyb1 bd0f361afa VIM-4341 Run search count on background thread
For large files running search count blocked edt which caused IDE freezes.
Now we first try to quickly show coutn and if we are not able in given threshold move it to other thread and later on update UI accordingly.
Additionally added tests for large files
2026-10-13 10:37:34 +02:00
1grzyb1 1e3c671c0c VIM-2524 calculate indent after cc
set proper indent after performing cc. previously we were just using that was already set not from code style
2026-10-09 09:49:32 +02:00
1grzyb1 6f48fd9903 Complete action command ideavimrc file 2026-10-05 12:04:26 +02:00
Grzybek d99f46937f VIM-1153 replay all keystrokes during . (#2088)
* VIM-1153 replay all keystrokes during .

we were storing actions and commands to replay during . repeat. Due to that we had to do a lot of strange logic to move cursor after ide chagnes. Becouse of that renaming tag element didn't work.

To make it work and more vim like we store real keystrokes and replay them

* VIM-1153 replay autocomplete

in new mechanism C-Y was working on active lookup and during replay there was no lookup. to fix that we go through action path which adds those keys by itself but we need to drop C-Y from RedoBuffer stack as it's replaved by actruall charachters

* VIM-1153 Fix other lookup actions

* VIM-1153 keep lookup commands as separate ones

Extracted all lookup commands as separate handlers as it was confusing to have seprate paths depending on isActiveLookup in handlers
2026-09-29 10:31:40 +00:00
Grzybek 60d17b0c83 VIM-4331 keep the indent of a new line when leaving Insert mode (#2084)
`didAutoIndent` was set for `o`, `O` and Enter as well as for `cc` and `S`,
so leaving Insert mode without typing anything deleted the indent of a line
that had just been opened.

Vim does delete it, and it does so for an indent computed by 'indentexpr' or
'cindent' too (`fixthisline()` in indent.c). This is a deliberate difference:
in the IDE the indent comes from language support, and a line you have just
opened is expected to stay where it is. `cc` and `S` still follow Vim, since
there the line held text a moment ago and its leftover indent is noise.
2026-09-25 10:40:17 +02:00
1grzyb1 d682906047 VIM-3198 add fast scroll in nerdtree
add mapping for <c-d> and <c-u> in nerdtree for fast scroll
2026-09-22 10:31:04 +02:00
1grzyb1 0ae4b2698a VIM-2629 commentary block comments variable
Allow to disbale char-ise block comments.
Original plugin doesn't support comment part of line.
Here we add `commentary_block_comments` variable to allow to disable it
2026-09-14 08:57:22 +02:00
1grzyb1 fbb1836ddf VIM-2010 fix editor leak in tc tests 2026-09-08 08:56:02 +02:00
1grzyb1 2d3a36d843 VIM-2010 fix repeat insert with import
Vim was recording strokes of adding import while insert
Also after lookup it first added java.util.List and after ther it simplified it to improt
2026-09-07 11:28:10 +02:00
1grzyb1 fafc5d25a4 Add idea prefix to custom options
To not confuse our internal options with vim ones we've added idea prefix to all of them
Old names will still work as deprecated names
2026-09-03 09:03:23 +02:00
1grzyb1 96e18b38ad Make 2026.1 still working wiht ideavim 2026-09-02 10:26:38 +02:00
1grzyb1 e85c2aa78a Remove localization jars from classpath 2026-09-02 10:26:38 +02:00
1grzyb1 5ee595aac4 VIM-3058 alternate file name register 2026-08-27 09:19:18 +02:00
1grzyb1 b7219ff413 VIM-1266 file name from percent register
Implement % register that returns current file name
2026-08-21 08:49:52 +02:00
1grzyb1 7b9b921cbd VIM-2168 split mode tests for window jumps 2026-08-19 13:30:24 +02:00
1grzyb1 e66a3915a9 Put caret at end of line when pasting without reformat 2026-08-17 11:28:27 +02:00
1grzyb1 9ab5026633 VIM-2370 respect none reformat option when pasting 2026-08-17 09:16:01 +02:00
dependabot[bot] 017254780d Bump org.junit.jupiter:junit-jupiter from 6.1.2 to 6.1.3
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit-framework) from 6.1.2 to 6.1.3.
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r6.1.2...r6.1.3)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
  dependency-version: 6.1.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-12 15:41:24 +00:00
1grzyb1 c15110ec25 Fix spellchecker for split mode 2026-07-29 13:40:36 +02:00
1grzyb1 a40024cf75 VIM-4287 Expand characterwise range to whole lines when promoted to linewise delete
this fixes issue with removing with dat
2026-07-28 09:01:13 +02:00
dependabot[bot] bf914b7280 Bump org.jetbrains:jetCheck from 0.2.3 to 0.3.0
Bumps [org.jetbrains:jetCheck](https://github.com/JetBrains/jetCheck) from 0.2.3 to 0.3.0.
- [Changelog](https://github.com/JetBrains/jetCheck/blob/master/CHANGES.md)
- [Commits](https://github.com/JetBrains/jetCheck/commits)

---
updated-dependencies:
- dependency-name: org.jetbrains:jetCheck
  dependency-version: 0.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-22 15:41:04 +00:00
dependabot[bot] 147334ca43 Bump org.kodein.di:kodein-di-jvm from 7.32.0 to 7.33.0
Bumps [org.kodein.di:kodein-di-jvm](https://github.com/kosi-libs/Kodein) from 7.32.0 to 7.33.0.
- [Release notes](https://github.com/kosi-libs/Kodein/releases)
- [Changelog](https://github.com/kosi-libs/Kodein/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kosi-libs/Kodein/compare/v7.32.0...v7.33.0)

---
updated-dependencies:
- dependency-name: org.kodein.di:kodein-di-jvm
  dependency-version: 7.33.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-22 15:40:46 +00:00
dependabot[bot] ae41090199 Bump org.junit.jupiter:junit-jupiter from 6.1.0 to 6.1.2
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit-framework) from 6.1.0 to 6.1.2.
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r6.1.0...r6.1.2)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
  dependency-version: 6.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-15 16:00:10 +00:00
dependabot[bot] 28d6927894 Bump org.junit.vintage:junit-vintage-engine from 6.1.1 to 6.1.2
Bumps [org.junit.vintage:junit-vintage-engine](https://github.com/junit-team/junit-framework) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r6.1.1...r6.1.2)

---
updated-dependencies:
- dependency-name: org.junit.vintage:junit-vintage-engine
  dependency-version: 6.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-15 15:40:45 +00:00
1grzyb1 bc57cab3df VIM-986 Properly inserting selected text from lookup
We need a custom handler for inserting text from lookup, so we will strip the already typed prefix
2026-07-14 08:48:33 +02:00
1grzyb1 ba89349d28 VIM-986 File path completion with c-x c-f 2026-07-14 08:48:33 +02:00
1grzyb1 8d228299e5 VIM-1000 disable x completion on caret movement 2026-07-14 08:48:33 +02:00
1grzyb1 d2212900b6 VIM-1000 Match whole line using C-L 2026-07-14 08:48:33 +02:00
1grzyb1 b101203eec VIM-1000 Add x completion mode 2026-07-14 08:48:33 +02:00
dependabot[bot] c432ffd8d5 Bump org.junit.vintage:junit-vintage-engine from 6.1.0 to 6.1.1
Bumps [org.junit.vintage:junit-vintage-engine](https://github.com/junit-team/junit-framework) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r6.1.0...r6.1.1)

---
updated-dependencies:
- dependency-name: org.junit.vintage:junit-vintage-engine
  dependency-version: 6.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-08 15:39:55 +00:00
1grzyb1 d2f41d165d VIM-2178 Use original mapping in multi-cursor extension
We had discreppancy between ideavim implementation of multi-cursor plugin and original one as we defined different mappings.
Here we restore original mapping and add flag to switch to old IdeaVim alt-based mappings
2026-07-07 10:26:20 +02:00
1grzyb1 5399e15528 VIM-4245 adjust caret to tamplate range
when refactor mode is set to keep we put cursor one char after the template instaed on last char in template
2026-06-23 08:49:42 +02:00
1grzyb1 0ba3bffd30 VIM-4245 Normalize caret after ij action
ij actions might leave caret on `\n` which is not allowed in normal mode and resulted in strange behavior like l moving cursor left
2026-06-23 08:49:42 +02:00
1grzyb1 22e626ad4b VIM-1082 Check for end line motion fold 2026-06-19 13:19:30 +02:00
1grzyb1 c6f787ede1 VIM-1082 properly detect line end when 2026-06-19 13:19:30 +02:00
1grzyb1 d63510c7b8 VIM-1082 folds at begining of line 2026-06-19 13:19:30 +02:00
1grzyb1 aff1d4db63 VIM-1082 delete fold only when motion covers start of region
We shouldn't mimic exactly vim here as it always remove whole line with fold region but in ij fold might be in middle of line or just end of it so we don't want to delete fold content whne we do dl in middle of line
2026-06-19 13:19:30 +02:00
1grzyb1 78ebb9122c VIM-1082 motions over fold regions
motions on closed fold regions didn't take into account this fold region so dd only deleted first line without collapsed content
2026-06-19 13:19:30 +02:00
1grzyb1 5f5ee86df1 Fix returnTo after visual selection
When user goes into insert mode and then select text using mouse after deseelct it should get back to insert mode not normal like it was right now.
2026-06-18 10:24:04 +02:00
1grzyb1 b8a0b40b27 VIM-3049 accpet completion with ctrl+Y 2026-06-17 12:51:51 +02:00
1grzyb1 e43cb52c05 VIM-3049 close completion with ctrl+E 2026-06-17 12:51:51 +02:00
1grzyb1 990d75af55 VIM-1617 YouCompleteMe plugin support
Add plugin that allows to cycle through completion using tab instead of arrow keys
2026-06-09 09:02:59 +00:00
dependabot[bot] 29b7c862c0 Bump org.junit.jupiter:junit-jupiter from 6.0.3 to 6.1.0
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit-framework) from 6.0.3 to 6.1.0.
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r6.0.3...r6.1.0)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-27 18:14:53 +00:00
dependabot[bot] 7ac369c630 Bump org.kodein.di:kodein-di-jvm from 7.31.0 to 7.32.0
Bumps [org.kodein.di:kodein-di-jvm](https://github.com/kosi-libs/Kodein) from 7.31.0 to 7.32.0.
- [Release notes](https://github.com/kosi-libs/Kodein/releases)
- [Changelog](https://github.com/kosi-libs/Kodein/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kosi-libs/Kodein/compare/v7.31.0...v7.32.0)

---
updated-dependencies:
- dependency-name: org.kodein.di:kodein-di-jvm
  dependency-version: 7.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-27 18:13:33 +00:00
1grzyb1 14e7cfe0e7 VIM-4245 Fix repeat-insert undo grouping so one u reverts one logical change
Wrap the undo-mark only when there's actual replay work (count > 1,  block insert, or dot-repeat) — otherwise the always-fired wrap on plain `iHi<Esc>` emitted an empty mark group that swallowed the first `u`.
2026-05-22 09:41:25 +00:00