luau-script-templatesFeaturesThis is a simple extension that lets you create, save and use templates for Roblox luau scripts. By pressing CTRL + ALT + P, you can search for "Make Template". Once you've used that command, it will open a blank textfile in which you can define a template. After you have defined your template, you can once again press CTRL + ALT + P and this time search for "Save Tempalte". Once you've used that command, you will be prompted to type in a name and select a type for your template. After that you will be prompted to save the file but you can ignore it and choose not to save the file. If you want to get rid of one of your templates, you can once again press CTRL + ALT + P and this time search for "Remove Tempalte" and select the one you want to remove. If you want to edit one of your existing templates, you can once again press CTRL + ALT + P and this time search for "Edit Tempalte" and select the one you want to edit. Once you're done just save it under the same name and type. There are two types for templates:
Within your template you can define variables like:
Once you've defined your templates, it's as simple as making a new .luau file. As soon as you make such a file, you will be prompted with your templates. RequirementsIf you want to use the {USERNAME} variable, you have to sign in with either Github or Microsoft, else it defaults to just "User". Extension SettingsNo settings. Known IssuesNone. Release NotesIt's p cool ig. |