First time here? Check out the FAQ!

Revision history  [back]

In Wing Pro the Snippets tool includes a 'file' snippet that can be edited to adjust to your local form. That should appear in the auto-completer so you can create a new file, type 'file' and select the completion, and get your standard header. Or you can right-click on the 'file' snippet in the Snippets tool and select Paste Into New File.

There are ways to fill in dates, the contents of environment variables, etc. The tool and snippets syntax is documented here:

https://wingware.com/doc/edit/snippets

Note that if you have more complex use cases, you could also write an extension script to do this to either paste in some text or create a new file with text already in it. Extension scripts are written in Python so are more flexible and powerful. Details on that are here:

https://wingware.com/doc/scripting