Commit Graph
9697 Commits
Author SHA1 Message Date
Alex Plate a0a3f3f3b1 Fix an exception during the renaming: there was a read action missing 2025-08-22 11:22:38 +03:00
Alex Plate aa539e76eb Rename RWLockLabel to VimLockLabel and other annotations
Also, clarify their usage
2025-08-22 11:22:38 +03:00
dependabot[bot]andgithub-actions[bot] 4ab42db6a9 Bump org.jetbrains.kotlin:kotlin-stdlib from 2.2.0 to 2.2.10
Bumps [org.jetbrains.kotlin:kotlin-stdlib](https://github.com/JetBrains/kotlin) from 2.2.0 to 2.2.10.
- [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.0...v2.2.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-20 18:50:38 +03:00
dependabot[bot]andgithub-actions[bot] fbb8abe386 Bump org.jetbrains.intellij.platform from 2.7.1 to 2.7.2
Bumps org.jetbrains.intellij.platform from 2.7.1 to 2.7.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-20 18:48:42 +03:00
IdeaVim Bot 8e5d4b156c Add Na Minhyeok to contributors list 2025-08-20 09:01:54 +00:00
Alex Plate 55dd27db33 Update the contribution guide to avoid the confusion
By feedback https://github.com/JetBrains/ideavim/pull/1271#issuecomment-3203657519
2025-08-20 09:37:06 +03:00
Alex Plate 2136836877 Merge all configuration files into a single plugin.xml
The way we split plugin.xml was outdated. Also, it started to show errors in highlighting, even there were no errors.
It's better to keep everything in a single file
2025-08-20 09:18:16 +03:00
NaMinhyeokandAlex Plãte ca676ca973 Fix Gradle build deprecation warnings and improve type safety
- Replace deprecated java.net.URL and HttpURLConnection with Ktor HttpClient in slackNotification task
- Fix deprecated intellijPlatform API calls:
  - create(ideaType, ideaVersion, useInstaller) → create(ideaType, ideaVersion) { this.useInstaller = useInstaller }
  - verifyPlugin → pluginVerification
- Add explicit Task type parameters to all tasks.register() calls to resolve Kotlin type inference warnings

Signed-off-by: NaMinhyeok <nmh9097@gmail.com>
2025-08-19 16:59:06 +03:00
dependabot[bot]andgithub-actions[bot] 82d3420570 Bump org.jetbrains.changelog from 2.3.0 to 2.4.0
Bumps org.jetbrains.changelog from 2.3.0 to 2.4.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-13 19:33:32 +03:00
dependabot[bot]andgithub-actions[bot] 060135737d Bump org.jetbrains.intellij.platform from 2.6.0 to 2.7.1
Bumps org.jetbrains.intellij.platform from 2.6.0 to 2.7.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-13 19:16:19 +03:00
Alex Plate 63e482408d Fix compilation issues 2025-08-08 18:28:52 +03:00
Alex Plate ddb4c5ec81 Comment out listeners scope. It does require an accurate and proper review and design 2025-08-08 18:07:59 +03:00
Alex Plate 22e6ba3b3c Refactor DigraphScopeImpl to be an object and simplify digraph method logic 2025-08-08 18:04:09 +03:00
Alex Plate e2a089fbeb Remove function to clearing all custom digraphs
This function is not provided by vim and by using it from the plugins we may drop the digraphs created by other plugins.
It'd be better to provide a just remove function. However, let's skip it for now. Also, maybe we should use an approach with the owners
2025-08-08 18:00:30 +03:00
Alex Plate 5cfed9929e Refresh documentation for MappingScope 2025-08-08 17:43:00 +03:00
Alex Plate e85c006321 Remove isRepeatable parameter from key mapping methods
First of all, this is a property of the plugin, not the mapping. Secondly, all plugins should support repeat.
2025-08-08 17:11:10 +03:00
Alex Plate 1db8d01961 Add detailed documentation for label usage in key mapping methods
Documented the role of `label` in providing intermediate mappings, allowing users to override default plugin mappings with custom configurations.
2025-08-08 16:23:37 +03:00
Alex Plate 9c9cd1b2a0 Bring back the function to set the mode, but in experimental status now 2025-08-08 14:28:01 +03:00
Alex Plate fb6a97f586 Remove redundant return statement in CommandLineScope 2025-08-08 12:44:30 +03:00
Alex Plate 87f5a6fab3 Remove stub classes
This solution was initially questionable. For a long time it produced nothing but more work on implementing the stubs.
2025-08-08 12:44:30 +03:00
Alex Plate 9d92ae9449 Remove the suspend from functions under the read or write actions
The suspending operations must not be performed under the read or write actions as this will lead to performance issues or freezes.

Also, the current implementation of launching coroutine under the write action is simply incorrect. The coroutine will escape the write action into another thread.
2025-08-08 12:44:30 +03:00
Alex Plate 492bd62166 Rename VimScope to VimApi and move it into a different package
`VimApi` would be a better entry point name. Also, the API term is clearer than the scope.
2025-08-08 12:44:30 +03:00
Alex Plate a0c213b90d Refactor Mode in API to be a simple enum
The current representation of Mode with `returnTo` is quite complicated and we're not even sure it'll remain like that.
At the same time, `mode()` function in Vim has quite a reach specification and there is a small chance it'll be changed. With this approach, we use values from Vim, yet in a form of enum.
2025-08-08 12:44:30 +03:00
Alex Plate fee75001f6 Do not allow to change the mode from the API
The details why we don't want this for now are logged in the code
2025-08-08 12:44:29 +03:00
Alex Plate df3fb1a8a3 Convert VimScope into the interface 2025-08-08 12:44:29 +03:00
Alex Plate 057f4eee5d The ReadImpl does not inherit the VimScopeImpl
`ReadImpl` didn't use anything from `VimScopeImpl`. This would make sense if `Read` inherited `VimScope`, but it doesn't.
Also, we'll always be able to bring back the dependency if we figure out it's necessary.
2025-08-08 12:44:29 +03:00
Alex Plate e2b20bb04d Reformat API module 2025-08-08 12:44:29 +03:00
Alex Plate add8023155 Rename @VimPluginDsl to @VimApiDsl
The API is a more correct term, despite the fact that the API will be mostly used from the plugins.
2025-08-08 12:44:29 +03:00
Alex Plate 88e77d1bea Add API module to the gradle config 2025-08-08 12:44:29 +03:00
Matt EllisandAlex Plãte e6ed15c772 Fix command line missing due to empty colour
Fixes VIM-3993
2025-08-08 11:57:12 +03:00
dependabot[bot]andgithub-actions[bot] 0867dbd420 Bump org.junit.jupiter:junit-jupiter from 5.13.3 to 5.13.4
Bumps [org.junit.jupiter:junit-jupiter](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
  dependency-version: 5.13.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-06 18:27:06 +03:00
Mia VucinicandAlex Plate 3cb5308193 fix failing tests 2025-08-01 16:16:29 +03:00
Mia VucinicandAlex Plate 093769ee7c add file lock to ensure exclusive access 2025-08-01 16:16:29 +03:00
Mia VucinicandAlex Plate fd58a61685 remove ReplaceWithRegister options from tests
- since enabling and disabling extensions is no longer done using options, options in tests can be removed
2025-08-01 16:16:28 +03:00
Mia VucinicandAlex Plate 562ae63805 fix ReplaceWithRegister test
- remove unnecessary new lines in tests
2025-08-01 16:16:28 +03:00
Mia VucinicandAlex Plate 04603ae61f add new extensions API handling in test 2025-08-01 16:16:27 +03:00
Mia VucinicandAlex Plate 807dff45a9 add a new ReplaceWithRegister plugin implementation 2025-08-01 16:16:27 +03:00
Mia VucinicandAlex Plate a25b88327e implement PlugDisable command 2025-08-01 16:16:27 +03:00
Mia VucinicandAlex Plate fbb2351ec2 implement PlugEnable command 2025-08-01 16:16:26 +03:00
Mia VucinicandAlex Plate 621969faec implement a new way for registering extensions 2025-08-01 16:16:26 +03:00
Mia VucinicandAlex Plate 26e33c088c implement ksp for extensions processing 2025-08-01 16:16:26 +03:00
Mia VucinicandAlex Plãte efdd0b9910 Add docs for the new Plugin API 2025-08-01 15:44:06 +03:00
Alex PlãteandGitHub 38fba69c33 Merge pull request #1246 from JetBrains/thin-api-first-draft
API for writing plugins
2025-08-01 15:43:46 +03:00
dependabot[bot]andgithub-actions[bot] 4764ffbbf5 Bump org.jetbrains.changelog from 2.2.1 to 2.3.0
Bumps org.jetbrains.changelog from 2.2.1 to 2.3.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-30 18:52:03 +03:00
dependabot[bot]andgithub-actions[bot] 2d9d000417 Bump com.squareup.okhttp3:okhttp from 4.12.0 to 5.0.0
Bumps [com.squareup.okhttp3:okhttp](https://github.com/square/okhttp) from 4.12.0 to 5.0.0.
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-4.12.0...parent-5.0.0)

---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:okhttp
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-30 18:50:43 +03:00
dependabot[bot]andgithub-actions[bot] 2dfaff802d Bump io.ktor:ktor-client-auth from 3.2.2 to 3.2.3
Bumps [io.ktor:ktor-client-auth](https://github.com/ktorio/ktor) from 3.2.2 to 3.2.3.
- [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.2...3.2.3)

---
updated-dependencies:
- dependency-name: io.ktor:ktor-client-auth
  dependency-version: 3.2.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-30 18:50:35 +03:00
Mia Vucinic 06e34d6005 add a default value for isBigWord in getNextWordStartOffset and getNextWordEndOffset 2025-07-29 16:27:03 +02:00
Mia Vucinic 8ae792e74e add return value to with and withPrimaryCaret 2025-07-29 16:23:12 +02:00
Mia Vucinic 15660a9f3d make functions in output panel scope non suspend 2025-07-29 16:10:15 +02:00
Xinhe WangandAlex Plãte 64033078b2 Use vimLogger instead in NerdTree 2025-07-29 10:43:43 +03:00