Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stitch: Load project command? #245

Open
knno opened this issue Jul 5, 2024 · 1 comment
Open

Stitch: Load project command? #245

knno opened this issue Jul 5, 2024 · 1 comment
Labels
✨ feature New feature or request ⌨️ vscode The Stitch extension for VSCode

Comments

@knno
Copy link

knno commented Jul 5, 2024

Hello, thanks for this awesome library!
My feature request is to load a specific project manually instead of only when starting VS Code, that the select project pane is shown.

Any of these would be perfect for managing multiple projects in the workspace.

  • A VS Code settings entry that specifies the default project to open in the *.code-workspace file.
  • Another VS Code settings entry that specifies ignore patterns to not detect projects from.
  • A context menu item for the .YYP file to load it as the stitch project.
  • A command (with Ctrl-P) option to change/load a stitch project.

These are just some ideas. It would be really helpful instead of killing and relaunching vscode everytime and getting prompted for every .yyp file in the workspace.

Thanks in advance!

@adam-coster
Copy link
Member

Currently loading a project is coupled with loading the extension, so it can only happen at startup. It's definitely less than ideal, but it'd be a big refactor to make this possible. So a post-launch, manual option is not something I'll likely be able to do any time soon.

The default-project setting would be good if the manual trigger was available, but without that it'd create more problems.

The allow/block config option would be useful in general though to limit how many projects are listed. It's not a use case we're running into so I'm not sure when I'd get around to it, but I'd definitely consider a PR that adds it!

Relevant parts of the code (for future me or anyone who wants to take a crack at it):

@adam-coster adam-coster added ✨ feature New feature or request ⌨️ vscode The Stitch extension for VSCode labels Jul 9, 2024
@github-project-automation github-project-automation bot moved this to Inbox in Stitch Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature New feature or request ⌨️ vscode The Stitch extension for VSCode
Projects
Status: Inbox
Development

No branches or pull requests

2 participants