continue icon indicating copy to clipboard operation
continue copied to clipboard

Code autocompletion keyboard shortcut

Open badger-py opened this issue 1 year ago • 3 comments

Validations

  • [X] I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • [X] 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)

badger-py avatar Sep 26 '24 16:09 badger-py

@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?

sestinj avatar Sep 29 '24 20:09 sestinj

@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

Altroo avatar Sep 30 '24 22:09 Altroo

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

mutoe avatar Oct 01 '24 10:10 mutoe

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Mar 03 '25 04:03 github-actions[bot]

This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!

github-actions[bot] avatar Mar 15 '25 02:03 github-actions[bot]