From 3e069b1402b5aa31ea1181d5fb80913dd5d54e99 Mon Sep 17 00:00:00 2001 From: abist Date: Wed, 18 Dec 2019 16:47:16 -0800 Subject: [PATCH] add icons to editor for run and cancel query --- images/start_inverse.svg | 1 + images/stop.svg | 1 + images/stop_inverse.svg | 1 + package.json | 15 ++++++++++++--- 4 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 images/start_inverse.svg create mode 100644 images/stop.svg create mode 100644 images/stop_inverse.svg diff --git a/images/start_inverse.svg b/images/start_inverse.svg new file mode 100644 index 000000000..f9f8ac32b --- /dev/null +++ b/images/start_inverse.svg @@ -0,0 +1 @@ +continue diff --git a/images/stop.svg b/images/stop.svg new file mode 100644 index 000000000..57c29044b --- /dev/null +++ b/images/stop.svg @@ -0,0 +1 @@ +stop \ No newline at end of file diff --git a/images/stop_inverse.svg b/images/stop_inverse.svg new file mode 100644 index 000000000..c8e372028 --- /dev/null +++ b/images/stop_inverse.svg @@ -0,0 +1 @@ +stop \ No newline at end of file diff --git a/package.json b/package.json index 8606db161..62e6978c5 100644 --- a/package.json +++ b/package.json @@ -185,7 +185,12 @@ { "command": "mssql.runQuery", "when": "editorLangId == sql", - "group": "navigation" + "group": "navigation@1" + }, + { + "command": "mssql.cancelQuery", + "when": "editorLangId == sql", + "group": "navigation@2" } ], "editor/context": [ @@ -299,7 +304,7 @@ "category": "MS SQL", "icon": { "light": "images/start.svg", - "dark": "images/start.svg" + "dark": "images/start_inverse.svg" } }, { @@ -310,7 +315,11 @@ { "command": "mssql.cancelQuery", "title": "%mssql.cancelQuery%", - "category": "MS SQL" + "category": "MS SQL", + "icon": { + "light": "images/stop.svg", + "dark": "images/stop_inverse.svg" + } }, { "command": "mssql.connect",