Creating a Script Unit Template
Currently, when a new Script unit is added a blank page is displayed. Since we have a style/formatting guide that includes commented blocks for script headers and function descriptions (see below example), is there a way to create a Script unit template that includes these by default everytime a new Script is added?
Example 1 - Script Header
/**************************************
Information about script, inclusions, constants
etc entered here.
**************************************/
Example 2 - Function Header
/*F************************************/
Brief info on function, param, etc entered here
/**************************************/
Thanks in advance.
I've used the CTRL-J method a LOT in the past, creating the necessary default headers, etc., in a file. IT doesn't automatically execute when you create a unit but it's a quick keystroke to do so.
Alternatively, you could create a default script.sj file that you then use Add -> Existing item to add to your project and then, "Save As..." to save it as a new file name, preserving the original script.sj file.