Made it easier to install syntax highlighting

This commit is contained in:
2022-11-07 10:02:37 +00:00
parent 42580bbe2a
commit d14177dbca
3 changed files with 8 additions and 3 deletions

View File

@@ -23,6 +23,10 @@ test: clean $(TOY_OUTDIR)
$(TOY_OUTDIR): $(TOY_OUTDIR):
mkdir $(TOY_OUTDIR) mkdir $(TOY_OUTDIR)
#utils
install-tools:
cp -rf tools/toylang.vscode-highlighting ~/.vscode/extensions
.PHONY: clean .PHONY: clean
clean: clean:

View File

@@ -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. This is included in the core repo under `/tools`, and is supposed to make your time writing Toy code easier.
## Installing ## 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.

View File

@@ -1,7 +1,8 @@
{ {
"name": "toy-syntax-highlighting", "name": "toy-syntax-highlighting",
"displayName": "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", "version": "0.0.1",
"engines": { "engines": {
"vscode": "^1.73.0" "vscode": "^1.73.0"