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

VS Code: Autocomplete is not working. #5626

Open
jay-fibi opened this issue Sep 18, 2024 · 2 comments
Open

VS Code: Autocomplete is not working. #5626

jay-fibi opened this issue Sep 18, 2024 · 2 comments
Labels

Comments

@jay-fibi
Copy link
Collaborator

Version

v1.35.1726602245 (pre-release)

Describe the bug

Platform: macOS

Steps to reproduce:

  1. Have Cody plugin installed in your VS Code editor
  2. Login to Cody with Free/Pro user
  3. Open any source code file and type anything
  4. Hit Option + \

Observed behavior:

Autocomplete is not working and getting following error
command 'cody.autocomplete.manual-trigger' not found

Expected behavior

Autocomplete should work correctly.

Additional context

Screenshot:

Screenshot 2024-09-18 at 7 15 08 PM

@jay-fibi jay-fibi added bug Something isn't working clients/vscode fibilabs-qa labels Sep 18, 2024
@dominiccooney
Copy link
Contributor

I can reproduce this at ab5cf3a

@dominiccooney
Copy link
Contributor

VSCode has a shortcut to manually trigger an autocomplete, why do we use our own shortcut @valerybugakov ?

This problem arises because registering the commands is tied up with setting up the autocomplete provider; if it is not set up, the command is not registered. We have a related problem where some of the other associated commands (cody.autocomplete.inline.accepted) are registered when the autocomplete provider is set up and we attempt to RE-register them when the configuration/auth status changes.

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

No branches or pull requests

2 participants