Giter VIP home page Giter VIP logo

Comments (5)

dgokcin avatar dgokcin commented on June 12, 2024 1

@Will-ShaoHua hello and thanks for the quick reply.

I can confirm that this issue persists only when two inline completion extensions are enabled at the same time. Disabling Copilot made the popup disappear. Ideally, when auto suggestions are paused, I expect the ignoring code suggestions keymap to be disabled as well.

The sign-out approach is not going to work for me because signing out from CW causes a sign-out from Amazon Q as well, and I often toggle between Copilot Chat and Amazon Q during my daily workflow. As a workaround, I found that disabling the keybinding works better for me by adding the following override to my keybindings.json:

  {
    "key": "escape",
    "command": "-aws.codeWhisperer.rejectCodeSuggestion",
    "when": "aws.codewhisperer.connected && inlineSuggestionVisible && !editorReadonly || isCloud9 && suggestWidgetVisible && !editorReadonly"
  }

from aws-toolkit-vscode.

Will-ShaoHua avatar Will-ShaoHua commented on June 12, 2024

hey @dgokcin thanks for reporting to us.
Yes I think you can just sign out from CW and you should be still good to use AWS Toolkit.
Screenshot 2024-02-08 at 2 11 59 PM

I think the issue results from different inline completion extension interference (Copilot and CodeWhisperer), could you help me verify this aspect by disable Copilot and see if the issue persists? Thanks!

from aws-toolkit-vscode.

Will-ShaoHua avatar Will-ShaoHua commented on June 12, 2024

Ideally, when auto suggestions are paused, I expect the ignoring code suggestions keymap to be disabled as well.

Understood, we keep the keep binding because users can still trigger CW manually with [option] + [c]. But yes, we will figure out a way to mitigate this issue, after all not all users are aware of having multi inline completion providers is the root cause.

As a workaround, I found that disabling the keybinding works better for me by adding the following override to my keybindings.json

yea that works too!

from aws-toolkit-vscode.

dgokcin avatar dgokcin commented on June 12, 2024

Ideally, when auto suggestions are paused, I expect the ignoring code suggestions keymap to be disabled as well.

Understood, we keep the keep binding because users can still trigger CW manually with [option] + [c]. But yes, we will figure out a way to mitigate this issue, after all not all users are aware of having multi inline completion providers is the root cause.

As a workaround, I found that disabling the keybinding works better for me by adding the following override to my keybindings.json

yea that works too!

Fair enough. Thanks for looking into this.

from aws-toolkit-vscode.

terris-peer avatar terris-peer commented on June 12, 2024

This is particularly annoying when using Vim since it breaks the Escape key which is interpreted by VSCode as rejecting code suggestions.

from aws-toolkit-vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.