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.
| Template | Description |
|---|---|
| Swift file | Creates a new, empty Swift file. |
| Class | Creates a new declaration of a class in a new file. |
| Struct | Creates a new declaration of a struct in a new file. |
| Protocol | Creates a new declaration of a protocol in a new file. |
| Actor | Creates a new declaration of a actor in a new file. |
| Enum | Creates a new declaration of a enum in a new file. |
| Extension | Creates a new declaration of a extension in a new file. |