Commit Graph
10718 Commits
Author SHA1 Message Date
chylex 9b330e5031 Set plugin version to 66 2026-11-23 02:10:50 +01:00
chylex 0ccec074f2 Work around sticky lines with scrolloff=999 2026-11-23 02:10:50 +01:00
chylex ae17f39720 Revert "remove restriction not selecting new line char"
This reverts commit 8b97cd8b
2026-11-23 02:10:50 +01:00
chylex 39479aadf3 Disable paragraph-motion plugin bindings for operator-pending mode 2026-11-23 02:10:50 +01:00
chylex 4753c3fbc0 Fix backwards motions to unmatched parenthesis/brace consuming the character 2026-11-23 02:10:49 +01:00
chylex e69419677e Prevent caret from moving left when exiting insert mode at end of empty line 2026-11-23 02:10:49 +01:00
chylex 25d4a4e83d Make search highlights temporary 2026-11-23 02:10:49 +01:00
chylex 8c859519a0 Disable IdeaVim in popup editors 2026-11-23 02:10:49 +01:00
chylex 10beddd997 Fix AltGr not triggering Ctrl-Alt bindings on Windows 2026-11-23 02:10:48 +01:00
chylex 503348d2e5 Add functions: isinplacerenaming, isactionenabled, getfiletype 2026-11-23 02:10:48 +01:00
chylex b1cf787244 Preserve visual mode after executing IDE action 2026-11-23 02:10:48 +01:00
chylex f1eb1ce1d0 Make g0/g^/g$ work with soft wraps 2026-11-23 02:10:48 +01:00
chylex 7672fa417d Make gj/gk jump over soft wraps 2026-11-22 19:45:04 +01:00
chylex eefc4d81af Make camelCase motions adjust based on direction of visual selection 2026-11-22 19:45:04 +01:00
chylex 90b361c2d6 Do not switch to normal mode after inserting a live template 2026-11-22 19:45:04 +01:00
chylex 4abfa55ecd Exit insert mode after refactoring 2026-11-22 19:45:03 +01:00
chylex 6a49a51572 Add action to run last macro in all opened files 2026-11-22 19:45:03 +01:00
chylex aa94f464ee Stop macro execution after a failed search 2026-11-22 19:45:03 +01:00
chylex 1137faac14 Fix losing yanked text when number of carets changes 2026-11-22 19:45:03 +01:00
chylex 1f1c61e434 Apply scrolloff after executing native IDEA actions 2026-11-22 19:45:02 +01:00
chylex 0ae6062e54 Automatically add unambiguous imports after running a macro 2026-11-22 19:45:02 +01:00
chylex dbb09bc501 Fix(VIM-3986): Exception when pasting register contents containing new line 2026-11-22 19:45:02 +01:00
chylex ea94523cbe Fix(VIM-3179): Respect virtual space below editor (imperfectly) 2026-11-22 19:45:02 +01:00
chylex 941f79fb91 Update search register when using f/t 2026-11-22 19:19:27 +01:00
chylex 1823be2d97 Fix vim-surround not working with multiple cursors or count 2026-11-22 19:19:27 +01:00
chylex 58d540b1fc Make 'map' not affect Select mode 2026-11-22 04:15:45 +01:00
chylex cf077f602d Change matchit plugin to use HTML patterns in unrecognized files 2026-11-22 04:15:45 +01:00
chylex 4345a3c814 Fix ex command panel causing Undock tool window to hide 2026-11-22 04:15:45 +01:00
chylex be1c0e4c9f Restore normal or visual mode when switching active editor 2026-11-22 04:15:42 +01:00
chylex c837129903 Remove notifications about configuration options 2026-11-22 04:15:08 +01:00
chylex 3738c9b20a Remove AI 2026-11-22 04:15:08 +01:00
chylex d5688d4270 Set custom plugin version 2026-11-22 04:15:08 +01:00
IdeaVim Bot 48a99705bd Preparation to 2.49.1 release 2026-11-20 11:53:00 +00:00
1grzyb1 7719081d2d VIM-2742 Trim inner spaces when deleting surround with an opening bracket
ds(, ds[, ds{ and ds< left the whitespace between the bracket and its
content in place, so a call like `someFnc(\n  {...}\n)` became
`someFnc  {...}`. vim-surround strips spaces and tabs from both ends of
the inner text whenever the original surrounding is given by its opening
bracket, and keeps them for the closing one. The trim no longer removes
newlines, so multiline content keeps its line structure.
2026-11-20 12:42:27 +01:00
1grzyb1 0bb539e538 VIM-2609 Measure line indent with the code style tab size when shifting
Shifting lines took the current indent width from the editor's logical
column, which expands tabs with the editor's tab size, but built the new
indent with the code style tab size. When those differ (e.g. language
injections, indent detection), each shift added stray spaces after the tabs.
2026-11-20 12:23:20 +01:00
1grzyb1 3b42f660a1 VIM-4259 Put the clipboard back after the backend paste in split mode
With ideaput, the register is put into the clipboard for the IDE paste and the
clipboard is put back afterwards (VIM-4371). In split mode the backend executes
the paste again with its own clipboard, which is synced from the frontend.
Since 2026.3 (IJPL-254899) the backend runs the action after a hop to the EDT,
so the clipboard that was put back reaches it first, and the backend pastes the
old system clipboard over the register text.

The frontend editor action handler completes a continuation from the data
context once the backend has executed the action. A new frontend split module
puts it there, and the clipboard is put back only after it completes, with a
timeout. Before 2026.3, or with the document synced by Rhizome, the clipboard
is still put back right away.

Several puts in a row are all sent before the first one is pasted on the
backend, so the clipboard is put back once, after the last of them. Until then
each put and each read of the clipboard register take the content from before
the first put, and a write of the clipboard by IdeaVim drops the pending
restore.
2026-11-20 11:14:03 +01:00
1grzyb1 6ce279f352 VIM-2593 Compile the terminal navigation test on 2026.2
The test reached the internal key handling of the terminal through
TerminalEventsHandler and setupKeyEventHandling. In 2026.2 they are
TerminalKeyEventsHandler and setupKeyEventsHandling, and newer platforms
pass a plain KeyEvent instead of TimedKeyEvent, so the tests didn't
compile on 2026.2.

The test now looks up the function by either name and builds the handler
as a proxy of its parameter type, so it doesn't refer to the terminal
types at all.
2026-11-20 09:17:47 +01:00
1grzyb1 450400dede Test against IntelliJ 2026.3 instead of 2026.1 on TeamCity
2026.3 is released, so the oldest 2026.x configuration is dropped to keep
the set at the two latest releases plus 2025.3 and the EAP. 2026.3 ships
JVM target 25 bytecode like 2026.2, so it runs on Java 25.
2026-11-20 09:03:06 +01:00
1grzyb1 9fc1b4bc45 VIM-2608 Place block insert replay at buffer columns
The repeat column of a block insert/change is a buffer (logical) column,
but the replay on the following lines moved the caret to that number as a
visual column. The two differ whenever the line has collapsed folds or
when tab widths in pixels make a tab count as more visual columns than its
logical width, so after a few leading tabs the text went in one character
too early. Move to the buffer position instead and check line length in
buffer columns.
2026-11-19 12:24:20 +01:00
1grzyb1 2744cad962 VIM-2593 Navigate out of the terminal with <C-W>
With "Override IDE shortcuts" on, the terminal sends every key to the
shell from its own IdeEventQueue dispatcher, unless the key is the keymap
shortcut of an action on its allowlist. The <C-W> shortcuts of
ToolWindowNavDispatcher are registered on the component, not in the
keymap, so in the terminal <C-W> deleted a word in the shell and the
direction key was typed there too.

A queue dispatcher of our own now runs before the terminal's one and,
while the focus is in the Terminal tool window, gives the keys of a <C-W>
sequence to ToolWindowNavDispatcher directly. Going through the action
system doesn't work there: for the keys on the terminal's allowlist, such
as the arrows or Enter, the terminal's own action wins, and plain letters
aren't shortcuts in an editable editor. The terminal adds its dispatcher
whenever it gets the focus, so ours is added when VimEverywhere starts.

The test runs the terminal's real key dispatcher, so it fails if the
terminal starts to take the keys before the dispatchers added earlier.
2026-11-19 12:18:54 +01:00
1grzyb1 f7f4e361b0 Keep Rider running for all sticky lines scroll tests
The starter stops the IDE after 10 minutes, and the two sticky lines
tests take about 16 minutes together. The driver connection dropped in
the middle of the second one.

The starter also stops the IDE when any test container finishes, so with
a parameterized test it was gone before @AfterAll. Use two plain tests.
2026-11-19 11:02:59 +01:00
1grzyb1 77e20f40a8 Start a trial in the JetBrains Client of Rider split mode tests
Without RIDER_LICENSE_KEY the client doesn't request a trial by itself,
unlike the monolith. It shows the activation dialog, and the split mode
tests time out after 10 minutes with initializationError.
2026-11-19 11:02:59 +01:00
1grzyb1 47094464e2 VIM-2726 Educate quotes in textobj-quote
Adds the educate feature of vim-textobj-quote: after :Educate, " and '
typed in Insert mode become typographic quotes, an opening one at the
start of a line, after a space or after one of [({& and a closing one
elsewhere, so don't is typed as don’t. :NoEducate and :ToggleEducate
turn it off or switch it.

The state is kept per buffer in b:textobj_quote_educate_mapped, and
g:textobj#quote#educate turns it on for all buffers. It is off by
default, unlike in Vim where it only applies to the buffers the plugin
is initialized in, because here it would replace the quotes typed in
code too. When it is off, the quotes are typed as usual, so the IDE
still inserts the closing pair.
2026-11-19 10:39:45 +01:00
1grzyb1 9e80c279fd VIM-2726 Do not map keys inserted with CTRL-V or CTRL-K
A character typed after CTRL-V, or the one made from a CTRL-K digraph,
was fed through the key handler again with mappings allowed, so with
inoremap a b, <C-V>a inserted b. It also made it impossible to type a
straight quote while textobj-quote educates quotes, since <C-V>" ended
up in the " mapping. Vim reads these keys without mappings and inserts
the result as it is.
2026-11-19 10:39:45 +01:00
1grzyb1 915c322bb4 VIM-2726 Add textobj-quote extension
Port of preservim/vim-textobj-quote, requested in VIM-2726. Adds the iq/aq
text objects for text inside typographic double quotes and iQ/aQ for
single ones, so prose with curly quotes can be changed, deleted or
selected the same way as text in straight quotes.

A closing ’ followed by a letter or a digit is taken for an apostrophe,
nested quotes of the same kind are skipped, and the keys and the quote
characters can be changed with the g:textobj#quote#doubleMotion,
g:textobj#quote#singleMotion, g:textobj#quote#doubleDefault and
g:textobj#quote#singleDefault variables. Educating quotes while typing
is left for a separate change.
2026-11-19 10:39:45 +01:00
1grzyb1 38c5318528 VIM-2726 Allow autoload names in variables
Plugins configured through autoload-style variables, such as
g:textobj#quote#doubleMotion, could not be set from .ideavimrc: the
grammar accepted the # namespace separator only in function names, so
the assignment silently did nothing. Variable names now take the same
foo#bar# prefix as function calls and keep it as part of the name.
2026-11-19 10:39:45 +01:00
dependabot[bot] 3255451dd9 Bump gradle-wrapper from 9.9.0 to 9.9.1
Bumps [gradle-wrapper](https://github.com/gradle/gradle) from 9.9.0 to 9.9.1.
- [Release notes](https://github.com/gradle/gradle/releases)
- [Commits](https://github.com/gradle/gradle/compare/v9.9.0...v9.9.1)

---
updated-dependencies:
- dependency-name: gradle-wrapper
  dependency-version: 9.9.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-18 15:40:39 +00:00
1grzyb1 e5f7b210ed VIM-4332 Take command line background from the editor colour scheme
The command line and the output panel took the text colour from the editor
colour scheme, but the background from the IDE theme. With a light colour
scheme in a dark theme this drew dark text on a dark background. Take the
background from the same colour scheme as the text.
2026-11-18 11:16:47 +01:00
IdeaVim Bot 08b853787b Preparation to 2.49.0 release 2026-11-18 09:24:54 +00:00
1grzyb1 fa7deb62c0 Move changes released in 2.48.0 out of To Be Released
The langmap replay fix and PRs 2141, 2142, 2143, 2147, 2154 and 2158
were already part of 2.48.0, so they must not be announced again on the
What's New page of the upcoming release.
2026-11-18 09:33:36 +01:00