aws / aws-toolkit-jetbrains

AWS Toolkit for JetBrains - a plugin for interacting with AWS from JetBrains IDEs
https://plugins.jetbrains.com/plugin/11349-aws-toolkit
Apache License 2.0
746 stars 214 forks source link

Can't "insert code" with CodeWhisperer using IdeaVim on Jetbrains #3784

Open g0rdonL opened 1 year ago

g0rdonL commented 1 year ago

Describe the bug As mentioned in title, I have both IdeaVim and CodeWhisperer installed. In both Normal and Insert mode, pressing TAB does NOT insert code. I had to click on the button with a mouse.

To reproduce

Insert Mode

  1. Install IdeaVim and CodeWhisperer
  2. Type some code in insert mode until there is code suggestion
  3. Press TAB
  4. Nothing happens

Insert Mode

  1. Install IdeaVim and CodeWhisperer
  2. Type some code in insert mode then exit to normal mode
  3. Use ALT-C to manually trigger code suggestion
  4. Press TAB to insert code
  5. Beeping error noise, and no code is inserted.

Expected behavior Insert code

Screenshots Lark20230729-005754

Your Environment

leigaol commented 9 months ago

Hi @g0rdonL , could you try installing the v2.1+ latest AWS Toolkit for JetBrains? I installed it with IdeaVim on my WebStorm, I am able to accept a recommendation using TAB in NORMAL mode. It also works for me in INSERT mode.