From f682f2eb3b74f199aa26c4e07a3f50a5173c402f Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Fri, 5 Apr 2024 12:10:53 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20add=20FAQ=20about=20single-line?= =?UTF-8?q?=20completions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/docs/walkthroughs/tab-autocomplete.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/docs/walkthroughs/tab-autocomplete.md b/docs/docs/walkthroughs/tab-autocomplete.md index fdea37bd0..1a1d8b52a 100644 --- a/docs/docs/walkthroughs/tab-autocomplete.md +++ b/docs/docs/walkthroughs/tab-autocomplete.md @@ -109,6 +109,10 @@ We are working on this! Right now Continue uses the Language Server Protocol to If you're seeing a common pattern of mistake that might be helpful to report, please share in Discord. We will do our best to fix it as soon as possible. +### Completions are only ever single-line + +To ensure that you receive multi-line completions, you can set `"multilineCompletions": "always"` in `tabAutocompleteOptions`. By default, it is `"auto"`. If you still find that you are only seeing single-line completions, this may be because some models tend to produce shorter completions when starting in the middle of a file. You can try temporarily moving text below your cursor out of your active file, or switching to a larger model. + ## How to turn off autocomplete ### VS Code