From e776fd1391bcc6544752c62dd33c029e5f1146c2 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Sat, 10 Feb 2024 09:08:42 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20rename=20outlines=20->=20outline?= =?UTF-8?q?s=20and=20add=20to=20config=5Fschema?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/context/providers/CodeOutlineContextProvider.ts | 4 ++-- docs/static/schemas/config.json | 8 ++++++-- extensions/vscode/config_schema.json | 8 ++++++-- extensions/vscode/continue_rc_schema.json | 8 ++++++-- 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/core/context/providers/CodeOutlineContextProvider.ts b/core/context/providers/CodeOutlineContextProvider.ts index 4d324d457..7c9e300a4 100644 --- a/core/context/providers/CodeOutlineContextProvider.ts +++ b/core/context/providers/CodeOutlineContextProvider.ts @@ -10,8 +10,8 @@ import { getFileOutlineHighlights } from "llm-code-highlighter/dist/index.contin class CodeOutlineContextProvider extends BaseContextProvider { static description: ContextProviderDescription = { - title: "outlines", - displayTitle: "Outlines", + title: "outline", + displayTitle: "Outline", description: "Definition lines only (from open files)", type: "normal", }; diff --git a/docs/static/schemas/config.json b/docs/static/schemas/config.json index ca9a92aa8..486d6343c 100644 --- a/docs/static/schemas/config.json +++ b/docs/static/schemas/config.json @@ -986,7 +986,9 @@ "folder", "issue", "docs", - "tree" + "tree", + "highlights", + "outline" ], "markdownEnumDescriptions": [ "Reference the contents of the current changes as given by `git diff`", @@ -1002,7 +1004,9 @@ "Retrieve important pages from a documentation website, as determined by similarity search", "Index and retrieve the contents of any documentation site, using embeddings to find important snippets", "Display a file tree of the current workspace", - "Include a repo map showing important code objects" + "Include a repo map showing important code objects", + "Displays important snippets of code from the currently open files", + "Displays definition lines from the currently open files" ], "type": "string" }, diff --git a/extensions/vscode/config_schema.json b/extensions/vscode/config_schema.json index ca9a92aa8..486d6343c 100644 --- a/extensions/vscode/config_schema.json +++ b/extensions/vscode/config_schema.json @@ -986,7 +986,9 @@ "folder", "issue", "docs", - "tree" + "tree", + "highlights", + "outline" ], "markdownEnumDescriptions": [ "Reference the contents of the current changes as given by `git diff`", @@ -1002,7 +1004,9 @@ "Retrieve important pages from a documentation website, as determined by similarity search", "Index and retrieve the contents of any documentation site, using embeddings to find important snippets", "Display a file tree of the current workspace", - "Include a repo map showing important code objects" + "Include a repo map showing important code objects", + "Displays important snippets of code from the currently open files", + "Displays definition lines from the currently open files" ], "type": "string" }, diff --git a/extensions/vscode/continue_rc_schema.json b/extensions/vscode/continue_rc_schema.json index 677f94870..68d97901a 100644 --- a/extensions/vscode/continue_rc_schema.json +++ b/extensions/vscode/continue_rc_schema.json @@ -1129,7 +1129,9 @@ "folder", "issue", "docs", - "tree" + "tree", + "highlights", + "outline" ], "markdownEnumDescriptions": [ "Reference the contents of the current changes as given by `git diff`", @@ -1145,7 +1147,9 @@ "Retrieve important pages from a documentation website, as determined by similarity search", "Index and retrieve the contents of any documentation site, using embeddings to find important snippets", "Display a file tree of the current workspace", - "Include a repo map showing important code objects" + "Include a repo map showing important code objects", + "Displays important snippets of code from the currently open files", + "Displays definition lines from the currently open files" ], "type": "string" },