Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/stevebarnegren/xcodecommentwrapper
- Owner: SteveBarnegren
- License: mit
- Created: 2018-04-07T18:24:09.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2021-05-12T03:00:23.000Z (over 3 years ago)
- Last Synced: 2023-08-08T00:45:40.969Z (about 1 year ago)
- Topics: code, comment, extension, source, wrap, xcode
- Language: Swift
- Size: 3.74 MB
- Stars: 29
- Watchers: 2
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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.