Swocks

價格:免費

檔案大小:3.9 MB

版本需求:macOS 10.14 或以上版本,64 位元處理器

支援語言:英語

Swocks(圖1)-速報App

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.