From ebb96504af7581932a2424b2cc905cdca4226d74 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Fri, 5 Apr 2024 16:42:21 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20update=20autocomplete=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/docs/walkthroughs/tab-autocomplete.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/walkthroughs/tab-autocomplete.md b/docs/docs/walkthroughs/tab-autocomplete.md index 1a1d8b52a5..cc26251add 100644 --- a/docs/docs/walkthroughs/tab-autocomplete.md +++ b/docs/docs/walkthroughs/tab-autocomplete.md @@ -60,6 +60,8 @@ This object allows you to customize the behavior of tab-autocomplete. The availa - `prefixPercentage`: The percentage of the input that should be dedicated to the prefix. (Number) - `template`: An optional template string to be used for autocomplete. It will be rendered with the Mustache templating language, and is passed the 'prefix' and 'suffix' variables. (String) - `multilineCompletions`: Whether to enable multiline completions ("always", "never", or "auto"). Defaults to "auto". +- `useCache`: Whether to cache and reuse completions when the prompt is the same as a previous one. May be useful to disable for testing purposes. +- `useOtherFiles`: Whether to include context from files outside of the current one. Turning this off should be expected to reduce the accuracy of completions, but might be good for testing. ### Full example