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

GitHub Copilot autocomplete not working in VS2022 preview #3070

Open
2 tasks
arvid123 opened this issue Sep 21, 2023 · 5 comments
Open
2 tasks

GitHub Copilot autocomplete not working in VS2022 preview #3070

arvid123 opened this issue Sep 21, 2023 · 5 comments

Comments

@arvid123
Copy link

arvid123 commented Sep 21, 2023

Describe the bug
Tab Autocomplete does not work with GitHub Copilot and VsVim in VS2022 preview

To Reproduce
Steps to reproduce the behavior:

  1. Install VS2022
  2. Install VsVim and GitHub Copilot
  3. Press tab in insert mode to accept a suggestion.
  4. Observe that it does not work.

Expected behavior
When I press tab in insert mode and a suggestion is shown, this suggestion should be accepted

Screenshots
image

Environment:

  • Visual Studio version: VS2022 preview
  • VsVim version: 2.10.0.6
  • Programming Language: C#
  • Installed extensions:
    • ReSharper
    • Visual Assist
@nosami
Copy link
Collaborator

nosami commented Nov 16, 2023

copilot

Seems to be working ok for me.

@travispotterBH
Copy link

@arvid123 I was experiencing this same issue when I installed Resharper. Is Resharper a recent installation for you as well? Once I removed Resharper, the tab functionality of Copilot was restored.

@travispotterBH
Copy link

Possibly related: #3063

@SJFriedl
Copy link

SJFriedl commented Jan 17, 2024

This is definitely a thing, and there's a difference between the textual expansion that @nosami posted (which works), and OP's that includes "Tab to accept"; it's the latter that's not working for me either.

I can't tell which part of the system is offering to make the change (Visual Studio, ReSharper, or Copilot), or which extension (VsVim, ReSharper, or Copilot) is getting in the way.

I'd be happy if just clicking "Tab to accept" would accept as well.

Update: I just found a different example where it's showing not only "Tab to accept", but also "Alt+. next suggestion", and clicking the latter part does toggle suggestions. But clicking [Tab to accept] does not..

image

Update #2: I'm now fairly sure that these suggestions are from Visual Studio itself, not ReSharper or Copilot, and I just discovered that Ctrl Alt accepts the same as if [Tab] had been hit; this has been super helpful.

@nosami
Copy link
Collaborator

nosami commented Jan 17, 2024

I don't have Resharper installed.

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

4 participants