Create invokable markdown prompt instead of .prompt file

- Change empty slash command dropdown to create invokable markdown prompt file instead of opening hub
- Use config/addLocalWorkspaceBlock with 'prompts' blockType to create markdown-based prompt
- Remove Continue Hub link from Help section as it's no longer actively maintained
- This creates .md prompt files that are invokable via slash commands

Co-authored-by: dallin <dallin@continue.dev>
Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>
This commit is contained in:
RomneyDa
2026-01-31 23:07:05 +00:00
parent b93bc47cf2
commit 8e801874d2
2 changed files with 4 additions and 11 deletions

View File

@@ -226,10 +226,12 @@ export function getSlashCommandDropdownOptions(
if (query.length === 0 && commandItems.length === 0) {
commandItems.push({
title: "Explore prompts",
title: "Create a prompt",
type: "action",
action: () =>
ideMessenger.post("openUrl", "https://continue.dev/explore/prompts"),
ideMessenger.request("config/addLocalWorkspaceBlock", {
blockType: "prompts",
}),
description: "",
name: "",
id: "",

View File

@@ -179,15 +179,6 @@ export function HelpSection() {
<h3 className="mb-3 text-base font-medium">Resources</h3>
<Card className="!p-0">
<div className="flex flex-col">
<ConfigRow
title="Continue Hub"
description="Visit continue.dev to explore custom agents and blocks"
icon={LinkIcon}
onClick={() =>
ideMessenger.post("openUrl", "https://continue.dev/")
}
/>
<ConfigRow
title="Documentation"
description="Learn how to configure and use Continue"