continue icon indicating copy to clipboard operation
continue copied to clipboard

Tab-completion suggestions overlap existing code with Jetbrains + IdeaVim

Open grimkor opened this issue 1 year ago • 1 comments

Before submitting your bug report

Relevant environment info

- OS: Fedora 39 / Windows 10
- Continue: 0.0.38 / 0.0.38
- IDE: JetBrains Rider 2023.3.4 / IntelliJ IDEA 2023.3.5

Description

The above issue occurs when Continue gives a tab-completion suggestion on a line, then exit to normal mode and use a command like dd to remove the line. Happens with many delete commands in normal mode, where suggestions are not normally given.

There is another issue that sometimes exiting insert mode when a suggestion is given causes my inputs to get locked until I go back into insert mode. However I could not replicate it while recording so I guess I'm going to have to record my next programming sessions to try and catch it in the act.

To reproduce

https://github.com/continuedev/continue/assets/19330133/9407ae31-61bf-48fc-b132-8626cc1fddcc

  1. Go into insert mode on a line to get a suggestion
  2. Exit insert mode
  3. Remove that line with a command like dd

Log output

Not sure where to find them but if you let me know I can replicate the issue and add the logs to this issue

grimkor avatar Mar 20 '24 14:03 grimkor

Thanks for the recording! Does this still seem to happen with the Vim extension disabled? Knowing this might narrow down the problem quite a bit

sestinj avatar Mar 20 '24 23:03 sestinj

Thanks for the recording! Does this still seem to happen with the Vim extension disabled? Knowing this might narrow down the problem quite a bit

Apologies for the late reply, I did not see this update. It doesn't happen with the plugin disabled.

but I do experience this: Pressing right on the suggestions can sometimes result in being able to press right arrow and move through the suggested text. This in vim mode can cause navigation to get locked up. I am currently on the .39 EAP.

https://github.com/continuedev/continue/assets/19330133/91e4c6d4-d947-4953-8532-f122edbf617f

grimkor avatar Mar 26 '24 09:03 grimkor