Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duet AI accepting the code completion is not working (JetBrains Rider) #3175

Open
arseniio-dev opened this issue Dec 16, 2023 · 6 comments
Open

Comments

@arseniio-dev
Copy link

rider-duet-ai-tab-issue

Expected Behavior

I Expect while I've received AI generated code completion I can accept it by "Tab" or e.g. "Enter"

Actual Behavior

"Tab" is not working, the same goes for "Enter" it just tabbing the code completion text like it was the previously written code

Additional Information

I've checked available options for "Google Cloud Plugin" in IDE editor keymap for me, there is option to assign shortcut to generate the code, but there is no options to assign any shortcus to accept it, previosly i had GitHub Copilot which allows me to assign key to accept code completion (default was "Tab" which I've used), for the issue submiting purposes GitHub Copilot was on first try disabled then unsinstalled completely, but the issue with DuetAI still persist

  • IDE type: JetBrains Rider
  • IDE version: 2023.2.3 | Build #RD-232.10203.29
  • Cloud Code version: 23.12.3-api-version-223
  • Cloud SDK: N\A
  • Skaffold version: N\A
  • Operating System: Windows 11 22H2 | Build 22621.2861
@MrXLR8
Copy link

MrXLR8 commented Dec 19, 2023

Same problem. Here. Work around is to use Shift+Enter to accept only one line. Waiting for a solution

@ivanporty
Copy link
Contributor

We've found a conflicting Tab action in Rider and working on the fix. It should be available in the next release.

@drakgoku
Copy link

drakgoku commented Jan 16, 2024

It happens the same to me.

Shift + Enter does not seem to be the best key combination to place line by line. Couldn't it be fixed so that with tab or enter it would place all the lines?

@PabloVKF
Copy link

Even Shift + Enter doesn't seem to be working correctly. Unlike the tab, it generates, but throws all the data to the next line, even when it is only filling part of it.
image
In the simple example shown in the image above, only the word statusCode is completed, the :": 200}" that was already written is moved to the next line when I try to use Shit + Enter to validate the AI's suggestion. This behavior doesn't seem correct to me, I expected the word to be completed without throwing all the dice on the line down

@ivanporty
Copy link
Contributor

We are expecting fix to be available in the upcoming release due next week.

@ivanporty
Copy link
Contributor

The tab issue should be fixed in the new release (24.1.4) - please let us know if you still experience issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants