-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
under-discussionIssue is under discussion for relevance, priority, approachIssue is under discussion for relevance, priority, approach
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?
createonly makes sense for defined envs. So show a picker dialog for defined envs?removedittoset&getdoesn’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?getEnvironmentsditto. I think for Hatch it would make more sense if it returned the list of defined envs and we could respond toonTryingToSetEnvironmentevent or so to create itclearCacheI 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
under-discussionIssue is under discussion for relevance, priority, approachIssue is under discussion for relevance, priority, approach