From f07b00c527db2947f49d4ea592018902d391d55f Mon Sep 17 00:00:00 2001 From: gixita Date: Sat, 10 Feb 2024 15:11:39 +0100 Subject: Add a custom prompt configuration field in the plugin settings --- src/main.tsx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/main.tsx b/src/main.tsx index a78d85d..a544760 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -36,6 +36,13 @@ let settings: SettingSchemaDesc[] = [ description: "Shortcut to open plugin command pallete", default: "mod+shift+o" }, + { + key: "custom_prompt_block", + type: "string", + title: "Custom prompt block", + description: "Define your custom prompt and use a block as context", + default: "Translate in French : " + }, ] -- cgit v1.2.3