Closed fbricon closed 1 month ago
Tried this out with vscode-xml and the sample remote config, and it works well!
FWIW, I use something like
vscode_statedb_print ()
{
if [ $# -eq 2 ]; then
sqlite3 -line "$1" "SELECT * FROM ItemTable WHERE key=""'"${2}"'";
else
sqlite3 -line "$1" 'SELECT * FROM ItemTable';
fi
}
vscode_statedb_set ()
{
sqlite3 -line "${1}" "UPDATE ItemTable SET value=""'"${3}"'"" WHERE key=""'"${2}"' ;"
}
eg.
$ vscode_statedb_set state.vscdb redhat.vscode-xml '{"telemetry.events.tracking.startup":{"count":2,"lastUpdated":1716264000000}}'
to play with the database values.
I tested it by tweaking vscode-xml's launch config