Alex Plate
4614e2ad54
[VIM-3617] Remove the forgotten recursion call
2024-12-17 10:06:48 +02:00
Alex Plate
077de91e01
[VIM-3617] Set a recursion guard for obtaining the editor
...
Function `selectedTextEditor` in some cases may create a new editor, what causes the recursion and IDE freeze. The guard should protect from it.
2024-12-17 10:02:34 +02:00
Alex Plate
1ce7a97f2a
Fix(VIM-3747): There is no need to remove the visual mode if there is still a selection
2024-12-16 13:38:29 +02:00
Alex Plate
02a42843a6
Update gradle wrapper
2024-12-16 09:39:22 +02:00
Alex Plate
f5e7459b37
[IJPL-165238] It seems the issue was fixed
2024-12-03 15:18:20 +02:00
Alex Plate
df8144fc00
Temporally bring back first and last checks
2024-12-03 15:03:09 +02:00
Alex Pláte and GitHub
6ca17ae09d
Update codeql-analysis.yml
2024-11-26 14:53:10 +02:00
Alex Pláte and GitHub
f9d8b3a59e
Update syncDoc.yml
2024-11-26 14:50:29 +02:00
Alex Pláte and GitHub
3279325694
Update closeYoutrackOnCommit.yml
2024-11-26 14:46:54 +02:00
Alex Plate
46619040b1
Add new plugins for checking
...
From here: https://github.com/JetBrains/ideavim/discussions/1047
2024-11-25 15:32:22 +02:00
Alex Plate
035804860c
Fix incorrect configuration in gradle
2024-11-25 15:32:01 +02:00
Alex Plate
0f1a4d523f
Move the docs to the init method of VimExtension
2024-11-25 14:01:23 +02:00
Alex Plate
5f5a97a7e1
Lazily load the logger to avoid injector initialization problems
2024-11-25 13:39:24 +02:00
Alex Plate
365b58eb56
Update build.gradle checker
2024-11-15 20:54:07 +02:00
Alex Plate
b026144254
Add RWLock label to selectionStart & selectionEnd
2024-11-15 20:53:54 +02:00
Alex Plate
0e3cda827c
Fix(VIM-3695): Wrap getting a vimLeadSelectionOffset with a read action
2024-11-15 20:44:00 +02:00
Alex Plate
ed2fe3dcf0
Fix(VIM-3696): Get the state of the selection in read action
2024-11-15 20:34:41 +02:00
Alex Plate
791edbd29b
Restore compatibility with peekaboo plugin
...
https://plugins.jetbrains.com/plugin/25776-vim-peekaboo
2024-11-13 19:39:24 +02:00
Alex Plate
b0951f4a38
Add information about the Vim-Peekaboo plugin
2024-11-08 11:06:32 +02:00
Alex Plate
c0a10c65e1
Upgrade TC agents
2024-11-05 11:56:20 +02:00
Alex Plate
5145bb4193
Mute some NeoVim tests
2024-11-05 11:50:44 +02:00
Alex Plate
8825f790d4
Fix the problem with the JSON in tests
...
In 2025.1 the JSON plugin is extracted from the platform. See IJPL-159354
2024-11-05 11:45:32 +02:00
Alex Plate
a0f0f71b6a
Revert "Fix deprecated API usage"
...
This reverts commit b0dd75f77c .
Because of some reason, this place fails on TC. Let's deal with this later
2024-11-05 05:43:14 +02:00
Alex Plate
6a73f9e65a
Bump TC configurations to use 2024.2.1
2024-11-05 05:09:19 +02:00
Alex Plate
4ee858877d
Revert "Remove pre-242 workaround"
...
This reverts commit 727cfb36ba .
2024-11-05 04:16:32 +02:00
Alex Plate
9d8afc5fcb
TC: Use the idea version from the gradle configuration to run github tests
2024-11-05 03:46:32 +02:00
Alex Plate
71ea6184a0
Add Greg Shrago to the contributors list
2024-10-25 18:18:12 +03:00
Alex Plate
6b751fae6e
Disable some IJ additional checks
2024-10-25 17:29:07 +03:00
Alex Plate
152066b73c
Apply TeamCity patches
2024-10-25 17:00:44 +03:00
aleksei.plate@jetbrains.com and teamcity
dfe645c4eb
TeamCity change in 'Ideavim' project: general settings of 'Tests for IntelliJ 2024.2' build configuration were updated
2024-10-25 13:52:21 +00:00
Alex Plate
5024fd94da
There are fails in the configuration, let's revert part of it
2024-10-25 16:47:57 +03:00
Alex Plate
4d3a231a35
Add java and other tests to artifacts
2024-10-25 16:27:53 +03:00
Alex Plate
e1a803d310
Disable one more test that doesn't work on 242
2024-10-25 15:59:05 +03:00
Alex Plate
96b224c0d8
Fix compilation issues
2024-10-25 14:47:54 +03:00
Alex Plate
8b6de3f5c6
Fix split window tests for 242
...
The window splitting was refactored to initialize the editor async. So, we have to wait till the editor will become available.
This can't be done while holding the EDT, so we start this bunch of tests from the non-EDT thread.
2024-10-25 14:35:55 +03:00
Alex Plate
9014d99cde
Add a note that PluginStartup code should be updated and migrated to a different approach
2024-10-25 14:35:55 +03:00
Alex Plate
8dfd41a891
Refactoring: Move VimDocumentListener from multicaster to plugin.xml registration
...
The problem happens in tests: after the refactorings in 242, the `EditorListenerTracker` may be called before the initialization of the IdeaVim. In this case, it'll report the VimDocumentListener as a leaked listener, however, it's incorrect.
Generally, I think that this situation with the listener tracker is a bug.
There should be no changes in IdeaVim behaviour as the multicaster does the same thing: subscribes every editor on this listener. However, the multicaster does this in the "registerEditor" stage. However, I don't think this is a problem.
2024-10-25 14:35:55 +03:00
Alex Plate
7e62e816a5
Refactoring: Move FocusChangeListener from multicaster to per-editor subscription
...
The problem happens in tests: after the refactorings in 242, the `EditorListenerTracker` may be called before the initialization of the IdeaVim. In this case, it'll report the FocusChangeListener as a leaked listener, however, it's incorrect.
Generally, I think that this situation with the listener tracker is a bug.
There should be no changes in IdeaVim behaviour as the multicaster does the same thing: subscribes every editor on this listener. However, the multicaster does this in the "registerEditor" stage. However, I don't think this is a problem.
2024-10-25 14:35:55 +03:00
Alex Plate
5b355a8e95
TC: Remove old tests configurations
...
There was not a single case when these tests were needed
2024-10-23 13:31:33 +03:00
Alex Plate
1f6e124f9d
Fix(VIM-3676): Allow to set the handle for shortcuts with arrows
...
With the AI functionality, the shortcut ctrl-right got more important. However, previously it was defined as VIM_ONLY shortcut. However, taking the fact that IJ defines several actions for such shortcuts, it's not clear why we prohibit the users from using these shortcuts with the IDE actions.
Taking the fact, that we default shortcuts to VIM, I expect no changes in the behaviour.
However, just arrows are still hidden from setting the IDE handler. I think, it reduces the cognitive load for the user, especially taking the fact that arrows work almost equally in vim and IJ.
2024-10-21 17:56:44 +03:00
Alex Plate
ecfff61aad
Fix the issue in the replacement script
2024-10-21 16:17:49 +03:00
Alex Plate
26909af5de
Update the doc sync script to remove the .md from the links.
2024-10-21 16:16:17 +03:00
Alex Plate
ad762379fb
Update IdeaVim Plugins.md
2024-10-21 16:12:11 +03:00
Alex Plate
a0a2163ba0
Disable some action tests because they're broken in 242
...
Related: VIM-3376
2024-09-05 18:58:20 +03:00
Alex Plate
02724cadce
Fix the leaking timer in tests
2024-09-05 18:57:43 +03:00
Alex Plate
b205f87902
Disable tests for options for split window
...
The behaviour of FileEditorManagerEx.split has been changed, causing the tests to fail. This should be fixed in a separate commit
2024-09-05 18:57:12 +03:00
Alex Plate
314304246a
Fix the LATEST-EAP-SNAPSHOT tests
2024-09-05 17:10:14 +03:00
Alex Plate
785688b1ca
Fix compatibility in tests with 2024.2
2024-09-05 16:42:16 +03:00
Alex Plate
ee447bce07
Add a note to replace the raw string after the changes will be available
...
https://github.com/JetBrains/intellij-community/pull/2825
2024-08-30 18:57:00 +03:00
Alex Plate
5fb4c10f88
Add 2024.2 IJ for testing on TC
2024-08-30 18:42:02 +03:00
Alex Plate
ed2fcb08b0
[VIM-3620] Add a link to the usage survey
2024-08-30 18:34:10 +03:00
Alex Plate
73326e623e
Use the behavior form in docs
2024-08-30 16:42:03 +03:00
Alex Plate
a2bc34d6ec
[VIM-3620] Show the uninstall survey only when uninstalling IdeaVim
2024-08-30 16:41:36 +03:00
Alex Plate
64a89c8863
[VIM-3620] Add the uninstall survey
...
We're actively working on understanding the users and what we can improve in the plugin
2024-08-28 18:57:29 +03:00
Alex Pláte and GitHub
44749b6d8c
Update IdeaVim Plugins.md
2024-08-12 12:16:19 +03:00
Alex Pláte and GitHub
1ce4dbc569
Update Home.md
2024-08-12 12:14:44 +03:00
Alex Pláte and GitHub
db59513505
Update Home.md
2024-08-12 12:13:36 +03:00
Alex Plate
8d5df11372
Add a warning when the action is executed from the write action
...
Related: VIM-3376
2024-08-06 11:11:40 +03:00
Alex Plate
d02f0e17ca
Revert "Fix(VIM-3376): Refactor the way IdeaVim executes actions"
...
This reverts commit 24514039
2024-07-31 13:14:25 +03:00
Alex Plate
956e726c31
Add test
2024-07-29 17:48:07 +02:00
Alex Plate
446067e2fe
Update formatting
2024-07-29 16:57:29 +02:00
Alex Plate
bd53a895c0
Return nullability of editor in action
2024-07-29 16:54:02 +02:00
Alex Plate
e61fed2467
Revert "Use installer in case of the snapshot dependency"
...
This reverts commit f5e125759f .
2024-07-29 16:51:25 +02:00
Alex Plate
f5e125759f
Use installer in case of the snapshot dependency
2024-07-29 16:47:31 +02:00
Alex Plate
622eb887c8
Make style refactoring
2024-07-29 16:37:57 +02:00
Alex Plate
9fb614e16c
Pass editor to the "execute" method of the NativeAction
2024-07-29 16:36:01 +02:00
Alex Plate
1e0fa07768
Fix problem with unsatisfied condition
2024-07-29 16:15:58 +02:00
Alex Plate
bfb1d5b7f5
Remove accidential return
2024-07-29 14:08:15 +02:00
Alex Plate
2fad8790a9
Reset key handler in property tests
2024-07-29 13:57:32 +02:00
Alex Plate
9719106a14
Fix incorrect assertions after migration to the new version of gradle plugin
2024-07-29 13:52:14 +02:00
Alex Plate
870a0da2a2
Update UI tests without octopus handler
2024-07-29 13:41:24 +02:00
Alex Plate
d3c315d299
Update logs location in UI tests
2024-07-29 13:39:53 +02:00
Alex Plate
2583b6e792
Print the list of available keys for debugging
2024-07-29 13:27:15 +02:00
Alex Plate
89417eb4f6
Comment out compatibility check for copilot because it's broken for the moment
2024-07-29 13:16:50 +02:00
Alex Plate
560700c9aa
Pass editor to the execution of the action
...
Related: VIM-3376
2024-07-29 12:49:16 +02:00
Alex Plate
24514039e1
Fix(VIM-3376): Refactor the way IdeaVim executes actions
...
Now instead of a few hacks, we use a special function from the platform
2024-07-29 12:49:16 +02:00
Alex Plate
ff44596c1a
Migrate to gradle plugin 2.0.0-rc1
2024-07-26 19:00:31 +03:00
Alex Plate
6a10cf5e0d
Update the configuration for PY UI tests
2024-07-22 10:08:56 +03:00
Alex Plate
90474a3a4f
Fix the mouse button issue
2024-07-19 20:25:45 +03:00
Alex Plate
be43f74bc6
Get rid of deprecated execute method in UI tests
2024-07-19 19:36:11 +03:00
Alex Plate
5916c42cd1
Disable cache for gradle UI tests
2024-07-19 18:52:58 +03:00
Alex Plate
a43c7ece32
Remove deprecated execute function in UI tests
2024-07-19 18:37:14 +03:00
Alex Plate
40c1070b1a
Update path to logs in UI tests one more time
2024-07-19 17:52:54 +03:00
Alex Plate
75ccdb2a4d
Update qodana after moving the vimscript to the engine
2024-07-19 17:47:49 +03:00
Alex Plate
3de7b0ca78
Disable configuration cache for gradle release task
2024-07-19 17:43:26 +03:00
Alex Plate
448e32a6cc
Update AceJump dependency to the latest one
2024-07-19 17:27:02 +03:00
Alex Plate
4a85058ba2
Start using kotlin 2.0
...
Originally this is needed to update the dependency on AceJump, which uses the kotlin 2.0 compiler, and its classes are not compatible with the old compiler
2024-07-19 17:13:59 +03:00
Alex Plate
1026e27e64
Bring back the old version of AceJump dependency because the new one breaks the compilation
2024-07-19 14:58:20 +03:00
Alex Plate
18d653a9ae
Update AceJump dependency to the latest one
2024-07-19 14:32:11 +03:00
Alex Plate
fcf4b44443
Save the whole sandbox after the UI test
2024-07-19 09:35:39 +03:00
Alex Plate
907e44b1d7
Change the gradle task for the UI tests
2024-07-19 09:05:11 +03:00
Alex Plate
6c9b39a623
Update gradle plugin and remote robot versions
2024-07-18 17:08:16 +03:00
Alex Plate
f336807498
Bring back IU for copilot compatibility testing
2024-07-16 09:09:35 +03:00
Alex Plate
14ba5d7126
Convert Troubleshooter field to function to avoid early initialization
2024-07-15 13:54:20 +03:00
Alex Plate
288394d25f
Update the notification text for undo
2024-07-15 13:19:03 +03:00
Alex Plate
fb08b5fd65
Prepare to changing the default value of the undo
...
A notification added to give the information about what happened
Related: VIM-547
2024-07-15 13:16:01 +03:00
Alex Plate
3465e11c3a
Initialize the injector in multiple entry points of IntelliJ
...
Initially, injector was initialized in VimPlugin, assuming that almost every interaction with the plugin goes through it. However, with the plugin evolution, this class starts to be less used.
As IJ doesn't have any single entry point for the plugins, we initialize it in multiple places.
However, the architecture where the plugin might be not initizlied is considered as a bad acrhitecture and should be reviewed.
Related ticket: VIM-3369
2024-07-12 15:09:18 +03:00
Alex Plate
46a4a10e63
Reformat code in tests
2024-07-10 10:06:27 +03:00
Alex Plate
d5bddd077f
Disable Gradle configuration cache in CI tests
...
With gradle plugin 2.0 this cache fails on GitHub Actions. This solution is temporlly and generally the `integrationsTest` should be migrated from `doLast` to some other task approach
2024-07-10 09:02:26 +03:00
Alex Plate
e22fd263cc
Test compatibility of copilot on PyCharm
...
The current execution reports the absence of python plugin. Probably there is a dependency on PyCharm there
2024-07-09 16:35:32 +03:00