Open
Description
Hi! I started implementing https://github.com/flying-sheep/vscode-hatch
Hatch’s env model is:
- there are a few pre-defined ones and you can define more
- you can create, destroy, and sync any defined env for a project, but none that aren’t pre-defined or defined in Hatch’s config
How should we map this to the extension API?
create
only makes sense for defined envs. So show a picker dialog for defined envs?remove
dittoset
&get
doesn’t really make sense for Hatch. Would be best if these were optional to implement and this extension didn’t have to track the active envrefresh
… I don‘t know what it’s for. Is this supposed to re-fetch the list of defined envs or created envs?getEnvironments
ditto. I think for Hatch it would make more sense if it returned the list of defined envs and we could respond toonTryingToSetEnvironment
event or so to create itclearCache
I also don’t know what this is for
I think in general it would be nice to have some examples when these are called. Like what UI action leads to clearCache
being called?
Metadata
Metadata
Assignees
Labels
No labels