joyride 2022-10-12

Is there a way to store/retrieve key value pairs from a joyride script?

@dumrat There are plenty npm libraries around which can do that, right? There is keyv for example

@borkdude Sorry, I think I didn't ask correctly. I want to have some storage across multiple invocations of the script.

VS Code has API for storing things. Something Global Storage something.

I think it’s memento based.

yes, I assumed that. So you can e.g. use keyv with sqlite or so. But if VSCode has something built-in, go for it

@pez That needs an ExtensionContext which I assumed I have no access to

woo works nice

I can enable disable on the fly now

2