Closed karlhorky closed 3 years ago
Hey! CodeSwing: New Scratch Swing...
does something similar to your suggestion, and is meant for quick/ephemeral/temp swings. CodeSwing: New Swing..
is then meant to allow creating a "permanent" swing that you want to put in a specific location. That said, I could see renaming the New Scratch Swing...
command to New Swing...
and just providing a way to save the swing to a location if you want to later 👍
Ah interesting, I avoided that command, because I thought it would create a swing for the Scratch programming language... which I guess doesn't make a lot of sense 😅
Just tried New Scratch Swing...
out and it seems to be pretty consistent with "Suggestion 1" above, nice! 👍
Maybe still an idea to offer a slightly faster workflow for the last selected template ("Suggestion 2")
But either way, if you're open for simplifying this somehow, that would be great!
Yep I appreciate the feedback, and can see the confusion in the name now 😁 I'm implementing the MRU list right now, and will rename this command, and introduce the "new swing from last template" command as well. I should be able to release an update this weekend, and I'll ping this thread to get feedback 👍
I just shipped an update to the extension that makes the following changes:
CodeSwing: New Scratch Swing...
command is renamed to CodeSwing: New Swing...
to avoid confusion with the scratch language, and to prescribe the use of "temporary" swings as the main workflowCodeSwing: Save Current Swing As...
command, which allows you to save the opened swing in a specified directory. This pairs nicely with the previous addition, since you can quickly create new "temporary" swings and save them later if you wantCodeSwing: New Swing in Directory...
command to create a new swing in a specified directory. This is just a shortcut for doing 1 and 2 at once, if you already know you want to create a swing in a specific locationCodeSwing: New Swing From Last Template
command, that allows you to create a new swing, using the most recently used templateCodeSwing: Open Swing in New Window
command, that allows you to open swings in a new windowThat said, I believe that addresses all of the feedback from this issue 😄 I'm going to close it as resolved, but please let me know if you have any feedback. Thanks!
Great, this UX feels pretty nice, thanks!!
One last detail would be to be able to do 6. for new swings, in a single step. I can think of two options for this:
A. An extension setting (could be default-off, if you think that users would more commonly want to start in the same window) to Open all new swings in new windows
B. New commands for opening the new swings in new windows eg. New Swing In New Window...
For the first creation of a playground / sandbox environment, it would be nice to be able to reduce the cognitive effort required to get to a working, running Swing.
Right now, these are the steps:
CodeSwing: New Swing...
In this amount of time, it is pretty easy to forget that little idea that you wanted to try out.
For comparison, let's look at CodeSandbox:
Suggestion 1: Here's a suggestion for a possible workflow:
CodeSwing: New Swing...
. This will automatically create a folder with an auto-generated name to hold the Swing files within some VS Code directory, which can be customized afterwards if the user wants.Suggestion 2: And something even faster, for those who know what they want:
CodeSwing: New Swing with Last Template
. This will automatically create a folder with an auto-generated name to hold the Swing files within some VS Code directory, which can be customized afterwards if the user wants. It will use the last-used template that the user chose.