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
f25b9fd9bf Fix uppercase keys in NERDTree 2025-10-02 17:12:23 +03:00
Alex Plate
168fa309ae Add an instruction that an external plugin should be installed 2025-10-02 17:07:24 +03:00
Alex Plate
2c6638fe37 Introduce a common getChar implementation in the injector 2025-10-02 17:05:06 +03:00
magidc
3d2375e937 Update doc/IdeaVim Plugins.md
Thanks!

Co-authored-by: Thomas Gautvedt <thomas.gautvedt@gmail.com>
2025-10-02 17:04:55 +03:00
magidc
c8ea045ef9 Added plugins Vim-Dial and Vim-AnyObject to plugins document 2025-10-02 17:04:55 +03:00
dependabot[bot]
c2d7f40512 Bump org.mockito.kotlin:mockito-kotlin from 6.0.0 to 6.1.0
Bumps [org.mockito.kotlin:mockito-kotlin](https://github.com/mockito/mockito-kotlin) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/mockito/mockito-kotlin/releases)
- [Commits](https://github.com/mockito/mockito-kotlin/compare/v6.0.0...v6.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 19:18:24 +03:00
dependabot[bot]
23191a221d Bump org.junit.jupiter:junit-jupiter from 5.13.4 to 6.0.0
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit-framework) from 5.13.4 to 6.0.0.
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r5.13.4...r6.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 18:41:44 +03:00
dependabot[bot]
ac4a55d245 Bump org.junit.vintage:junit-vintage-engine from 5.13.4 to 6.0.0
Bumps [org.junit.vintage:junit-vintage-engine](https://github.com/junit-team/junit-framework) from 5.13.4 to 6.0.0.
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r5.13.4...r6.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 18:22:54 +03:00
dependabot[bot]
f834ef2ef3 Bump org.junit:junit-bom from 5.13.4 to 6.0.0
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit-framework) from 5.13.4 to 6.0.0.
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r5.13.4...r6.0.0)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 15:17:29 +00:00
dependabot[bot]
7ec1428915 Bump io.ktor:ktor-client-core from 3.2.3 to 3.3.0
Bumps [io.ktor:ktor-client-core](https://github.com/ktorio/ktor) from 3.2.3 to 3.3.0.
- [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.2.3...3.3.0)

---
updated-dependencies:
- dependency-name: io.ktor:ktor-client-core
  dependency-version: 3.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-17 18:17:33 +03:00
Matt Ellis
b6ffc7a357 Use injector instead of directly using helper 2025-09-16 16:33:40 +03:00
Matt Ellis
6f259f5207 Extract E474 error message 2025-09-16 16:33:40 +03:00
Matt Ellis
a9e503d13f Extract error messages from code 2025-09-16 16:33:40 +03:00
Matt Ellis
5297193649 Assert full error message, not partial
There's no good reason to only check a partial match. Make sure the entire string is correct.
2025-09-16 16:33:40 +03:00
Matt Ellis
4c84241d2a Remove unnecessary error text messages
Let the IDE do this from the code
2025-09-16 16:33:40 +03:00
Matt Ellis
612dfe321c Fix typo 2025-09-16 16:33:40 +03:00
Matt Ellis
c0f9f0bcbc Rename cryptic error messages to error codes 2025-09-16 16:33:40 +03:00
Matt Ellis
e7769e33d7 Remove or rename unnecessary messages 2025-09-16 16:33:40 +03:00
Matt Ellis
c725447c00 Refactor messages for ActionListCommand 2025-09-16 16:33:40 +03:00
Matt Ellis
920ac0546e Replace custom errors with error codes 2025-09-16 16:33:40 +03:00
Matt Ellis
c5e3c9ccf1 Rename messages to be more consistent 2025-09-16 16:33:40 +03:00
Matt Ellis
f8d5d049bc Simplify code to remove duplicate error message 2025-09-16 16:33:40 +03:00
Matt Ellis
5c45c62c5b Rename some error message identifiers 2025-09-16 16:33:40 +03:00
Matt Ellis
f1d0206c66 Refactor code to remove unnecessary messages
The code doesn't require nullable arguments, which removes null check error messages. Also removed some "not implemented" messages from resources. There's no need for them to be in resources, hopefully we'll implement them soon.
2025-09-16 16:33:40 +03:00
Matt Ellis
e00960ebbc Tidy up host message bundle 2025-09-16 16:33:40 +03:00
Matt Ellis
fd6fe37c8f Remove unnecessary Msg class
Using string identifiers means the IntelliJ resource tooling works better
2025-09-16 16:33:40 +03:00
Matt Ellis
76087fea93 Split host and engine bundles
This allows IntelliJ's property annotations to help in code
2025-09-16 16:33:40 +03:00
Matt Ellis
ec125c9c7e Restore API for external plugin compatibility 2025-09-12 12:56:58 +03:00
dependabot[bot]
4b69c9141d Bump org.jetbrains.kotlin:kotlin-stdlib from 2.2.10 to 2.2.20
Bumps [org.jetbrains.kotlin:kotlin-stdlib](https://github.com/JetBrains/kotlin) from 2.2.10 to 2.2.20.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v2.2.10...v2.2.20)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-version: 2.2.20
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-10 18:20:03 +03:00
dependabot[bot]
14aa0e7c93 Bump org.jetbrains.intellij.platform from 2.8.0 to 2.9.0
Bumps org.jetbrains.intellij.platform from 2.8.0 to 2.9.0.

---
updated-dependencies:
- dependency-name: org.jetbrains.intellij.platform
  dependency-version: 2.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-10 18:19:13 +03:00
Alex Plate
59459e5113 Introduce a hidden vimhints option to hide the new hints functionality 2025-09-10 14:58:46 +03:00
Alex Plate
54653d1d1b Specify ActionUpdateThread for ToggleHintsAction 2025-09-10 14:06:33 +03:00
Xinhe Wang
4e59af278b Avoid generating hints for another unfocused window 2025-09-10 11:36:04 +03:00
Matt Ellis
d4df794d3c Show message if no mapping found 2025-09-09 14:06:38 +03:00
Xinhe Wang
04273d005e Skip the tree nodes when generating hints to improve performance 2025-09-09 12:53:26 +03:00
Xinhe Wang
463a9e7ceb Generate hints for visible components whose parent is not visible 2025-09-09 12:53:26 +03:00
Xinhe Wang
aab1999782 Do not preserve previous hints if impossible 2025-09-09 12:53:26 +03:00
Xinhe Wang
733470f7b4 Allow repeated characters in hints 2025-09-09 12:53:26 +03:00
Matt Ellis
4c48b4cd42 Update comments and other PR feedback 2025-09-08 09:58:34 +03:00
Matt Ellis
aa46713d3d Move deprecated functions to bottom of class 2025-09-08 09:58:34 +03:00
Matt Ellis
aef0515183 Replace asDouble with a new toVimFloat function 2025-09-08 09:58:34 +03:00
Matt Ellis
b48f80ee7d Deprecate VimDataType.asString
Prefer `toVimString` to `asString`. It makes it more explicit that the caller requires a Vim String type, and must follow Vim's conversion rules, rather than simple requiring a string. It also prevents confusion with other string functions such as `toString`, `toOutputString`, `toInsertableString`.

The function is deprecated because it's in use by external plugins. There is no change in functionality.
2025-09-08 09:58:34 +03:00
Matt Ellis
fdda1f0eb6 Refactor VimInt.parseNumber 2025-09-08 09:58:34 +03:00
Matt Ellis
69fac0eff0 Deprecate VimDataType.asBoolean
The `asBoolean` method does not make it clear that only a Vim Number can be treated as a boolean and incorrectly allowed a Float to be converted.

If a caller needs a boolean value, it should be explicit that it must get a Number by calling `toVimNumber` and then using the new `booleanValue` accessor. This correctly allows conversion from a String, and other Vim datatypes will correctly raise an error.

The implementation of `VimString.toVimNumber` has been updated to match Vim behaviour, and the behaviour of the previously called `VimString.asDouble` by allowing trailing characters while converting a string to a number.

The `asBoolean` function is deprecated because it is used by external plugins.
2025-09-08 09:58:34 +03:00
Matt Ellis
9dd60cdb3b Introduce VimDataType.toOutputString
It's confusing to know the rules for converting between data types. This change introduces a semantically named method for getting a string representation that can be used in output and error messages.
2025-09-08 09:58:34 +03:00
Alex Plate
8aedadde5e [API] Use the new API for implementation of the ReplaceWithRegister 2025-09-05 17:54:25 +03:00
Alex Plate
763d4518eb Refactor: Replace deprecated fileSize property 2025-09-05 16:53:45 +03:00
Alex Plate
f5c1b11e4f [API] Rename Read to EditorAccessor 2025-09-05 16:51:06 +03:00
Xinhe Wang
0d38ac8d6f Allow focusing components with hints 2025-09-05 16:26:03 +03:00
Xinhe Wang
fd1f762bc2 Adjust the hint color to make it clearer 2025-09-05 16:26:03 +03:00