Add query history persistence (#20700)

* initial

* Fix and revert secret storage changes

* persist to file

* Add debounce and write on dispose

* Fix run

* No ext dependencies and show warning message

* Remove test stuff

* comments

* Fix tests and console logs
This commit is contained in:
Charles Gagnon
2022-09-30 16:48:55 -07:00
committed by GitHub
parent 3aa416df6d
commit d6d75d8817
10 changed files with 255 additions and 38 deletions

View File

@@ -5,6 +5,7 @@
"queryHistory.doubleClickAction": "The action taken when a history item is double clicked",
"queryHistory.doubleClickAction.open": "Open a new disconnected editor with the query from the selected history item",
"queryHistory.doubleClickAction.run": "Open a new connected editor with the query and connection from the selected history item and automatically run the query",
"queryHistory.persistHistory": "Whether query history is persisted across restarts. If false then the history will be cleared when the application exits.",
"queryHistory.open": "Open Query",
"queryHistory.run": "Run Query",
"queryHistory.delete": "Delete",