1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-10-09 04:26:57 +02:00
Commit Graph

9045 Commits

Author SHA1 Message Date
Xinhe Wang
33f04869bf Fix(VIM-3985): correct the behavior of NERDTree-x 2025-07-29 10:43:43 +03:00
Xinhe Wang
aeaceca76e Extract navigation-related NERDTree actions to make them reusable
Code is simplified in this commit but the actual behavior remains unchanged
2025-07-29 10:43:43 +03:00
Xinhe Wang
e587161169 Refactor NerdAction
Removing `project` parameter from NerdAction.Code.action makes it
possible to extend NERDTree support to all tree components other
than the Project tool window.
2025-07-29 10:43:43 +03:00
Xinhe Wang
b3fd205148 Extract dispatcher logic from NerdTree into AbstractDispatcher 2025-07-29 10:43:43 +03:00
Xinhe Wang
4558c3f5c8 Encapsulate KeyStrokeTrie in extension.nerdtree.Mappings
This avoids external manipulation of the KeyStroke set, resulting
in data inconsistency.
2025-07-29 10:43:43 +03:00
Xinhe Wang
962abda86b Convert NerdDispatcher to a light service
Since there's no need to expose the dispatcher, we can safely
convert it to a light service as suggested by DevKit.

See https://plugins.jetbrains.com/docs/intellij/plugin-services.html#light-services
2025-07-29 10:43:43 +03:00
Matt Ellis
7d9fa418ce Support :k{mark} without separating whitespace
Fixes VIM-3915
2025-07-28 12:21:46 +03:00
Matt Ellis
68e9538ac5 Remove unnecessary special case handling of subst
This was added before the grammar made whitespace optional between command and argument
2025-07-28 12:21:46 +03:00
Mia Vucinic
72accdd186 remove exception throwing from getFocusedEditor function 2025-07-28 10:26:51 +02:00
Mia Vucinic
4282a58719 fix doc comments for count parameter 2025-07-28 10:21:40 +02:00
Mia Vucinic
f74552ef19 fix replaceText when editor is empty 2025-07-28 10:07:17 +02:00
Mia Vucinic
a4e9e70df7 add test for inserting empty text and fix coerceIn function 2025-07-28 07:32:29 +02:00
Mia Vucinic
3c32c8bbe7 rename VimHighlightingServiceImpl to IjVimHighlightingService and VimPluginServiceImpl to IjVimPluginService 2025-07-28 07:32:29 +02:00
Mia Vucinic
265e2e14e7 move thin api services from the extension package to the thinapi package 2025-07-28 07:32:29 +02:00
Mia Vucinic
55b44aab53 implement add caret and remove caret functions 2025-07-28 07:32:18 +02:00
Alex Plate
e13deb48cc Fix: Respect isIdeaVimDisabledHere flag in OctopusHandler 2025-07-25 13:13:29 +03:00
Matt Ellis
8ab7122e65 Fix issues with new islands theme
Stops the new frame background showing in the output panel, and returns the coloured background for the mode status bar widget.
2025-07-25 09:54:53 +03:00
Mia Vucinic
c95421518e fix path handling for jump and marks 2025-07-24 17:13:41 +02:00
Mia Vucinic
a45b642d1e fix exceptions 2025-07-24 09:26:16 +02:00
Mia Vucinic
9d09f824df fix executeNormalWithoutMapping function 2025-07-24 08:16:23 +02:00
Mia Vucinic
5d731ff818 fix editor size 2025-07-24 08:15:47 +02:00
Mia Vucinic
5f4cd75898 remove unnecessary getNextWordStartOffset function from VimScope 2025-07-24 08:15:09 +02:00
Mia Vucinic
9443f16551 remove unused variable and some comments 2025-07-24 08:00:00 +02:00
Mia Vucinic
6abee14079 have CaretTransaction extend Read 2025-07-24 07:56:23 +02:00
dependabot[bot]
e0c7f05c1e Bump org.junit.jupiter:junit-jupiter-api from 5.13.3 to 5.13.4
Bumps [org.junit.jupiter:junit-jupiter-api](https://github.com/junit-team/junit-framework) from 5.13.3 to 5.13.4.
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r5.13.3...r5.13.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-23 18:32:42 +03:00
dependabot[bot]
f474d44d27 Bump org.junit.vintage:junit-vintage-engine from 5.13.2 to 5.13.4
Bumps [org.junit.vintage:junit-vintage-engine](https://github.com/junit-team/junit-framework) from 5.13.2 to 5.13.4.
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r5.13.2...r5.13.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-23 18:32:32 +03:00
Mia Vucinic
d5e64a8f28 split read into Read and ReadScope
- We want to be able to execute functions defined on read scope under write lock as well, which means we want to have transaction extend read. However, due to conflicting names for caret scope builders (forEachCaret, withPrimaryCaret etc.) it was necessary to split it into two scopes:
1) Read - contains only functions available under read lock
2) ReadScope - contains both caret scope builders and functions defined on Read
2025-07-23 12:01:28 +02:00
Mia Vucinic
256fe515b0 add resetting for mocks in tests 2025-07-22 15:31:11 +02:00
Mia Vucinic
e7ec16e8f1 remove variable locking 2025-07-22 13:46:04 +02:00
Mia Vucinic
74e213af1d remove methods from caret transaction 2025-07-22 13:42:13 +02:00
Mia Vucinic
246e6e4444 remove onRemove method from listener 2025-07-22 13:41:18 +02:00
Mia Vucinic
0b8a72de95 return VimHighlightedYankTest.kt to previous state 2025-07-22 13:33:48 +02:00
Mia Vucinic
359769733c return VimListenerManager.kt to previous state 2025-07-22 13:33:12 +02:00
Mia Vucinic
8bf60bcb68 add lines to VimExtension and VimExtensionRegistrar.kt 2025-07-22 13:30:53 +02:00
Mia Vucinic
2aa5230aa7 fix docs 2025-07-22 13:29:41 +02:00
Mia Vucinic
ceaa74854f add docs 2025-07-22 13:17:04 +02:00
Mia Vucinic
96734867e5 revert VimExtension to previous state 2025-07-22 12:52:11 +02:00
Mia Vucinic
cc9a39fa6d revert VimExtensionRegistrar to previous state 2025-07-22 12:50:49 +02:00
Mia Vucinic
4d680465fb delete vim plugin base 2025-07-22 12:48:14 +02:00
Mia Vucinic
02a9d284b3 repackage files 2025-07-22 12:47:00 +02:00
Mia Vucinic
fd5e84eddc add docs 2025-07-22 12:39:10 +02:00
Mia Vucinic
f5cf751a0a move files to appropriate packages 2025-07-22 12:31:53 +02:00
Mia Vucinic
6f4bd936f9 update docs 2025-07-22 12:12:39 +02:00
Mia Vucinic
657f7f5f9c fix modal input tests after rebasing 2025-07-22 08:22:45 +02:00
Mia Vucinic
b3561c8b1e revert "attempt to have extensions disabled when the ideavim plugin is turned off"
This reverts commit cfc3b827ea327eedb15d3e9d48c26228db67b153.
2025-07-21 21:06:39 +02:00
Mia Vucinic
38a4512b00 revert "convert VimExtension file to Kotlin"
This reverts commit 58c84a7d3af3fc3a3c597949e059d86784825697.
2025-07-21 21:06:39 +02:00
Mia Vucinic
b96498a564 revert "make init function in VimExtension suspend"
This reverts commit 87dba1e2951d22b8a62d5c45e9ea20720dbacec2.
2025-07-21 21:06:39 +02:00
Mia Vucinic
85c3a78fb4 revert "make init function in VimPluginBase suspend"
This reverts commit 9d0d941adab09b03b7c2287a5e8ffd3fa4626dd4.
2025-07-21 21:06:39 +02:00
Mia Vucinic
62c816c80e refactor insert and replace text in caret transaction impl 2025-07-21 21:06:39 +02:00
Mia Vucinic
1b1d5815f4 fix validating offsets for replace text 2025-07-21 21:06:39 +02:00