Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stevebarnegren/xcodecommentwrapper

Xcode extension for wrapping comments
https://github.com/stevebarnegren/xcodecommentwrapper

code comment extension source wrap xcode

Last synced: 22 days ago
JSON representation

Xcode extension for wrapping comments

Awesome Lists containing this project

README

        




Comment Wrapper

Comment Wrapper

![min](https://img.shields.io/badge/min-macOS%2011.0-lightgrey.svg)

An Xcode Source Editor extension that wraps your comments

![2018-04-26 21_32_28](https://user-images.githubusercontent.com/6288713/39331053-65ae988e-499b-11e8-874b-7a3058d2cbc0.gif)

Want to edit your comments? Comment Wrapper can re-wrap edited comments

![2018-04-26 21_45_41](https://user-images.githubusercontent.com/6288713/39331056-688bc2a2-499b-11e8-8763-7f80357b827b.gif)

## Features

- Maintains your leading comment prefix (eg. `//`, `///`)
- Maintains indenting
- Wraps at line lengths of 40, 60 or 80
- Re-wraps edited comments
- Wrapping documentation? Won't wrap your code examples

## Installation

*Either:*

- [Get it on the App Store](https://apps.apple.com/gb/app/comment-wrapper-for-xcode/id1377998565?mt=12&itsct=apps_box&itscg=30200)
- [Download the compiled app](https://github.com/SteveBarnegren/XcodeCommentWrapper/releases) (notarized)
- Compile from source

*Then:*

1. Run the application (you can quit it after this)
2. Open *System Preferences*
3. Open the *Extensions* pane
4. Find *CommentWrapper* and enable *Xcode Source Editor* extension
5. Highlight some code in Xcode and choose an action under *Editor -> Comment Wrapper*

## Author

[@SteveBarnegren](https://twitter.com/stevebarnegren)

## License

Comment Wrapper is available under the MIT license. See the LICENSE file for more info.