From d14177dbca83471e4fa64aeb1a23f9bfb7db9b2b Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Mon, 7 Nov 2022 10:02:37 +0000 Subject: [PATCH] Made it easier to install syntax highlighting --- makefile | 4 ++++ tools/toylang.vscode-highlighting/README.md | 4 ++-- tools/toylang.vscode-highlighting/package.json | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/makefile b/makefile index a69bb9e..bccf86b 100644 --- a/makefile +++ b/makefile @@ -23,6 +23,10 @@ test: clean $(TOY_OUTDIR) $(TOY_OUTDIR): mkdir $(TOY_OUTDIR) +#utils +install-tools: + cp -rf tools/toylang.vscode-highlighting ~/.vscode/extensions + .PHONY: clean clean: diff --git a/tools/toylang.vscode-highlighting/README.md b/tools/toylang.vscode-highlighting/README.md index ae5f800..6e578ca 100644 --- a/tools/toylang.vscode-highlighting/README.md +++ b/tools/toylang.vscode-highlighting/README.md @@ -1,8 +1,8 @@ -# Toy vscode Highlighting +# Toy VSCode Highlighting This is included in the core repo under `/tools`, and is supposed to make your time writing Toy code easier. ## Installing -Just copy the whole folder into the extensions folder for VSCode. +Just copy the whole folder into the extensions folder for VSCode, or run `make install-tools` in the root directory of Toy. diff --git a/tools/toylang.vscode-highlighting/package.json b/tools/toylang.vscode-highlighting/package.json index 69f4bd2..d678de7 100644 --- a/tools/toylang.vscode-highlighting/package.json +++ b/tools/toylang.vscode-highlighting/package.json @@ -1,7 +1,8 @@ { "name": "toy-syntax-highlighting", "displayName": "Toy Syntax Highlighting", - "description": "A toy programming language", + "description": "Syntax highligher for a toy programming language", + "author": "Kayne Ruse", "version": "0.0.1", "engines": { "vscode": "^1.73.0"