Swift File Templates#

Noctule provides file template to quickly create common Swift files.

All templates are available at File → New → Swift File/Type.

The content of these templates can be modified at Preferences → Editor → File and Code Templates.

TemplateDescription
Swift fileCreates a new, empty Swift file.
ClassCreates a new declaration of a class in a new file.
StructCreates a new declaration of a struct in a new file.
ProtocolCreates a new declaration of a protocol in a new file.
ActorCreates a new declaration of a actor in a new file.
EnumCreates a new declaration of a enum in a new file.
ExtensionCreates a new declaration of a extension in a new file.