Swocks
macOS / developpeurs
NOTE: this extension does nothing useful without Xcode installed.
Xcode 8+ source editor extension that quickly parses snippets of your Swift code to intelligently build a block comment.
The command does a rudimentary scan forward from the cursor, looking for something to comment. If it finds a func or init expression, it will insert a block comment describing the function definition. It also has tailored block comments for struct, class, enum and property expressions (var and let). If it cannot make sense of anything, it will just punt and insert a generic block comment.
The source code for the extension is also available so you can build your own if you wish. See the Support URL to find out more.
En voir plus...
Quoi de neuf dans la dernière version ?
Supports "class" function attribute.