Background
Although I know there's a VStudio solution for creating plugins, I don't particularly care for using a huge IDE. Unfortunately, that means every time I want to make a new plugin - whether it be for an actual project, or just simple testing, I have to create a new .plugin file, a new folder, and at the very least, a new Main.lua. file. Well, call me lazy if you'd like - but that's a bit too tedious for me.
So, I created a simple application to handle the dirty work.
Instructions
1) Download the zip file, and extract it anywhere you'd like.
2) Open the program
3) Choose the base folder (i.e. your author folder)
4) Type in the name of the new plugin's folder (plugin Name, and Apartment will auto fill, but you can edit these fields to what you would like)
5) Add your Name to the Author Name field
6) Enter your Version Number (defaults to 1.0)
7) (Optional) Change the name of the package (defaults to Main)
8) (Optional) Check the "Create __init__.lua and/or "Create Resources Folder" if you would like these generated.
9) (Optional) Check "Open files in Default Text Editor" to have the created files open automatically in your default text editor.
10) Click "Create Plugin"
At this point the chosen files/folders will be created, and the application will close.
Once you do this the first time, your author name and the base plugins folder path will be saved to an ini file that will be created in the same folder where you extracted LPM.
P.S.
I thought about messing with the idea of adding it as a shell extension, but in the interests of avoiding having to do an installer, or messing up the registry, I decided to just leave it as is. Of course any suggestions or questions are more than welcome.
|