First time here? Check out the FAQ!

Revision history  [back]

The syntax is %(name|type|default)s and the type and default are optional. Examples:

  %(name)s
  %(created|datetime)s
  %(email||nobody@nowhere.com)s

You can also use environment variable references for the defaults:

  %(user||${USER})s

The documentation for this is at https://wingware.com/doc/edit/snippets and there are examples in the default set of snippets in the Snippets tool.

The syntax is %(name|type|default)s and the type and default are optional. Examples:

 

%(name)s %(created|datetime)s %(email||nobody@nowhere.com)s

%(email||nobody@nowhere.com)s

You can also use environment variable references for the defaults:

  %(user||${USER})s

%(user||${USER})s

The documentation for this is at https://wingware.com/doc/edit/snippets and there are examples in the default set of snippets in the Snippets tool.