Show all files in save dialog when saving a local plugin

As a Roblox developer, it is currently too hard to tell that you’ve saved your local plugin during development correctly. When you right click on your plugin in the explorer and choose Save as Local Plugin, it opens a save dialog that will either display exclusively .rbxmx files if you have selected a folder, or .lua files if you have selected a script.

image

I accidentally saved my plugin by right clicking on the script instead of the folder yesterday, so every time I opened a file in Studio I would get a nonsense error from what looked like the plugin I was developing, and I failed to figure out what had happened until I manually opened the plugin folder myself in explorer and saw a duplicate of the plugin i was developing saved as .lua.

Because scripts are saved as .lua files instead of .rbxmx, they lose all of their children without any feedback given to the user (bad UX!!!), so I did not notice the mistake right away. I went on to continue working on the plugin and saved it correctly next time, but because the save dialog did not show all of the contents of the plugin folder, I did not see the accidentally saved .lua file.

All files, or at least both .lua and .rbxmx should be shown in the save dialog regardless of what kind of instance you are attempting to save as a plugin.

Really though, scripts should just be saved as .rbxmx in the first place.

image

image

If Roblox is able to address this issue, it would improve my development experience because I would not need to waste time glaring in confusion at an error that doesn’t line up with my code, completely unknowing that there was an old version of my plugin in my plugins folder mistakenly saved without its children.

8 Likes

Yes. When I first starting creating the plugin that I’m working on right now, I spent a good chunk of my time trying to figure out how to save the children as well. At least I didn’t give up and smooshed everything in one script, but that’s still really inconvenient.

Another thing I’ve always wanted, regarding saving plugins, is that it should automatically save to the last file you saved to. For example, this is how place files work. Ones the window opens up and you select where to save, it automatically saves there every time you save (not Save As). I save my plugin and my place file a lot, which the latter is convenient. But, for saving a plugin, I find it annoying that you have to select where to save it every single time.

At least I learned to always verify that little drop-down “Save as type”. But, I support this.

1 Like