Alex Plate
a9f9ae3727
Fix(VIM-3786): Make a workaround to fix shift-enter in AI chat
2025-04-29 19:36:05 +03:00
Alex Plate
8bfcd13c33
Fix(VIM-3882): Register the VimShortcutAction to the editor component instead of its wrapper
...
It turned out the editor.getComponent returns not the editorComponent, but the parent of the component. This caused no problems until the AI plugin started to register enter/esc on the editor component directly. Since an editor component is more specific than the component with vim actions, the vim shortcuts were suppressed.
In this change, we start to register shortcuts on the editor component directly, allowing them to properly work on the same level as AI shortcuts. This is also the level where the shortcuts are supposed to be registered.
2025-04-28 17:55:18 +03:00
Alex Plate
2cd5c9db72
Add Lejia Chen to the Authors list
...
Lejia was providing exceptional support for the IdeaVim project for two-plus years starting from 2023.
2025-04-28 11:45:15 +03:00
Matt Ellis
70d662fe28
Remove obsolete internal options
2025-04-22 15:48:19 +03:00
Alex Plate
2f33d41713
Update the minimal version of IJ to 251
2025-04-22 08:56:07 +03:00
Alex Plate
8247392dc3
Fix some compilation warnings
2025-04-16 22:12:36 +03:00
Alex Plate
c8504e1138
Fix warning about synchronization on primitive
2025-04-16 21:35:01 +03:00
Alex Plate
443e50b55f
Add tests for case changing
...
Mostly to highlight that commands in format `gugu` and `gUgU` don't work for the moment
2025-04-16 19:44:38 +03:00
Alex Plate
1891216182
Fix(VIM-3878): Support ROT13 command g?
2025-04-16 19:44:38 +03:00
dependabot[bot]
515f0ca568
Bump org.junit.jupiter:junit-jupiter-params from 5.12.1 to 5.12.2
...
Bumps [org.junit.jupiter:junit-jupiter-params](https://github.com/junit-team/junit5 ) from 5.12.1 to 5.12.2.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.12.1...r5.12.2 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-params
dependency-version: 5.12.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 19:41:45 +03:00
dependabot[bot]
2be0228c35
Bump org.junit.jupiter:junit-jupiter-api from 5.12.1 to 5.12.2
...
Bumps [org.junit.jupiter:junit-jupiter-api](https://github.com/junit-team/junit5 ) from 5.12.1 to 5.12.2.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.12.1...r5.12.2 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-api
dependency-version: 5.12.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 19:25:31 +03:00
dependabot[bot]
cf554e9ae2
Bump org.junit.vintage:junit-vintage-engine from 5.12.1 to 5.12.2
...
Bumps [org.junit.vintage:junit-vintage-engine](https://github.com/junit-team/junit5 ) from 5.12.1 to 5.12.2.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.12.1...r5.12.2 )
---
updated-dependencies:
- dependency-name: org.junit.vintage:junit-vintage-engine
dependency-version: 5.12.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 19:10:22 +03:00
dependabot[bot]
251cc638db
Bump org.junit.jupiter:junit-jupiter from 5.12.1 to 5.12.2
...
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit5 ) from 5.12.1 to 5.12.2.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.12.1...r5.12.2 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
dependency-version: 5.12.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 19:10:13 +03:00
dependabot[bot]
5700738c61
Bump org.junit.jupiter:junit-jupiter-engine from 5.12.1 to 5.12.2
...
Bumps [org.junit.jupiter:junit-jupiter-engine](https://github.com/junit-team/junit5 ) from 5.12.1 to 5.12.2.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.12.1...r5.12.2 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-engine
dependency-version: 5.12.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 19:09:53 +03:00
Alex Plate
916afd31b2
Fix(VIM-3870): Add missing write actions
2025-04-16 18:54:22 +03:00
Alex Plate
5d2852420a
Remove the duplication method for existing the select mode
2025-04-15 09:20:00 +03:00
Matt Ellis
a5efa5f9f2
Rename SAVE_VISUAL to SAVE_SELECTION
...
IdeaVim will still leave Visual mode, but the IDE's selection remains.
2025-04-10 19:32:29 +03:00
Matt Ellis
e86503798a
Remove special case handling for Plug mapping
...
While it might not make sense to replay an incorrect `<Plug>` or `<Action>` mapping as characters where they are likely to cause unexpected behaviour as Normal commands, this is standard Vim behaviour (at least for `<Plug>`).
Note that `<Plug>` (and `<Action>`) is a special key code that cannot be typed. In Insert mode, Vim expands it to the text "<Plug>".
2025-04-10 19:32:29 +03:00
Matt Ellis
0b6ac4a9f4
Rename variable and add comments
2025-04-10 19:32:29 +03:00
Matt Ellis
2a6f7cc907
Remove unused mappingComplete parameter
...
Also makes all KeyConsumers internal
2025-04-10 19:32:29 +03:00
Matt Ellis
9b4f114d61
Refactor MappingProcessor
...
Extract single implementation for replaying unhandled keys and update to match the longest mapping that fits in the unhandled keys.
2025-04-10 19:32:29 +03:00
Matt Ellis
3155556832
Reformat and update comments for MappingProcessor
...
Minor refactorings, should be no changes in logic
2025-04-10 19:32:29 +03:00
Matt Ellis
07190f38c9
Fix :normal command with multi-letter mapping
2025-04-10 19:32:29 +03:00
Matt Ellis
db116faa32
Fix handling of modes in NormalCommand
...
All commands are called in Normal, so there is no need to check mode at execution time. The SAVE_VISUAL flag is perhaps poorly named, as it still change to Normal mode, but will save the current selection for commands that need (usually because they interact with IDE features). The `:normal` command does not need the current selection.
2025-04-10 19:32:29 +03:00
Matt Ellis
58496fa1a1
Uncomment NormalCommandTest.kt
2025-04-10 19:32:29 +03:00
dependabot[bot]
0bd12af1f4
Bump com.google.devtools.ksp:symbol-processing-api
...
Bumps [com.google.devtools.ksp:symbol-processing-api](https://github.com/google/ksp ) from 2.1.20-1.0.32 to 2.1.20-2.0.0.
- [Release notes](https://github.com/google/ksp/releases )
- [Commits](https://github.com/google/ksp/compare/2.1.20-1.0.32...2.1.20-2.0.0 )
---
updated-dependencies:
- dependency-name: com.google.devtools.ksp:symbol-processing-api
dependency-version: 2.1.20-2.0.0
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 18:44:36 +03:00
dependabot[bot]
9f6d697e30
Bump io.ktor:ktor-client-cio from 3.1.1 to 3.1.2
...
Bumps [io.ktor:ktor-client-cio](https://github.com/ktorio/ktor ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/ktorio/ktor/releases )
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ktorio/ktor/compare/3.1.1...3.1.2 )
---
updated-dependencies:
- dependency-name: io.ktor:ktor-client-cio
dependency-version: 3.1.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 18:44:10 +03:00
IdeaVim Bot
8ed283f7ae
Add Max Siryk to contributors list
2025-04-07 09:02:16 +00:00
erotourtes
5a3d35f216
fix: typo & consistency
2025-04-07 10:47:41 +03:00
Alex Plate
13850f059d
Add a new plugin to the compatibility check
2025-04-04 18:43:03 +03:00
Alex Plate
3ddc75f5f0
Remove the call for the instrumentationTools
as it's deprecated
2025-04-04 18:39:28 +03:00
Alex Plate
6c71698aae
Do not use the installer for some of the tests because currently it doesn't work on the installer with the new gradle plugin
...
It's unclear if this is a bug in the gradle plugin or misconfiguration
2025-04-04 18:38:29 +03:00
dependabot[bot]
664895941d
Bump io.ktor:ktor-serialization-kotlinx-json from 3.1.1 to 3.1.2
...
Bumps [io.ktor:ktor-serialization-kotlinx-json](https://github.com/ktorio/ktor ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/ktorio/ktor/releases )
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ktorio/ktor/compare/3.1.1...3.1.2 )
---
updated-dependencies:
- dependency-name: io.ktor:ktor-serialization-kotlinx-json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 18:45:35 +03:00
dependabot[bot]
c758ac16ec
Bump io.ktor:ktor-client-core from 3.1.1 to 3.1.2
...
Bumps [io.ktor:ktor-client-core](https://github.com/ktorio/ktor ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/ktorio/ktor/releases )
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ktorio/ktor/compare/3.1.1...3.1.2 )
---
updated-dependencies:
- dependency-name: io.ktor:ktor-client-core
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 18:31:12 +03:00
dependabot[bot]
4c2b3b8011
Bump io.ktor:ktor-client-auth from 3.1.1 to 3.1.2
...
Bumps [io.ktor:ktor-client-auth](https://github.com/ktorio/ktor ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/ktorio/ktor/releases )
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ktorio/ktor/compare/3.1.1...3.1.2 )
---
updated-dependencies:
- dependency-name: io.ktor:ktor-client-auth
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 18:31:03 +03:00
dependabot[bot]
ee1c4914d4
Bump io.ktor:ktor-client-content-negotiation from 3.1.1 to 3.1.2
...
Bumps [io.ktor:ktor-client-content-negotiation](https://github.com/ktorio/ktor ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/ktorio/ktor/releases )
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ktorio/ktor/compare/3.1.1...3.1.2 )
---
updated-dependencies:
- dependency-name: io.ktor:ktor-client-content-negotiation
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 18:16:18 +03:00
dependabot[bot]
a5f225394f
Bump com.google.devtools.ksp:symbol-processing-api
...
Bumps [com.google.devtools.ksp:symbol-processing-api](https://github.com/google/ksp ) from 2.1.20-1.0.31 to 2.1.20-1.0.32.
- [Release notes](https://github.com/google/ksp/releases )
- [Commits](https://github.com/google/ksp/compare/2.1.20-1.0.31...2.1.20-1.0.32 )
---
updated-dependencies:
- dependency-name: com.google.devtools.ksp:symbol-processing-api
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 18:16:01 +03:00
Alex Plate
8af848cef6
Fix(VIM-3861): Fix the debug action execution
2025-03-31 12:33:18 +03:00
IdeaVim Bot
4c1d91cc37
Add Peter Hoburg to contributors list
2025-03-29 09:01:47 +00:00
Alex Plate
deca256e1c
Add clear conditions for property tests
2025-03-28 19:23:47 +02:00
Matt Ellis
6d3bde3ad5
Fix incorrect implementation of DoesNotMatchHandler
2025-03-28 19:07:06 +02:00
Matt Ellis
3b2b863c88
Update truthy expressions
2025-03-28 19:07:06 +02:00
Matt Ellis
a7e1c08589
Simplify unary arithmetic operators
2025-03-28 19:07:06 +02:00
Matt Ellis
5aa5e82d59
Rename some operator handlers
2025-03-28 19:07:06 +02:00
Matt Ellis
0db9ad505b
Remove unnecessary singleton classes
2025-03-28 19:07:06 +02:00
Matt Ellis
147eb99745
Simplify case sensitive binary operators
2025-03-28 19:07:06 +02:00
Matt Ellis
bb73bdfb4a
Simplify case sensitive comparisons
2025-03-28 19:07:06 +02:00
Matt Ellis
9ab1044880
Migrate various string operators to toVimString
...
Make it explicit they only work with String values
2025-03-28 19:07:06 +02:00
Matt Ellis
e2cc9c648f
Introduce toVimString to match toVimNumber
2025-03-28 19:07:06 +02:00
Matt Ellis
a322525c2a
Be more explicit with is and isnot implementation
2025-03-28 19:07:06 +02:00