Suggestion: "New Swing in New Window"
Firstly, thank you for creating and sharing this awesome project. ❤️
The "New Swing…" command creates the swing inside the current editor window. This takes me by surprise every time. (I frequently use CodeSwing to create reduced test cases when I'm in the middle of working on something, so I don't want it to rearrange my current window.)
A few ideas to address this:
- Modify the command to open a new window.
- Create a new command that opens a new window ahead of creating the swing.
- Add a setting.
What do you think?
Hey! Yeah I could add a new command, and that might be the simplest solution? Since it wouldn't change the existing behavior.
If I added a "New Swing in New Window" command, would that work for you?
Here's how I'm thinking this command would work:
- It creates a new temporary directory for the swing
- It prompts you with the existing "new swing" flow, which allows selecting a template. And when selected, the swing is stored into the temp directory
- It then opens the temp directory in VS Code
That would be perfect!