Needs line-by-line autocomplete for multi-line prompts, rather than filling the whole thing at once #3821
Labels
area:autocomplete
Relates to the auto complete feature
ide:vscode
Relates specifically to VS Code extension
kind:enhancement
Indicates a new feature request, imrovement, or extension
"needs-triage"
Validations
Problem
Currently, the tab autocomplete feature only supports three settings, auto,never and always. in most cases, the model will always prompt a multi-line suggestion, however, I only need to adopt one line. However, if the mode is set to never, then the model will only suggest one line at a time, and there are times when I need to have the model generate more than one line at a time.
Visually, it seems that if it is set to never mode, it will be much less effective for multi-line complements.
So I'd like to support a new option: the model will still prompt for multiple lines, but each time you press TAB, it will only complete one line. This would accomplish the above goal without affecting the multi-line completion, but it would be more convenient to press tab a few more times.
I currently use a compatibility setting to achieve the above. To wit:
On the vsc shortcut settings page, set the shortcut key for
editor.action.inlineSuggest.acceptNextLine
totab
, and then conditionally fill in the following:will work. This will override the tab auto-complete multi-line command setting for continue, without affecting vsc's built-in tab functionality (e.g. snippet code snippets, smart context-suggestion completion)
Solution
No response
The text was updated successfully, but these errors were encountered: