Update As of Xcode 11.4
You can refactor (right-click mouse menu) to generate the memberwise initializer for class and struct.
Note that struct automatic initializers are internal. You may want to generate memberwise initializer when defining a module to make it public.
Right-click > Refactor > ‘Generate Memberwise Initializer’

For older Xcode
There are handy plugins:
https://github.com/rjoudrey/swift-init-generator https://github.com/Bouke/SwiftInitializerGenerator