From ed8381c6cbf655dd48e77840a808adf20ee79092 Mon Sep 17 00:00:00 2001 From: Tom Spielvogel <35257265+IDLe-Engineering@users.noreply.github.com> Date: Wed, 16 Oct 2024 13:29:46 +0200 Subject: [PATCH] Add Syntax Highlighting to Sidebar Code Snippets --- extensions/void/package.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/extensions/void/package.json b/extensions/void/package.json index 72bfb32a..8ef55f14 100644 --- a/extensions/void/package.json +++ b/extensions/void/package.json @@ -16,6 +16,11 @@ "configuration": { "title": "Void", "properties": { + "void.initialInstructions": { + "type": "string", + "default": "", + "description": "[Optional] Provide initial instructions to the LLM" + }, "void.whichApi": { "type": "string", "default": "anthropic", @@ -363,6 +368,7 @@ "@types/node": "^22.5.1", "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", + "@types/react-syntax-highlighter": "^15.5.13", "@types/uuid": "^10.0.0", "@types/vscode": "1.89.0", "@typescript-eslint/eslint-plugin": "^8.3.0", @@ -391,6 +397,7 @@ "diff": "^7.0.0", "diff-match-patch": "^1.0.5", "ollama": "^0.5.9", - "openai": "^4.57.0" + "openai": "^4.57.0", + "react-syntax-highlighter": "^15.5.0" } }