Commit Graph
5765 Commits
Author SHA1 Message Date
Mia Vucinic 8e0f854f70 add read test 2025-07-21 21:06:39 +02:00
Mia Vucinic 36c2f797a9 add tests for search functions in VimScope 2025-07-21 21:06:39 +02:00
Mia Vucinic 98b19b2396 add variable tests 2025-07-21 21:06:39 +02:00
Mia Vucinic f9f4c6b17c add modes test 2025-07-21 21:06:39 +02:00
Mia Vucinic 8642f4afe9 remove suspend from some functions 2025-07-21 21:06:39 +02:00
Mia Vucinic 979ef3fa1c make api use coroutines 2025-07-21 21:06:39 +02:00
Mia Vucinic 5b1595886b make init function in VimPluginBase suspend 2025-07-21 21:06:39 +02:00
Mia Vucinic 0fc4a4b476 make init function in VimExtension suspend 2025-07-21 21:06:39 +02:00
Mia Vucinic 5b7c25b0f5 convert VimExtension file to Kotlin 2025-07-21 21:06:39 +02:00
Mia Vucinic eb39fb546c implement a proper getFocusedEditor function 2025-07-21 21:06:39 +02:00
Mia Vucinic 74a2fe39d7 remove unnecessary test setup from highlighted yank test 2025-07-21 21:06:39 +02:00
Mia Vucinic dbe9deec1c add forEachEditor function 2025-07-21 21:06:39 +02:00
Mia Vucinic c4bb7e4145 fix replace with register plugin to work in visual block mode 2025-07-21 21:06:39 +02:00
Mia Vucinic b7f69c8c28 add command function 2025-07-21 21:06:39 +02:00
Mia Vucinic d774505801 add update label function to modal input 2025-07-21 21:06:38 +02:00
Mia Vucinic 11e2c00fd8 add modal input implementation 2025-07-21 21:06:38 +02:00
Mia Vucinic 17e261a9e8 add output panel functions 2025-07-21 21:06:38 +02:00
Mia Vucinic f503ba5c77 convert fromRgba function to constructor 2025-07-21 21:06:38 +02:00
Mia Vucinic d262ce58d5 add more functions and properties into the color class and move parse rgba color to the highlighted yank extension 2025-07-21 21:06:38 +02:00
Mia Vucinic ba78d9d518 rename addHighlighter, removeHighlighter, HighlighterId to addHighlight, removeHighlight and HighlightId 2025-07-21 21:06:38 +02:00
Mia Vucinic 71f8c4af1e introduce simple range and block range 2025-07-21 21:06:38 +02:00
Mia Vucinic 7e78e27d6c introduce Line class 2025-07-21 21:06:38 +02:00
Mia Vucinic 76dd95b62a fix implementation for selection and visual selection marks 2025-07-21 21:06:38 +02:00
Mia Vucinic 504c98ab11 refactor vim scope 2025-07-21 21:06:38 +02:00
Mia Vucinic d09af15eb2 refactor transaction interface 2025-07-21 21:06:38 +02:00
Mia Vucinic 71599ff01c rename highlighter to highlighter id 2025-07-21 21:06:38 +02:00
Mia Vucinic 494da27353 make forEachCaret use sorted carets by default 2025-07-21 21:06:38 +02:00
Mia Vucinic f51d4af762 change functions to fields in caret read and change signatures of the text functions, update ReplaceWithRegister new api implementaion 2025-07-21 21:06:38 +02:00
Mia Vucinic 3475171d49 Revert commits that remove VimBehaviourDiffers annotation and new lines in the replace with register plugin tests 2025-07-21 21:06:38 +02:00
Mia Vucinic 8a505fd807 fix replace with register extension implementation 2025-07-21 21:06:38 +02:00
Mia Vucinic 0f9e8d3ad5 get rid of unnecessary text manipulation options in transaction functions, change tests and delete previous (incomplete) implementation of these functions 2025-07-21 21:06:38 +02:00
Mia Vucinic aecf4a8b87 attempt to have extensions disabled when the ideavim plugin is turned off 2025-07-21 21:06:38 +02:00
Mia Vucinic 9eb7bb48d0 put exception messages in the properties file 2025-07-21 21:06:38 +02:00
Mia Vucinic fdb3b8814a add initial implementation for changing modes 2025-07-21 21:06:38 +02:00
Mia Vucinic 6248b7a879 move getFocusedEditor to editor group and delete editor service 2025-07-21 21:06:38 +02:00
Mia Vucinic 260b4d62d6 add implementation for highlighted yank plugin 2025-07-21 21:06:38 +02:00
Mia Vucinic 3b2785fc94 have dispose method called when the ideavim plugin is disabled and init when enabled 2025-07-21 21:06:38 +02:00
Mia Vucinic abbc46a3ed add a mapping owner to vim scope 2025-07-21 21:06:38 +02:00
Mia Vucinic d2f73a6102 add a listener owner to all listeners 2025-07-21 21:06:38 +02:00
Mia Vucinic 267313a2e0 get rid of editor as a constructor parameter in scopes 2025-07-21 21:06:38 +02:00
Mia Vucinic 55d2371574 add editor service 2025-07-21 21:06:38 +02:00
Mia Vucinic 3a63ed596f add implementation with templates for getVariable function 2025-07-21 21:06:38 +02:00
Mia Vucinic 1a968f7721 move update caret to caret transaction 2025-07-21 21:06:38 +02:00
Mia Vucinic 6a896664ed introduce editor scope 2025-07-21 21:06:38 +02:00
Mia Vucinic 4d01f286f5 introduce caret scope 2025-07-21 21:06:38 +02:00
Mia Vucinic f1cb9247d1 add mapping scope 2025-07-21 21:06:38 +02:00
Mia Vucinic e946e74840 merge two mappings into one 2025-07-21 21:06:38 +02:00
Mia Vucinic 4db3e91d6a huge refactoring
- In the `api` module:
  - remove dependency on `vim-engine` module due to circular dependencies
  - move implementations of scopes to the `vim-engine`
  - add VimPluginDsl annotation to interfaces
  - make VimScope abstract class
  - remove ScopeBuilders file and move scope builders to the VimScope abstract class
 - In the `vim-engine` module:
  - add dependency on `api` module
  - add implementation of scopes
  - in VimInjector add new field - pluginService (reason for that is because functions from VimExtensionFacade are not available in the VimEngine)
2025-07-21 21:06:30 +02:00
Mia Vucinic cf95ea1fc9 add a proper implementation for getVariableInt 2025-07-21 21:05:43 +02:00
Mia Vucinic 20fe881597 move scopes to packages 2025-07-21 21:05:43 +02:00