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

Code autocompletion keyboard shortcut #2402

Open
2 tasks done
badger-py opened this issue Sep 26, 2024 · 3 comments
Open
2 tasks done

Code autocompletion keyboard shortcut #2402

badger-py opened this issue Sep 26, 2024 · 3 comments
Assignees
Labels
area:autocomplete Relates to the auto complete feature kind:enhancement Indicates a new feature request, imrovement, or extension needs-triage Waiting to be triaged priority:medium Indicates medium priority

Comments

@badger-py
Copy link

Validations

  • I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • I'm not able to find an open issue that requests the same enhancement

Problem

hey. the code autocompletion is pretty slow (for me at least), and sometimes it doesn't understand it should complete at all

Solution

Adding a keybind for automatically calling the code completion model (e.g. Codestreal) for it to finish the line/add a few more
IMO this should be an optional one (not set by default)

@sestinj sestinj self-assigned this Sep 26, 2024
@dosubot dosubot bot added area:autocomplete Relates to the auto complete feature kind:enhancement Indicates a new feature request, imrovement, or extension priority:medium Indicates medium priority labels Sep 26, 2024
@sestinj
Copy link
Contributor

sestinj commented Sep 29, 2024

@badger-py I appreciate the feedback here. I think that I want to address the root cause here before doing extra work to allow a shortcut trigger, but I think in VS Code this is already possible out of the box: https://docs.continue.dev/customize/deep-dives/autocomplete#can-i-configure-a-trigger-key-for-autocomplete

Out of curiosity, how are you running your models, and which IDE are you using?

@Altroo
Copy link

Altroo commented Sep 30, 2024

@sestinj i know you didn't ask me, but this is how i did it for pycharm, which is a bit different than what's on the continue docs btw :

"tabAutocompleteModel": { "title": "Codestral", "provider": "mistral", "model": "codestral-latest", "apiKey": "xxx", "apiBase": "https://codestral.mistral.ai/v1/" },

Activate free autocomplete from mistral and add your api key.
Capture d'écran 2024-09-30 234509

@mutoe
Copy link

mutoe commented Oct 1, 2024

I'm also looking for this method and it would be awesome if he could work in a JetBrains plugin!

@RomneyDa RomneyDa added the needs-triage Waiting to be triaged label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:autocomplete Relates to the auto complete feature kind:enhancement Indicates a new feature request, imrovement, or extension needs-triage Waiting to be triaged priority:medium Indicates medium priority
Projects
None yet
Development

No branches or pull requests

5 participants