Add Clear All Query History command/action (#7408)

* Add clear all query history action/command

* Fix display issue when clearing

* Change localize ID and fix registration
This commit is contained in:
Charles Gagnon
2019-09-30 08:20:27 -07:00
committed by Karl Burtram
parent 7d27d2f4f4
commit 3e17618056
10 changed files with 106 additions and 40 deletions

View File

@@ -22,6 +22,22 @@
},
"extensionDependencies": [
],
"contributes": {
"commands": [
{
"command": "queryHistory.clear",
"title": "%queryHistory.clear%",
"category": "%queryHistory.displayName%"
}
],
"menus": {
"commandPalette": [
{
"command": "queryHistory.clear"
}
]
}
},
"dependencies": {
},
"devDependencies": {

View File

@@ -1,4 +1,5 @@
{
"queryHistory.displayName": "Query History",
"queryHistory.description": "View and run previously executed queries"
"queryHistory.description": "View and run previously executed queries",
"queryHistory.clear": "Clear All History"
}