bscotch / stitch

Tools and apps for GameMaker development: a CLI for pipeline development, a VSCode extension for coding, and more.
Other
109 stars 12 forks source link

Stitch: Load project command? #245

Open knno opened 1 month ago

knno commented 1 month ago

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.

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 commented 1 month ago

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):